crazygrouptrio
Active member
Trying to use a different player object depending on the screen/gamestate. I tried adding these lines in Initialization.asm where the player object is created:
Also tried checking the screenflag to no effect. I'm probably just checking gameState incorrectly.
Code:
LDA gameState
CMP #$03
BEQ otherPlayer
CreateObject #START_POSITION_PIX_X, #START_POSITION_PIX_Y, #$00, #$00
JMP +
otherPlayer:
CreateObject #START_POSITION_PIX_X, #START_POSITION_PIX_Y, #$01, #$00
+