Final Fantasy I - Redux
#15
(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.
Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Final Fantasy VI Reimagined DrakeyC 188 92,284 9 hours ago
Last Post: DrakeyC
Ninja Final Fantasy VI New Universe Thehackingw2 1 3,858 06-11-2025, 01:59 PM
Last Post: Thehackingw2
  Final Fantasy VI - A Soldier's Continengcy Lightning 14 20,440 10-15-2024, 02:56 PM
Last Post: Dramalord
  Final Fantasy - Crossing The World ppml 1 2,232 09-07-2022, 05:06 AM
Last Post: madsiur
  Final fantasy 6 PME megasus 5 4,475 06-11-2022, 03:09 PM
Last Post: PowerPanda
  Final Fantasy Jobs ppml 2 3,876 09-07-2021, 10:05 AM
Last Post: seibaby
  Final Fantasy 6: Tensei GrayShadows 19 31,397 05-09-2020, 06:53 PM
Last Post: GrayShadows
  What if EarthBound was in Final Fantasy VI? (Rom Hack) BigSharkZ 5 10,705 05-05-2020, 11:21 PM
Last Post: Endarire
  Final Fantasy Challenger To Stamina Tedrainbow 5 6,311 04-13-2020, 09:14 AM
Last Post: SSJ Rick
  Final Fantasy VI: Relocalization Project DrMeat 43 77,683 12-07-2019, 03:06 PM
Last Post: FlamePurge

Forum Jump:


Users browsing this thread: 2 Guest(s)