Users browsing this thread: 5 Guest(s)
Pony Fantasy VI Remake
09-14-2017, 11:17 PM
One more, how complicated would it be to rewrite the code to let Umaro have a Depseration Attack? I know I'd have to relocate Shadow's counters and maybe Setzer's Lagomorph, but I have a spell slot I can vacate for any of that.
Code:
C2/15C8: C0 08 CPY #$08
C2/15CA: B0 44 BCS $1610 (No DA if monster)
C2/15CC: AD 3F 3A LDA $3A3F
C2/15CF: C9 03 CMP #$03
C2/15D1: 90 3D BCC $1610 (No DA if time counter is 767 or less)
C2/15D3: B9 E5 3E LDA $3EE5,Y
C2/15D6: 89 02 BIT #$02
C2/15D8: F0 36 BEQ $1610 (No DA If not Near Fatal)
C2/15DA: 89 24 BIT #$24
C2/15DC: D0 32 BNE $1610 (No DA If Muddled or Image)
C2/15DE: B9 E4 3E LDA $3EE4,Y
C2/15E1: 89 12 BIT #$12
C2/15E3: D0 2B BNE $1610 (No DA If Clear or Zombie)
C2/15E5: A5 B9 LDA $B9
C2/15E7: F0 27 BEQ $1610 (No DA if $B9 = 0)
C2/15E9: 20 5A 4B JSR $4B5A (Random number 0 to 255)
C2/15EC: 29 0F AND #$0F (0 to 15)
C2/15EE: D0 20 BNE $1610 (1 in 16 chance for DA)
C2/15F0: B9 18 30 LDA $3018,Y
C2/15F3: 0C 2F 3F TSB $3F2F
C2/15F6: D0 18 BNE $1610 (No DA if this character already used it this combat)
C2/15F8: B9 D8 3E LDA $3ED8,Y (Which character it is)
C2/15FB: C9 0C CMP #$0C
C2/15FD: F0 05 BEQ $1604 (branch if Gogo)
C2/15FF: C9 0B CMP #$0B
C2/1601: B0 0D BCS $1610 (branch if Character 11 or above: Gau, Umaro, or
special character. none of these characters have DAs)
C2/1603: 1A INC
C2/1604: 3A DEC (if it was Gogo, we decrement the DA by 1 to account
for Gau -- who's before Gogo -- not having one)
C2/1605: 09 F0 ORA #$F0
C2/1607: 85 B6 STA $B6 (add F0h to modified character #, then save as attack #)
C2/1609: A9 10 LDA #$10
C2/160B: 14 B0 TRB $B0
C2/160D: 4C 14 17 JMP $1714
« Next Oldest | Next Newest »
Users browsing this thread: 5 Guest(s)