Armor appearance change???
#10
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

Reply


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

Possibly Related Threads…
Thread Author Replies Views Last Post
  So, how did you get rid of these Magitek Armor glitches? Kugawattan 9 12,513 12-21-2015, 09:03 AM
Last Post: Catone
  Sprite Armor Code Royaken 2 3,577 05-30-2015, 11:26 AM
Last Post: Catone
  Magitek Armor equipable from airship Catone 16 18,104 01-20-2015, 07:47 AM
Last Post: Catone

Forum Jump:


Users browsing this thread: 1 Guest(s)