offparkway
Active member
I made a game over screen and a user constant called GAME_OVER_SCREEN. just trying to warp to it once myLives is 0 (rather than reset). I tried the code from an older 2019 thread, but it didn't seem to do anything.
;; check to see if object colliding is a player.
CPX player1_object
BNE dontDoTilePlayerHurt
;; call the handle player hurt code:
JSR doHandleHurtPlayer
dontDoTilePlayerHurt: