5kids2feed
Well-known member
Long time, no see! Hope you've all been good. I'm trying to make a script where a tile is only solid when my action step 3 is active. What's a better way of coding this? Thanks!
Code:
CPX player1_object
BNE jaa
LDA Object_direction,x
AND #%00001111
STA Object_direction,x
GetActionStep #00
CMP #$03
BEQ jaa
LDA ObjectUpdateByte
ORA #%00000001
STA ObjectUpdateByte ;; makes solid
jaa:
rts
Last edited: