Golden Sun Hacking Community
28, February, 2021, 06:49:17 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: The last working version of the classic TLA Editor is Teawater's unofficial "mapeditor" draft.
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: 1 2 [3]   Go Down
  Print  
Author Topic: Helpful and Unique Patches  (Read 58812 times)
0 Members and 1 Guest are viewing this topic.
Aile~♥
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 20
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #40 on: 09, June, 2014, 03:36:58 PM »

So I noticed something annoying: If you give a damage-dealing ability the effect "Instantly end round", the effect doesn't trigger if the target is killed by the attack.

It would be really cool to have a patch that fixed this, so that the secondary effect still activated even if the target died. I'm trying to have cinematic finishing moves that can only be used one per turn because they instantly end the turn when used, but it doesn't work if it can fail just because it killed the target (when it hits over 2000 damage in a single attack, that's gonna happen pretty often).
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #41 on: 10, June, 2014, 03:23:24 PM »

Hm... I haven't really looked into the effect, but I would expect that it checks to see if the target is still alive or not. Not sure why they would do this unless the effect itself could bypass the whole "end battle when one team is dead" thing.

But yeah, I should be able to work on that in the near future. I'm thinking of adding Chronos as a Disco Sun summon later, and it would be cool to let to deal some minor damage to the enemies or something.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Daddy Poi's Oily Gorillas
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2494

« Reply #42 on: 11, June, 2014, 09:24:29 AM »

Look in the Ability Effects section of the Damage Formula. I believe that entire section is skipped when you kill the enemy? (The exception is with two functions that list the effects.) (Maybe so you don't go applying Status Effects like poison when the enemy is already dead.)

The function that list exceptions for Revives probably doesn't work on enemies that are alive. (Dunno.)
The function that list exceptions for when the user gains HP/PP might be the way to go, not entirely sure, though.

The latter has a listing of the 4 effects: 31, 32, 60, and 69.


I think the general way effects are coding in is that..
-There's a start a turn function for the multiplier type effects.
-The ailment success function is only for success chances for the effects. There's a call in the damage function before the damage type code is done, and there's a call in the Start a turn function thingy... both seem to do the same thing. (The one in the Start a turn function is only used in certain case(s) and caries the result over for use in the damage function when it is used.)
-The damage formula includes the after-damage effects. This is only applied in certain cases. One of those cases being if Ailment Success is True. Probably the main place where effects have a chance? Ailment Success may also be used for the Effect Only damage type and maybe for some other effects in other areas of the code? (I mentioned the Start a turn function earlier.)
-There were two functions that list effects. The Revives list, and User recovers HP/PP effects list.
-There might be some other places(?), but I haven't listed them.

-
« Last Edit: 11, June, 2014, 10:55:33 AM by Teawater » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)
View Profile
Aile~♥
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 20
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #43 on: 11, June, 2014, 05:33:01 PM »

I would think that you could make "Instantly End Round" work even if the ability kills by looking at the code for "May inflict delusion on all enemies". Which, to my recollection, still works even if the attack kills the primary target.
Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #44 on: 14, June, 2014, 12:46:25 AM »

Hm... Done!

Teawater: Sweet, thanks for the advice! The way it's normally coded is pretty weird, but not in a bad way it seems. It has a check for "if equal than 60, branch" before an "if greater than 60, branch" check, but the second check just goes to another check. I didn't even need to expand or relocate the function to add this exception!

Jamie: As far as I can tell, both of the delusion effects use the same code; the second one probably uses a secondary function to apply it to all targets. If you change the second delusion effect's pointer, then you could change that effect into something like "inflict curse on all enemies" or something.

Well anyway, here's a fix. Could you please let me know if it breaks either the Lull or any of the HP/PP drain effects? If it works without a hitch, then I'll make a page for it in the downloads section and update the first post.








* KO Compatible Lull.ips (0.03 KB - downloaded 384 times.)
« Last Edit: 14, June, 2014, 01:05:33 AM by Lord Squirtle » Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #45 on: 11, July, 2014, 05:55:22 AM »

Okay, updated the first post to include the following:

KO Compatible Lull

Compass Utilities


Hope you guys like them!
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 3
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6049

« Reply #46 on: 11, July, 2014, 09:49:33 AM »

Oh, Compass Utilities seems really useful.  Nice job.
Logged

View Profile WWW
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #47 on: 15, July, 2014, 07:58:22 PM »

Thanks! I have to admit that I'm kind of surprised Camelot didn't allow for something like this before Dark Dawn, but it should be easier to make more complex puzzles with the patch's tweaked limitations in mind.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #48 on: 31, July, 2014, 06:17:42 PM »

Tiny heads-up: The Simple Summons patch is now available for download, and has been added to this topic to make finding it easier in the future.
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Aile~♥
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 20
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #49 on: 06, August, 2014, 04:31:13 AM »

KO-compatible Lull patch also affects other ability effects, including Death Curse, May decrease resistance by 40, and Halve Agility.

Reflux Unlimited patch is borked. Ability effect #36 creates an unending counter-attack effect, at least when used by enemies. Not just 2 turns as advertised.

Edit: Actually, it breaks both counter-attack effects when used by enemies.

Edit 2: Reflux Unlimited also makes "Get extra turn next round" effects last for the remainder of battle.
« Last Edit: 06, August, 2014, 09:01:55 AM by JamietheFlameUser » Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #50 on: 06, August, 2014, 12:30:53 PM »

Lull: I think I know what the problem is. I just successfully killed an enemy with two different unleashes; one that drains HP and one that seals their psynergy. The former failed to restore my health while the latter sealed their PP after they died. To make a very long story short, it looks like I screwed up the branches in that one and I can work on a quick fix today. I totally asked you to test it for me earlier though... Oh well.

Edit: Worked out a fix, and it's now available for download.

Reflux: I don't know, I just double checked that one by having an enemy use it and it seems to work perfectly for me... Although I am getting the weird bug with Kite's effect when I use it by itself; don't even need to use Reflux for that. I'll have to look into that again later if it even is Reflux causing it, but this one will probably take a little more time than the Lull one will and I'm not sure if I have any of that right now.

Edit: Yeah, I'm not having any problems with the counter-attack effects, just with Kite. Would you mind either testing it on a clean ROM or having someone else weigh in on this?
« Last Edit: 06, August, 2014, 01:39:30 PM by Lord Squirtle » Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Aile~♥
Diamond Pokémon
Mars Clan

Does this look like the face of mercy?

Prodigy
*

Coins: 20
Offline Offline

Gender: Male
I am: Poke poke poke poke... I can't stop it...
Posts: 2633

« Reply #51 on: 06, August, 2014, 07:39:33 PM »

Maybe it's a result of the combination of the previously-broken Lull patch and the Reflux patch? I had them both applied to the same ROM. All I know is that both the 1-turn Reflux and the 2-turn Reflux lasted forever and it was annoying. I'll go back and test in a bit.

Edit: Tested and confirmed that both Reflux and the new Ability Effect #36 last an infinite amount of time with the Reflux Unlimited patch. After applying the patch to a supposedly-clean US ROM, I opened the V0.3 version of the Editor and changed only the following:

-- Reflect now uses ability effect #36 (supposedly the 2-turn counterattack.)
-- Ruffian max HP increased to 99 (so it can survive 3 turns of counter-attacks to confirm the bug.)
-- Wooden Stick can be used to grant the effects of Reflect.
-- One-Piece Dress can be used to grant the effects of Reflux.

Used the One-Piece Dress (Reflux) once and Defended for the rest of the battle. Ruffian attacked every turn for 3 turns and Jenna counter-attacked without fail, killing the Ruffian on the third turn.

Repeated the process in the next battle with the Wooden Stick (Reflect) at the start. Same thing, Jenna counter-attacked for 3 turns and killed the Ruffian.

Quote
I totally asked you to test it for me earlier though... Oh well.

Yeah, you did. Sorry for not getting back to you on that. Rather rude of me really. =\
« Last Edit: 06, August, 2014, 09:00:11 PM by JamietheFlameUser » Logged

:P

Lloyd: Easy as pie.
Genis: Sweet!
Presea: ...Sweetie pie...
Zelos: Let's not start on this again...

Spoiler for epic mindscrew:
View Profile
Salanewt
His Sexiness
Global Moderator

Oh yeah, baby!

Prodigy
*

Coins: 203
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4612

« Reply #52 on: 03, May, 2017, 10:58:12 PM »

Topic has been updated!


Jamie: Oh, huh, okay thanks (I know your post is almost three years old now but I just saw it)! I'm eventually going to take it down and replace it with a different counterattack hack I have in mind, but for now I'll just leave it up for anyone who wants to give it a shot. There's a pretty good chance that I only messed up the turn counter portion of the code, so anyone with even a smidgen of assembly knowledge could fix it themselves, so... yeah!



Edit: I may combine the two Menu sections and put them near the end at some point, but for now they can stay where they are.
« Last Edit: 03, May, 2017, 11:02:45 PM by Lord Squirtle » Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW
Pages: 1 2 [3]   Go Up
  Print  
 
Jump to:  

Chatbox
18, February, 2021, 03:25:26 PM
Salanewt: The one here has everything: http://forum.goldensunhacking.net/index.php?action=downloads;sa=view;down=132
18, February, 2021, 02:03:20 PM
VardenSalad: It looks like Atrius' editor download is broken again. The only thing in the .zip is the background image
13, February, 2021, 03:15:41 PM
MaxiPower: Welcom back Charon. been a long time.
11, February, 2021, 09:40:04 PM
Daddy Poi's Oily GorillasSo how long is this site going to be "This website is still under construction, please excuse the mess." :D
04, February, 2021, 12:56:21 AM
charon the ferryman: LMAO i love 2010 tech
04, February, 2021, 12:56:07 AM
charon the ferryman: release me from my discord prison meme mortals
15, November, 2020, 03:45:26 PM
Salanewt: We're more alive than the board implies; most discussion takes place over on the Discord server.
15, November, 2020, 03:45:06 PM
Salanewt: Haha, heya!
15, November, 2020, 02:07:50 PM
Frog: Nice to see this place is still alive...ish anyway xD
30, October, 2020, 11:10:23 PM
Salanewt: ... Actually, it's almost time for me to post an update on the forum. It's been coming along really nicely overall, and it was only a couple months or so ago that I added some new status effects to the game.
30, October, 2020, 11:08:41 PM
Salanewt: I need to get it done to start making progress on the parts of the AI Overhaul I want to start working on.
30, October, 2020, 11:08:14 PM
Salanewt: It's going well! I wanted to get more of my djinn reform done this week but I've been busy with other things sadly.
30, October, 2020, 09:58:14 PM
KyleRunner: Hi guys! How are you doing?
13, October, 2020, 11:19:21 AM
MaxiPower: first chapter of my golden sun inspired webtoon is now live. be cool if yas could check it out. https://www.webtoons.com/en/challenge/legacy-of-the-lost-dragoon/the-northern-reaches/viewer?title_no=508487&episode_no=6
31, August, 2020, 08:40:32 AM
Daddy Poi's Oily Gorillas: Being able to convert IPS files to text files to also supporting commenting, and convert back to IPS after changes.... sounds like a fun strategy? 
27, August, 2020, 10:37:30 PM
Salanewt: Hey, thanks! 
25, August, 2020, 12:59:22 AM
Foreclosure: Yo! Looking forward for this AI OVerhaul patch when it's finished :) :) 
19, August, 2020, 07:00:17 PM
Salanewt: That's awesome! I'm pretty good; been working on an AI Overhaul project and have made some nice progress in the past couple weeks; the goal for tonight is to add Deadbeard to GS2 and then I can move onto something new.
19, August, 2020, 01:14:56 PM
Awec: Ye not bad, just checked back in for updates on GS Reloaded really. Although now I'm looking back through some of my old forum posts, which is fun :D how are you?
19, August, 2020, 01:43:07 AM
Salanewt: It sure is! How have you been?
16, August, 2020, 09:40:57 AM
Awec: Yo nice to see this forum is still going
14, August, 2020, 09:06:44 PM
Salanewt: Hey! How goes it?
01, August, 2020, 01:31:53 PM
KyleRunner: Hello, people!
08, July, 2020, 08:57:11 PM
Salanewt: That awkward feeling when almost a quarter of a year goes by without anyone posting a message in this chatbox.
27, April, 2020, 07:54:10 PM
Daddy Poi's Oily Gorillas: I'm having a thought. So I know Atrius's editor is slow at saving sprites.... So I've been thinking.   I am considering another console program.  This time, for importing and exporting sprites/animations. Image files (for sprites), binary files (for animation data), and maybe binary or text files for Settings. Would certainly be cool if it works out. - Console programs are fun, when you can (at least temporarily) cheat out making a full interface editor for them. =P
25, April, 2020, 10:42:07 PM
Daddy Poi's Oily Gorillas: Tried to list those in order of importance, but anyway....
25, April, 2020, 10:37:59 PM
Daddy Poi's Oily Gorillas: GSHC, GS Speedrunning, /r/Golden Sun, GS United Nations, ToK.  Sixth one is border-line I'm not sure.
25, April, 2020, 08:00:21 PM
Daddy Poi's Oily Gorillas: (low as in <100)
25, April, 2020, 08:00:04 PM
Daddy Poi's Oily Gorillas: So while there are quite a few GS Communities out there. There are only up to maybe ~6 Discords worth even the consideration of joining, I think. Most of the rest of them have a fairly low member count. (Of which I can tell?)
14, April, 2020, 10:49:35 AM
Daddy Poi's Oily Gorillas: The Essential Age could be what it stands for?

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.093 seconds with 22 queries.