Users browsing this thread: 1 Guest(s)
Armor appearance change???

#10
Posts: 3,974
Threads: 279
Thanks Received: 239
Thanks Given: 60
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
By changing all the 0A to 0E this is actually what you are doing:

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

  Find
Quote  



Messages In This Thread
Armor appearance change??? - by Royaken - 03-20-2012, 08:28 AM
RE: Armor appearance change??? - by madsiur - 03-20-2012, 08:39 AM
RE: Armor appearance change??? - by Angelo26 - 03-20-2012, 05:56 PM
RE: Armor appearance change??? - by madsiur - 03-20-2012, 06:32 PM
RE: Armor appearance change??? - by Angelo26 - 03-20-2012, 07:31 PM
RE: Armor appearance change??? - by Royaken - 03-20-2012, 08:09 PM
RE: Armor appearance change??? - by madsiur - 03-20-2012, 08:34 PM
RE: Armor appearance change??? - by Royaken - 03-20-2012, 10:45 PM
RE: Armor appearance change??? - by Angelo26 - 03-20-2012, 11:37 PM
RE: Armor appearance change??? - by madsiur - 03-20-2012, 11:41 PM
RE: Armor appearance change??? - by Angelo26 - 03-20-2012, 11:44 PM
RE: Armor appearance change??? - by Royaken - 03-21-2012, 01:13 AM
RE: Armor appearance change??? - by madsiur - 03-21-2012, 10:41 AM
RE: Armor appearance change??? - by Angelo26 - 03-21-2012, 08:33 AM
RE: Armor appearance change??? - by Royaken - 03-21-2012, 07:15 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite