Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UpPressed1:
- Test_Button buttons1, BUTTON_UP
- beq UpDone1
- ldx $0214
- cpx #$08
- beq DownDone1
- dec $0204
- dec $0208
- dec $020C
- dec $0210
- dec $0214
- UpDone1:
- rts
- DownPressed1:
- Test_Button buttons1, BUTTON_DOWN
- beq DownDone1
- ldx $0214
- cpx #$E0
- beq DownDone1
- inc $0204
- inc $0208
- inc $020C
- inc $0210
- inc $0214
- DownDone1:
- rts
- UpPressed2:
- Test_Button buttons2, BUTTON_UP
- beq UpDone2
- dec $0218
- dec $021C
- dec $0220
- dec $0224
- dec $0228
- UpDone2:
- rts
- DownPressed2:
- Test_Button buttons2, BUTTON_DOWN
- beq DownDone2
- inc $0218
- inc $021C
- inc $0220
- inc $0224
- inc $0228
- DownDone2:
- rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement