Erik557

Untitled

Aug 4th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Output = Sprite direction in A (left = 1)
  2.  
  3.     PHY
  4.     LDY #$00
  5.     LDA $94
  6.     SEC
  7.     SBC $E4,x
  8.     STA $0F
  9.     LDA $95
  10.     SBC $14E0,x
  11.     BPL $01
  12.     INY
  13.     TYA
  14.     PLY
  15.     RTL
Add Comment
Please, Sign In to add comment