Users browsing this thread: 1 Guest(s)
Armor appearance change???
03-20-2012, 11:41 PM
By changing all the 0A to 0E this is actually what you are doing:
You should really pick up assembly document to understand the basic instructions such as LDA, STA, STX, STY, JMP, JSL and their adressing modes. This would help you understand what byte(s) need to be changed. Such documents exist. An opcodes list is also very handy. Even if you don't do so, by reading the thread I linked carefully and check the code and comments Lenophis and Angelo posted there you would find your answer.
And yes you could use the empty space in C2 to put the extra code with an extra JSR instruction and a RTS instruction at the end of the extra code. This is also mentionned in the thread I linked.
By coincidence, 0E is also ASL but with a different adressing mode XD
Code:
C2/2872: A5 C9 LDA $C9 ($11C9)
C2/2874: C9 9F CMP #$9F (Moogle Suit in character's Armor slot?)
C2/2876: D0 0B BNE $2883 (if not, branch)
C2/2878: 8A TXA (Transfer X to A)
C2/2879: 0E 0E 0E ASL $0E0E (Arethmetic shift left of RAM value at $0E0E)
C2/287C: 0E A8 A9 ASL $A9A8 (Arethmetic shift left of RAM value at $A9A8)
C2/287F: 0E 99 AE ASL $AE99 (Arethmetic shift left of RAM value at $AE99)
C2/2882: 2E ?? ?? ROL $???? (Rotate left $????)
You should really pick up assembly document to understand the basic instructions such as LDA, STA, STX, STY, JMP, JSL and their adressing modes. This would help you understand what byte(s) need to be changed. Such documents exist. An opcodes list is also very handy. Even if you don't do so, by reading the thread I linked carefully and check the code and comments Lenophis and Angelo posted there you would find your answer.
And yes you could use the empty space in C2 to put the extra code with an extra JSR instruction and a RTS instruction at the end of the extra code. This is also mentionned in the thread I linked.
(03-20-2012, 11:37 PM)Angelo26 Wrote: 0E is not the opcode for ASL. You musn't change those values from their original, 0A.
By coincidence, 0E is also ASL but with a different adressing mode XD
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)