Description: Ensures vx is the direction Mario is facing.
; $76 == 0 -> Left. 1 -> Right ; ldx $76 bne + ; Left. Make sure vx is negative. lda $7b bmi done invert: eor #$ff inc sta $7b rtl + ; Right. Make sure vx is positive. lda $7b bmi invert done: rtlback to listings