Users browsing this thread: 2 Guest(s)
Giving Umaro's attacks to another character

#12
Posts: 3,971
Threads: 279
Thanks Received: 237
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
I'm not sure if it's the start of a solution, but you could maybe change the #$36 or the value it reference in the $C2B4BE table? I'm not sure what this table value (#$0F18) does exactly but it points to something.. Looking at the animation script, there is nothing about character ID so the answer is probably in bank $C1..

Code:
C1/BA6A:    BDC62E      LDA $2EC6,X        ; actor ID
C1/BA6D:    C90D        CMP #$0D
C1/BA6F:    F00C        BEQ $BA7D        ; branch if Umaro

C1/BA7D:    98          TYA
C1/BA7E:    A00100      LDY #$0001
C1/BA81:    9178        STA ($78),Y
C1/BA83:    20F7BB      JSR $BBF7
C1/BA86:    9005        BCC $BA8D
C1/BA88:    A936        LDA #$36
C1/BA8A:    4CA4B8      JMP $B8A4
C1/BA8D:    60          RTS

C1/B8A4:    EEC062      INC $62C0        
C1/B8A7:    0A          ASL A            ; #$36 * 2
C1/B8A8:    AA          TAX             ; X = #$006C
C1/B8A9:    C220        REP #$20
C1/B8AB:    A00400      LDY #$0004
C1/B8AE:    B178        LDA ($78),Y
C1/B8B0:    48          PHA
C1/B8B1:    A00200      LDY #$0002
C1/B8B4:    B178        LDA ($78),Y
C1/B8B6:    C8          INY
C1/B8B7:    C8          INY
C1/B8B8:    9178        STA ($78),Y
C1/B8BA:    BFBEB4C2    LDA $C2B4BE,X    ; load $C2B52A (#$0F18)

Code:
C2/B4BE:    7A 0F
C2/B4C0:    C0 0F
C2/B4C2:    CE 0F
C2/B4C4:    DC 0F
C2/B4C6:    EA 0F
C2/B4C8:    F8 0F
C2/B4CA:    06 10
C2/B4CC:    1C 07
C2/B4CE:    30 10
C2/B4D0:    3E 10
C2/B4D2:    4C 10
C2/B4D4:    5A 10
C2/B4D6:    C8 14
C2/B4D8:    D6 14
C2/B4DA:    1C 15
C2/B4DC:    2A 15
C2/B4DE:    38 15
C2/B4E0:    F2 06
C2/B4E2:    0E 07
C2/B4E4:    E4 0D
C2/B4E6:    10 11
C2/B4E8:    1E 11
C2/B4EA:    2C 11
C2/B4EC:    3A 11
C2/B4EE:    48 11
C2/B4F0:    56 11
C2/B4F2:    64 11
C2/B4F4:    72 11
C2/B4F6:    80 11
C2/B4F8:    8E 11
C2/B4FA:    9C 11
C2/B4FC:    AA 11
C2/B4FE:    B8 11
C2/B500:    C6 11
C2/B502:    D4 11
C2/B504:    E2 11
C2/B506:    30 10
C2/B508:    68 10
C2/B50A:    76 10
C2/B50C:    84 10
C2/B50E:    B2 0F
C2/B510:    92 10
C2/B512:    00 0E
C2/B514:    A0 0F
C2/B516:    AE 10
C2/B518:    BC 10
C2/B51A:    CA 10
C2/B51C:    D8 10
C2/B51E:    E6 10
C2/B520:    F4 10
C2/B524:    02 11
C2/B526:    34 0F
C2/B528:    26 0F
C2/B52A:    18 0F
C2/B52C:    0A 0F
C2/B52E:    BA 14
C2/B530:    18 16
  Find
Quote  



Messages In This Thread
RE: Giving Umaro's attacks to another character - by madsiur - 03-30-2017, 11:48 AM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite