Mystery Maze by matkeller19

Transfer MAZE.8xp for the game and MMZDEMO.8xv for the demo level pack.

You're stuck in a mysterious building and must find your way
to the exit. Luckily, your amazing hearing lets you know where
enemies are before it's too late.

Controls:
    -Use [clear] to exit (almost anywhere)
    Menu:
        -Up/Down to navigate options
	-[2nd] to select option
	-Right/Left to change level (if pack selected)
    Game:
	-Arrows to move
    Editor:
	-Arrows to move cursor
	-0-9 to jump to tiles
	-[2nd] to place tile
	-[graph] to save level
	-[mode]/[graphVar] to move up/down tiles
	-[clear] to exit (twice if unsaved)
	-NOTE: Using more than 20 enemies may cause reduced speeds

Tile Descriptions:
    -Spawn: Spawns player on tile. If multiple, spawns them at tile
            farthest from top left
    -Open: Makes tile that the player can walk through
    -Wall: Makes tile that player cannot walk through
    -TurnR: Turns an enemy 90 degrees to the right
    -180: Turns an enemy around (180 degrees)
    -TurnL: Turns an enemy 90 degrees to the left
    -EnemyR: Spawns an enemy facing right
    -EnemyD: Spawns an enemy facing down
    -EnemyL: Spawns an enemy facing left
    -EnemyU: Spawns an enemy facing up
    -TogRD: Toggles direction between right and down
    -TogRU: Toggles direction between right and up
    -TogLU: Toggles direction between left and up
    -TogLD: Toggles direction between left and down
    -Goal: End of level (there can be multiple per level)

###CC23###
Language: C
Works with: TI 84+ CE

Credits:
-DrDnar: Helping understand how sk_key works
-MateoConLechuga: Optimization, appvar creation