JeffPack
New member
So I set up checkpoints in the adventure module and it works beautifully until I get to a certain screen. It took me forever to realize that what was different about this screen was that I had just come through a warp tile. I removed the warp tile and everything is fine. Turns out... if you die after warping, changing state sends you to the top left corner of continueScreen which triggers a screen transition and this is the result you get.
Not sure what's happening here but it seems that continueX and continueY are getting changed after you warp, because it works just fine until you warp.
For reference here is my lose life script
Not sure what's happening here but it seems that continueX and continueY are getting changed after you warp, because it works just fine until you warp.
For reference here is my lose life script
Code:
;; loose player lives
LDA myLives
CLC
CMP #$00
BEQ noMoreLives
SEC
SBC #$01
STA myLives
LDA #$04
STA myHealth
LDA #STATE_START_GAME
STA change_state
JMP doneWithLoseLife
noMoreLives:
JMP RESET
doneWithLoseLife: