Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- updateBallNoClip:
- lda #horizontalMovementRight
- bit ballDirection ;check if direction to the right
- bne right
- left:
- dec ballX
- jmp verticalCheck
- right:
- inc ballX
- verticalCheck:
- lda #verticalMovementDown
- bit ballDirection ;check if going down
- bne down
- up:
- dec ballY
- jmp endUpdateBallNoClip
- down:
- inc ballY
- endUpdateBallNoClip:
- rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement