ah, also I mean that the code that checks if a block is a key thinks that the wall flag 0 is the same is key flag 1.
https://cubscouter.itch.io/first-draft-of-3am-project