Posts: 432
Threads: 76
Joined: Sep 2012
Reputation:
8
10-25-2012, 11:53 PM
(This post was last modified: 01-05-2013, 01:10 PM by Zeemis.)
Hi, can someone help me, I'm trying to get rid of the magitek status in battle for a project..I replaced 89 by fd everywhere.Is there another way
CA/5E72: 89 Inflict the following status ailments on character $00 (Actor in stot 0): M-Tek
CA/5E76: 89 Inflict the following status ailments on character $0E (Actor in stot 14): M-Tek
CA/5E7A: 89 Inflict the following status ailments on character $0F (Actor in stot 15): M-Tek
(Thanks angelo for your help on finding this)
Posts: 290
Threads: 3
Joined: Apr 2012
Reputation:
9
$89 is a four-byte command, so you'd need to $FD out the three bytes after the initial $89 as well.
An alternative is changing $89 to $88 in those three cases. $88 is the command to remove a status, so you'd be removing a status the characters presumably don't have anyway, effectively doing nothing.
Posts: 432
Threads: 76
Joined: Sep 2012
Reputation:
8
Thank you Synchysi! The 88 method didnt work for the magitek armor, I had to put fd after the every bytes after command.It work :-) thanks again!
Now that I checked angelo answer again, he said the same things (change every codes)but I got confused and changed only the 89 codes! So much to learn!
Posts: 290
Threads: 3
Joined: Apr 2012
Reputation:
9
It's detailed in the first post. Astaroth listed the addresses where Terra, Biggs and Wedge are granted MagiTek status. All you need to do is replace the relevant bytes with $FD.
Posts: 290
Threads: 3
Joined: Apr 2012
Reputation:
9
CA/0000 is part of the CPU addressing. All you need to do is subtract 0xC00000 from it to get the hex offset you'll need to edit.
For example, the first address Astaroth listed is CA/5E72. Subtract 0xC00000 from that and you get 0xA5E72.
Keep in mind that if you're working with a headered ROM, you'll need to add 0x200 to your result to get to the desired offset.