I want my block to only work if the blue switch palace has been beaten, but I get the same result either way.
What am I doing wrong?
What am I doing wrong?
Code
!palRAM = $87 ; one byte of free RAM, you may need to change this !palID = $01 ; the palette ID to change to (00 = original) db $42 JMP Main : JMP Return : JMP Return JMP Return : JMP Return : JMP Return : JMP Return JMP Return : JMP Return : JMP Return Main: LDA $1F29 CMP #$00 BEQ Deny LDA #!palID STA !palRAM LDA #$2B STA $1DFC Deny: LDA #$2A STA $1DFC RTL Return: RTL