Added more commands and saved a player's state when entering the dungeon