Golden Sun Hacking Community
28, May, 2020, 06:29:51 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 49743 times)
0 Members and 1 Guest are viewing this topic.
JamietheFlameUser
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: 2634

« 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: 202
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: 4603

« 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
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 1002
Offline Offline

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

« 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?
View Profile
JamietheFlameUser
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: 2634

« 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: 202
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: 4603

« 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 325 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: 202
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: 4603

« 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: 6051

« 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: 202
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: 4603

« 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: 202
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: 4603

« 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
JamietheFlameUser
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: 2634

« 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: 202
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: 4603

« 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
JamietheFlameUser
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: 2634

« 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: 202
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: 4603

« 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
27, April, 2020, 07:54:10 PM
Daddy Poi: 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: Tried to list those in order of importance, but anyway....
25, April, 2020, 10:37:59 PM
Daddy Poi: 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: (low as in <100)
25, April, 2020, 08:00:04 PM
Daddy Poi: 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: The Essential Age could be what it stands for?
13, April, 2020, 05:23:32 PM
Misery: Tea editor... that's a cute name for it
01, April, 2020, 02:42:50 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:48 AM
JupiterDjinn: Also my browser is sending two o f my messages srry.
01, April, 2020, 02:42:09 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
01, April, 2020, 02:42:06 AM
JupiterDjinn: Just got the reply. Ok my question is: how can I get the tea editor on Android, because I already have an emulator. But no computer.
31, March, 2020, 07:18:29 PM
Salanewt: Sure thing!
31, March, 2020, 03:38:30 PM
JupiterDjinn: Can I have a question answered?
31, March, 2020, 03:38:27 PM
JupiterDjinn: Can I have a question answered?
28, March, 2020, 12:50:15 AM
Salanewt: I want to shrink it down in size later, but yup!
28, March, 2020, 12:50:13 AM
Salanewt: I want to shrink it down in size later, but yup!
26, March, 2020, 03:24:45 PM
Daddy Poi: The news box is back? :D
19, March, 2020, 05:59:16 PM
Salanewt: Nice work hiding the searchbots Atrius!
19, March, 2020, 04:23:34 PM
Salanewt: I was wondering when I said that stuff! May need to work it out with Kain.
19, March, 2020, 07:03:05 AM
Daddy Poi: (The simplest being to not accept char IDs pass 255, I think.)
19, March, 2020, 05:33:15 AM
Daddy Poi: Heheh.... I'm just testing. You pretty much gave it away. Hahah. It seems to look fairly convincing, but I'm sure there's an easy solution to preventing it.
19, March, 2020, 05:28:50 AM
Atrius: Whelp, there it goes... Just what I didn't want.  Have fun with that I guess...   
19, March, 2020, 05:20:25 AM
Daddy Poi: So like. Replace the "e" with another "e"? Alright. Gotcha.
19, March, 2020, 05:04:41 AM
Daddy Poi: Good work.
19, March, 2020, 04:44:10 AM
Atrius: Nah, any member could change their name to what I did, there's a trick to it.  I just fixed it so that now the Cbox will use your new name if you change it though, so... That part of the problem is fixed.
19, March, 2020, 04:41:53 AM
Daddy Poi: For which? It may be that normal users can't change their names to used names, but admins can?
19, March, 2020, 04:39:57 AM
Atrius: Sorry if the Cbox keeps breaking, I'm trying to make that be less of a thing.
19, March, 2020, 04:02:04 AM
Daddy Poi: Looks like ID Fraud. You're under arrest. :D  Oh wait.
19, March, 2020, 03:57:56 AM
Atrius: Yup, that's a thing.
19, March, 2020, 03:57:08 AM
Atrius: Just testing something, for science.

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.077 seconds with 22 queries.