Thanks for playing! I'm glad you enjoyed this.
The player character is aligned to a 16x16 grid, and all movement inputs and state changes are ignored until she realigns with the grid. I accomplished this by having the input keys simply adjust variables and do little else; a block of code that is run whenever Sue is aligned with the grid contains all the movement and state-changing behavior.