Hi! First time posting here. I tried looking for this specific block but I can't find here, so I,m making a request.
Name: Behind the scenery block
Type: block
Description: I'm trying to program a block to keep Mario behind the scenery (i.e. behind any tiles acting as 25) after he's used a fence door.
I tried to program the ASM below (my skills are super rudimentary) but while it does keep him under the net when he exits the net block and goes back, Mario appears in front of all other tiles acting as 25.
Code
LDA $13F9 ; \ If the player is behind the net...
CMP #$01
LDA #$01 ; \ Keep them behind the net
STA $13F9
So basically, I would need a block that keeps all properties of the net (0B) except for Mario's ability to climb it.
Additionally, I am looking to get a block that acts similarly, but which is solid to Mario if he is currently in front of the net, but solid when he is on the back. I understand it might technically be considered a second request, but I'll be just fine if someone can help me with the first issue.
Thanks in advance!