Users browsing this thread: 1 Guest(s)
Steal, GP Rain, and Steal GP as Spells?
In the Fanatic Tower, command $02 (Magic) is replaced by nothing ($FF). Coomand $1D is replaced by $02. Here is the code. It is based on command ID, regardless of what the commands do:
Steal GP is only the Steal command branch (C2/3A09) when a monster is using Steal. It cannot work the opposite way unless you code a new command or code yourself GP stealing when a character steal.
Code:
C2/5382: AD BB 3E LDA $3EBB (Fanatics' Tower? must verify this.)
C2/5385: 4A LSR
C2/5386: 90 12 BCC $539A (branch if not in the tower)
C2/5388: B5 FC LDA $FC,X (get menu slot again)
C2/538A: C9 02 CMP #$02
C2/538C: F0 08 BEQ $5396 (branch if Magic command, emptying slot.)
C2/538E: C9 1D CMP #$1D (MagiTek? actually, this is former Fight or Gau+Rage.)
C2/5390: D0 06 BNE $5398 (branch if not)
C2/5392: A9 02 LDA #$02
C2/5394: 80 02 BRA $5398 (save Magic as command)
C2/5396: A9 FF LDA #$FF (empty command)
C2/5398: 95 FC STA $FC,X (update menu slot)
C2/539A: CA DEX
C2/539B: 10 BD BPL $535A (loop for all 4 slots)
Steal GP is only the Steal command branch (C2/3A09) when a monster is using Steal. It cannot work the opposite way unless you code a new command or code yourself GP stealing when a character steal.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)