atm959

What?

Jan 1st, 2019
414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         BTST    #J_DOWN,JOYPAD0
  2.         BNE.S   @MOVE3
  3.         MOVE.W  CURSORPOS, D0
  4.         CMP.W #$0A, D0
  5.         BEQ.S @MOVE3
  6.         MOVE.B CURSORFLAG, D0
  7.         CMP.B #$01, D0
  8.         BEQ.S @MOVE3
  9.         ADD.W #$01, CURSORPOS
  10.         MOVE.B #$01, CURSORFLAG
  11. @MOVE3:
  12.         BTST    #J_UP,JOYPAD0
  13.         BNE.S   @MOVE4
  14.         MOVE.W CURSORPOS, D0
  15.         CMP.W #$00, D0
  16.         BEQ.S @MOVE4
  17.         MOVE.B CURSORFLAG, D0
  18.         CMP.B #$01, D0
  19.         BEQ.S @MOVE4
  20.         SUB.W #$01, CURSORPOS
  21.         MOVE.B #$01, CURSORFLAG
  22. @MOVE4:
Advertisement
Add Comment
Please, Sign In to add comment