Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ROM:0000BEA8 Init_Run: ; CODE XREF: ROM:0000BE12j
- ROM:0000BEA8 cmpi.w #6,ObjID(a2) ; Is it Skate
- ROM:0000BEAE bne.w loc_BF46 ; if not then branch
- ROM:0000BEB2 btst #BtnRight_Press,d7
- ROM:0000BEB6 beq.s loc_BEF6
- ROM:0000BEB8 btst #BtnRight,d7
- ROM:0000BEBC beq.s loc_BECC
- ROM:0000BEBE move.l #$435,d0
- ROM:0000BEC4 moveq #0,d1
- ROM:0000BEC6 jsr PlaySound
- ROM:0000BECC
- ROM:0000BECC loc_BECC: ; CODE XREF: ROM:0000BEBCj
- ROM:0000BECC addi.l #$34000,HInertia(a2)
- ROM:0000BED4 btst #0,SpriteOrientation(a2)
- ROM:0000BEDA bne.s loc_BEE6
- ROM:0000BEDC clr.w DpadTimer(a2) ; Timer used when Left/Right is pressed
- ROM:0000BEDC ; a value if $10 is moved into RAM deducting each frame.
- ROM:0000BEDC ; if the same direction is pressed again within
- ROM:0000BEDC ; $10 frame sec then the Double tap flag is enabled.
- ROM:0000BEDC ; Enabling running
- ROM:0000BEE0 bclr #4,ObjStatus5(a2)
- ROM:0000BEE6
- ROM:0000BEE6 loc_BEE6: ; CODE XREF: ROM:0000BEDAj
- ROM:0000BEE6 move.w #$51,NextAnimation(a2) ; 'Q'
- ROM:0000BEEC move.w #2,DpadTimer(a2) ; Timer used when Left/Right is pressed
- ROM:0000BEEC ; a value if $10 is moved into RAM deducting each frame.
- ROM:0000BEEC ; if the same direction is pressed again within
- ROM:0000BEEC ; $10 frame sec then the Double tap flag is enabled.
- ROM:0000BEEC ; Enabling running
- ROM:0000BEF2 bra.w sub_52B4
- ROM:0000BEF6 ; ---------------------------------------------------------------------------
- ROM:0000BEF6
- ROM:0000BEF6 loc_BEF6: ; CODE XREF: ROM:0000BEB6j
- ROM:0000BEF6 btst #BtnLeft_Press,d7
- ROM:0000BEFA beq.s loc_BF3A
- ROM:0000BEFC btst #BtnLeft,d7
- ROM:0000BF00 beq.s loc_BF10
- ROM:0000BF02 move.l #$435,d0
- ROM:0000BF08 moveq #0,d1
- ROM:0000BF0A jsr PlaySound
- ROM:0000BF10
- ROM:0000BF10 loc_BF10: ; CODE XREF: ROM:0000BF00j
- ROM:0000BF10 subi.l #$34000,HInertia(a2)
- ROM:0000BF18 btst #0,$F(a2)
- ROM:0000BF1E beq.s loc_BF2A
- ROM:0000BF20 clr.w DpadTimer(a2) ; Timer used when Left/Right is pressed
- ROM:0000BF20 ; a value if $10 is moved into RAM deducting each frame.
- ROM:0000BF20 ; if the same direction is pressed again within
- ROM:0000BF20 ; $10 frame sec then the Double tap flag is enabled.
- ROM:0000BF20 ; Enabling running
- ROM:0000BF24 bclr #4,ObjStatus5(a2)
- ROM:0000BF2A
- ROM:0000BF2A loc_BF2A: ; CODE XREF: ROM:0000BF1Ej
- ROM:0000BF2A move.w #ani_Backbreaker2,NextAnimation(a2)
- ROM:0000BF30 move.w #2,DpadTimer(a2) ; Timer used when Left/Right is pressed
- ROM:0000BF30 ; a value if $10 is moved into RAM deducting each frame.
- ROM:0000BF30 ; if the same direction is pressed again within
- ROM:0000BF30 ; $10 frame sec then the Double tap flag is enabled.
- ROM:0000BF30 ; Enabling running
- ROM:0000BF36 bra.w sub_52B4
- ROM:0000BF3A ; ---------------------------------------------------------------------------
- ROM:0000BF3A
- ROM:0000BF3A loc_BF3A: ; CODE XREF: ROM:0000BEFAj
- ROM:0000BF3A clr.w DpadTimer(a2) ; Timer used when Left/Right is pressed
- ROM:0000BF3A ; a value if $10 is moved into RAM deducting each frame.
- ROM:0000BF3A ; if the same direction is pressed again within
- ROM:0000BF3A ; $10 frame sec then the Double tap flag is enabled.
- ROM:0000BF3A ; Enabling running
- ROM:0000BF3E bclr #4,ObjStatus5(a2)
- ROM:0000BF44 rts
Add Comment
Please, Sign In to add comment