Posts: 1
Threads: 1
Joined: Jul 2023
Reputation:
0
I know in the base game between these final battles if you have a fallen party member it changes them out between phases, my question is, is their a way to mod to where the entire party changes between every tier??
I always felt that would make the final battles a bit more impactful.
Posts: 2,583
Threads: 99
Joined: Aug 2009
Reputation:
52
That is an interesting quandary and idea. That final battle code is fairly complicated I think, but I'm sure it's possible... How to go about it though I'm not sure, besides guessing the function that handles it is around C2/2F2F. Hopefully someone with more knowledge may be able to shed some light on it.
We are born, live, die and then do the same thing over again.
Posts: 272
Threads: 2
Joined: Apr 2013
Reputation:
3
07-09-2023, 10:56 AM
(This post was last modified: 07-09-2023, 10:57 AM by Cecil188.)
I mean, the game checks for specific status ailments there. I suspect it could be as simple as checking for any status including none of them. Dunno if that would be space effective at all. But I imagine it would work in theory.
Oh, I guess the big issue would be that you simply don't have enough people for the boss. So you'd be working in parties of three or something, which would require extra handling.
The only thing harder than finding a needle in a haystack is finding a haystack in a needle.
Posts: 189
Threads: 3
Joined: Apr 2015
Reputation:
18
It looks like the checks start at C2/4A31. If you want to swap out the entire party, you can try replacing bytes at C2/4A31 with 4C 54 4A (JMP $4A54) or 80 21 (BRA $4A54) to skip the checks entirely.
Cecil188 brings up a good point though, if you don't have enough characters the game will probably hang. You would need to add some more code to handle different cases.
Posts: 392
Threads: 35
Joined: Dec 2018
Reputation:
20
Yeah, full swapping is always going to crash no matter what because you'd need four full parties in order to avoid an empty last battle, and the ordering function before the fight doesn't allow that even if you force form four parties before you invoke it.
You might be able to set a RAM value to how many characters you have available... with an event before the fight begins, or in the party ordering screen, or even during the special handling of the first phase of the fight (the check for the formation background). You'd then decrement this RAM value by 1 each time you swap out a party member, and refrain from further decrementation or swapping once it reaches a certain threshold (4? 1?). The trick is calculating how many party members you have in the first place... not sure where to start with something like that.
Posts: 272
Threads: 2
Joined: Apr 2013
Reputation:
3
I feel like the easier way would be to just pull an IAF sequence and hard-require a certain number of characters, which would be 12. Though it would prevent early KT dives, for better or for worse. As for a more elegant solution that doesn't restrict player freedom, well, have fun with that.
The only thing harder than finding a needle in a haystack is finding a haystack in a needle.
Posts: 27
Threads: 4
Joined: Apr 2021
Reputation:
0
Now I'm curious. There's a way to simply change it to exclude near fatal chars in addition to wounded one?
Posts: 27
Threads: 4
Joined: Apr 2021
Reputation:
0
Thanks. I imagine would be very complicated to exclude petrified/zombie chars, to have just KO and near fatal leave the party during transitions.
Posts: 189
Threads: 3
Joined: Apr 2015
Reputation:
18
I think if you change C2/4A3B from C2 to 80 it would exclude zombie and petrify characters.