Guest User

Untitled

a guest
Jun 3rd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ROM:0000BEA8 Init_Run:                               ; CODE XREF: ROM:0000BE12j
  2. ROM:0000BEA8                 cmpi.w  #6,ObjID(a2)    ; Is it Skate
  3. ROM:0000BEAE                 bne.w   loc_BF46        ; if not then branch
  4. ROM:0000BEB2                 btst    #BtnRight_Press,d7
  5. ROM:0000BEB6                 beq.s   loc_BEF6
  6. ROM:0000BEB8                 btst    #BtnRight,d7
  7. ROM:0000BEBC                 beq.s   loc_BECC
  8. ROM:0000BEBE                 move.l  #$435,d0
  9. ROM:0000BEC4                 moveq   #0,d1
  10. ROM:0000BEC6                 jsr     PlaySound
  11. ROM:0000BECC
  12. ROM:0000BECC loc_BECC:                               ; CODE XREF: ROM:0000BEBCj
  13. ROM:0000BECC                 addi.l  #$34000,HInertia(a2)
  14. ROM:0000BED4                 btst    #0,SpriteOrientation(a2)
  15. ROM:0000BEDA                 bne.s   loc_BEE6
  16. ROM:0000BEDC                 clr.w   DpadTimer(a2)   ; Timer used when Left/Right is pressed
  17. ROM:0000BEDC                                         ; a value if $10 is moved into RAM deducting each frame.
  18. ROM:0000BEDC                                         ; if the same direction is pressed again within
  19. ROM:0000BEDC                                         ; $10 frame sec then the Double tap flag is enabled.
  20. ROM:0000BEDC                                         ; Enabling running
  21. ROM:0000BEE0                 bclr    #4,ObjStatus5(a2)
  22. ROM:0000BEE6
  23. ROM:0000BEE6 loc_BEE6:                               ; CODE XREF: ROM:0000BEDAj
  24. ROM:0000BEE6                 move.w  #$51,NextAnimation(a2) ; 'Q'
  25. ROM:0000BEEC                 move.w  #2,DpadTimer(a2) ; Timer used when Left/Right is pressed
  26. ROM:0000BEEC                                         ; a value if $10 is moved into RAM deducting each frame.
  27. ROM:0000BEEC                                         ; if the same direction is pressed again within
  28. ROM:0000BEEC                                         ; $10 frame sec then the Double tap flag is enabled.
  29. ROM:0000BEEC                                         ; Enabling running
  30. ROM:0000BEF2                 bra.w   sub_52B4
  31. ROM:0000BEF6 ; ---------------------------------------------------------------------------
  32. ROM:0000BEF6
  33. ROM:0000BEF6 loc_BEF6:                               ; CODE XREF: ROM:0000BEB6j
  34. ROM:0000BEF6                 btst    #BtnLeft_Press,d7
  35. ROM:0000BEFA                 beq.s   loc_BF3A
  36. ROM:0000BEFC                 btst    #BtnLeft,d7
  37. ROM:0000BF00                 beq.s   loc_BF10
  38. ROM:0000BF02                 move.l  #$435,d0
  39. ROM:0000BF08                 moveq   #0,d1
  40. ROM:0000BF0A                 jsr     PlaySound
  41. ROM:0000BF10
  42. ROM:0000BF10 loc_BF10:                               ; CODE XREF: ROM:0000BF00j
  43. ROM:0000BF10                 subi.l  #$34000,HInertia(a2)
  44. ROM:0000BF18                 btst    #0,$F(a2)
  45. ROM:0000BF1E                 beq.s   loc_BF2A
  46. ROM:0000BF20                 clr.w   DpadTimer(a2)   ; Timer used when Left/Right is pressed
  47. ROM:0000BF20                                         ; a value if $10 is moved into RAM deducting each frame.
  48. ROM:0000BF20                                         ; if the same direction is pressed again within
  49. ROM:0000BF20                                         ; $10 frame sec then the Double tap flag is enabled.
  50. ROM:0000BF20                                         ; Enabling running
  51. ROM:0000BF24                 bclr    #4,ObjStatus5(a2)
  52. ROM:0000BF2A
  53. ROM:0000BF2A loc_BF2A:                               ; CODE XREF: ROM:0000BF1Ej
  54. ROM:0000BF2A                 move.w  #ani_Backbreaker2,NextAnimation(a2)
  55. ROM:0000BF30                 move.w  #2,DpadTimer(a2) ; Timer used when Left/Right is pressed
  56. ROM:0000BF30                                         ; a value if $10 is moved into RAM deducting each frame.
  57. ROM:0000BF30                                         ; if the same direction is pressed again within
  58. ROM:0000BF30                                         ; $10 frame sec then the Double tap flag is enabled.
  59. ROM:0000BF30                                         ; Enabling running
  60. ROM:0000BF36                 bra.w   sub_52B4
  61. ROM:0000BF3A ; ---------------------------------------------------------------------------
  62. ROM:0000BF3A
  63. ROM:0000BF3A loc_BF3A:                               ; CODE XREF: ROM:0000BEFAj
  64. ROM:0000BF3A                 clr.w   DpadTimer(a2)   ; Timer used when Left/Right is pressed
  65. ROM:0000BF3A                                         ; a value if $10 is moved into RAM deducting each frame.
  66. ROM:0000BF3A                                         ; if the same direction is pressed again within
  67. ROM:0000BF3A                                         ; $10 frame sec then the Double tap flag is enabled.
  68. ROM:0000BF3A                                         ; Enabling running
  69. ROM:0000BF3E                 bclr    #4,ObjStatus5(a2)
  70. ROM:0000BF44                 rts
Add Comment
Please, Sign In to add comment