That actually makes sense - thanks, Wye, I'm going to test it as soon as possible.
Originally posted by Hailstorm
I want to make a block that acts like the 1-way left block when the on/off value is on, and acts like the 1-way right block when the value is off. Here's my code:
LDA $14AF
CMP #$01
BEQ Right
LDA #$00000010
STA $77
RTS
Right:
LDA #$00000001
STA $77
RTS
It works right when the switch is on, but when it's off, the block is just a blank tile that allows movement in both directions. What am I doing wrong?
LDA $14AF
CMP #$01
BEQ Right
LDA #$00000010
STA $77
RTS
Right:
LDA #$00000001
STA $77
RTS
It works right when the switch is on, but when it's off, the block is just a blank tile that allows movement in both directions. What am I doing wrong?
Sorry if asking again is annoying, but I think this block might be good for puzzles, and I want to know what's wrong about this code. Actually, if someone already made this block, let me know.