Users browsing this thread: 1 Guest(s)
Final Fantasy I - Redux

#15
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(03-03-2013, 10:55 PM)Ghost XIII Wrote: So for example, if I have put two thieves in my party (Thief replacing Locke's actor data), one in party slot 1, and the other in slot 2. I can have them with different stats outside of battle and equip them with different equipment, etc. But when I enter battle the game loads two copies of the Thief in the highest slot. I'm assuming the issue with this is that the subroutine for loading battles loads the actor data instead of information from the active party, so altering the actor changes both. Is it doable to alter this subroutine to load the active party members instead of the actors? I've got a few ideas myself on how to fix this, but if anyone knows for certain and is willing to point me in a general direction that would be greatly appreciated.

The way battle character are determined is with the active party. You should look at the routine starting at C2/2F2F and more precisely at C2/2F8C for a "normal battle" (outside shadow at colleseum and the final battle). This is where the battle characters are set. I think this is where the magic happens, as routine $30DC pulls the SRAM actor number ($1600):

Code:
C2/2FA6: 20 DC 30     JSR $30DC
C2/2FA9: 9D D8 3E     STA $3ED8,X  (save "which character it is")

After that routine C2/27A8 assign all actor attribute to battle variables (from $16XX to $3XXX). From what I understand, the current party actors attributes only exist in the SRAM so I think it's the only place they can be loaded from...

Edit: What is actually happening is that the routine does a 16 times loop so the data in the highest slot will loaded because it's the 2nd time the good actor number will be found. It's an overwriting.
  Find
Quote  



Messages In This Thread
Final Fantasy I - Redux - by Ghost XIII - 03-03-2013, 01:05 AM
RE: Final Fantasy I - Redux - by SSJ Rick - 03-03-2013, 01:12 AM
RE: Final Fantasy I - Redux - by kanbei as cyan - 03-03-2013, 03:28 AM
RE: Final Fantasy I - Redux - by Zeemis - 03-03-2013, 09:43 AM
RE: Final Fantasy I - Redux - by Sutebenukun - 03-03-2013, 12:23 PM
RE: Final Fantasy I - Redux - by Zeemis - 03-03-2013, 12:33 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 03-03-2013, 02:28 PM
RE: Final Fantasy I - Redux - by madsiur - 03-03-2013, 03:10 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 03-03-2013, 03:45 PM
RE: Final Fantasy I - Redux - by Angelo26 - 03-03-2013, 05:32 PM
RE: Final Fantasy I - Redux - by madsiur - 03-03-2013, 06:08 PM
RE: Final Fantasy I - Redux - by Angelo26 - 03-03-2013, 09:26 PM
RE: Final Fantasy I - Redux - by Zeemis - 03-03-2013, 07:55 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 03-03-2013, 10:55 PM
RE: Final Fantasy I - Redux - by madsiur - 03-17-2013, 11:59 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 03-23-2013, 06:40 PM
RE: Final Fantasy I - Redux - by kanbei as cyan - 04-04-2013, 09:07 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 05-21-2013, 04:05 AM
RE: Final Fantasy I - Redux - by ribbits - 05-22-2013, 04:13 PM
RE: Final Fantasy I - Redux - by JCE3000GT - 05-24-2013, 08:51 PM
RE: Final Fantasy I - Redux - by Gi Nattak - 05-28-2013, 03:46 PM
RE: Final Fantasy I - Redux - by Ghost XIII - 05-28-2013, 11:00 PM
RE: Final Fantasy I - Redux - by the_randomizer - 06-01-2013, 12:37 AM
RE: Final Fantasy I - Redux - by Scorcher - 12-15-2013, 05:34 AM
RE: Final Fantasy I - Redux - by Ghost XIII - 12-17-2013, 01:05 AM
RE: Final Fantasy I - Redux - by omega99 - 09-27-2014, 04:38 AM
RE: Final Fantasy I - Redux - by Ghost XIII - 09-29-2014, 02:28 PM
RE: Final Fantasy I - Redux - by Scorcher - 03-24-2015, 01:17 AM
RE: Final Fantasy I - Redux - by MysticLord - 01-31-2019, 03:00 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite