Advertisement
rubixcuber

Screen Locked Sprite

Apr 14th, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. LDY #$00
  2. LDA $17BD|!Base2 ; move sprite with screen X
  3. BPL +
  4. DEY
  5. + CLC : ADC !E4,x
  6. STA !E4,x
  7. TYA
  8. ADC !14E0,x
  9. STA !14E0,x
  10.  
  11.  
  12. LDY #$00
  13. LDA $17BC|!Base2 ; move sprite with screen Y
  14. BPL ++
  15. DEY
  16. ++ CLC : ADC !D8,x
  17. STA !D8,x
  18. TYA
  19. ADC !14D4,x
  20. STA !14D4,x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement