How can I tell the game to ignore an input when I'm in certain rooms? I'm using the maze module, and the controls are set to the standard up, down, left, and right all move in those directions. But if I'm in certain rooms, I would like Up and Down to not do anything. The character should just move left and right. How can I do this?
For example, I would like Down to be disabled when I'm in screen 100, screen 104, and screen 106. What could I add to the input script to say --
If in Screen 100, Screen 104, or Screen 106
Do Nothing
Else do all the normal script below.
For example, I would like Down to be disabled when I'm in screen 100, screen 104, and screen 106. What could I add to the input script to say --
If in Screen 100, Screen 104, or Screen 106
Do Nothing
Else do all the normal script below.