Users browsing this thread: 2 Guest(s)
terra's magitek
06-09-2013, 06:28 PM
(06-09-2013, 05:10 PM)luxador Wrote: I meant that as terra has a special list for magitek command only for she, and i want to know if this list i can assign it to another character for example shadow
Yes it is possible. I think $2EAE,Y returns the battle sprite ID of the current character. If you would add a CMP #$03 (shadow sprite number) after the LDA $2EAE,Y it would branch to the special list for Shadow. This could be easily verified with the debugger.
Code:
C1/4D4B: B9AE2E LDA $2EAE,Y
C1/4D4E: D010 BNE $4D60 (branch if not Terra)
C1/4D50: BF0C91C1 LDA $C1910C,X (Left column M-tek attacks for Terra)
C1/4D54: 8D5A57 STA $575A
C1/4D57: BF0D91C1 LDA $C1910D,X (Right column M-tek attacks for Terra)
C1/4D5B: 8D6057 STA $5760
C1/4D5E: 800E BRA $4D6E
C1/4D60: BF1491C1 LDA $C19114,X (Left column M-tek attacks for everyone but Terra)
C1/4D64: 8D5A57 STA $575A
C1/4D67: BF1591C1 LDA $C19115,X (Right column M-tek attacks for everyone but Terra)
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 2 Guest(s)