Users browsing this thread: 2 Guest(s)
how to change the skill "possess"
01-24-2014, 07:09 PM
My Apologies, I was in a hurry last time. But here's the Original code:
and my code:
Code:
C2/1610: C0 08 CPY #$08 (Capture enters here)
C2/1612: B0 07 BCS $161B (branch if monster)
C2/1614: B9 D8 3E LDA $3ED8,Y (Which character it is)
C2/1617: C9 0D CMP #$0D
C2/1619: F0 20 BEQ $163B (branch if Umaro)
C2/161B: BB TYX
C2/161C: BD 58 3C LDA $3C58,X
C2/161F: 4A LSR
C2/1620: A9 01 LDA #$01
C2/1622: 90 02 BCC $1626 (branch if no offering)
C2/1624: A9 07 LDA #$07
C2/1626: 8D 70 3A STA $3A70 (# of attacks)
C2/1629: 20 4D 5A JSR $5A4D (Remove dead and hidden targets)
C2/162C: 20 65 38 JSR $3865 (depending on $3415, copy targets into backup targets
and add to "already hit targets" list, or copy backup
targets into targets.)
C2/162F: A9 02 LDA #$02
C2/1631: 14 B2 TRB $B2 (clear no critical & ignore true knight)
C2/1633: A5 B5 LDA $B5
C2/1635: 8D 13 34 STA $3413 (save backup command [Fight or Capture]. used for
multi-strike turns where a spell is cast by a weapon,
thus overwriting the command #.)
C2/1638: 4C 7B 31 JMP $317B (entity executes one hit (loops for multiple-strike
attack))
and my code:
Code:
C2/1610: A9 C6 LDA#C6 (Flare Star)
C2/1612: 85 B6 STA $B6 (Set spell/animation)
C2/1614: A9 02 LDA #$02 (Magic)
C2/1616: 4C 69 64 JMP $6469 (jump to subroutine C2/6469)
C2/6469: 85 B5 STA $B5 (Set command)
C2/6471: 4C 5F 17 JMP $175F (jump to subroutine C2/175F)
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)