Stachan
New member
Hi everybody!
I just want to hide the Draw Sprites that replaces HUD from a test plateform game when I'm on my Start Screen.
I tried to modify my doDrawSpriteHud_LRPlateformer to compare GS_MainGame and gameState like this :
But it result "Branch out of range" at line 3...
I just want to hide the Draw Sprites that replaces HUD from a test plateform game when I'm on my Start Screen.
I tried to modify my doDrawSpriteHud_LRPlateformer to compare GS_MainGame and gameState like this :
Code:
LDA gameState
CMP #GS_MainGame
BEQ +
DrawSpriteHud #16, #16, #$7f, myLives, #$32, myLives, #%00000000 ;; draws life
DrawSpriteHud #16, #26, #$22, myAmmo, #$22, myAmmo, #%00000000 ;; draws ammo
+
But it result "Branch out of range" at line 3...