14-01-2008, 11:09 PM
Just, have a random check every time the player moves. If that check results in a fight, then save the players current position. Now, warp them to an instance (only one player per dungeon thing) where you blt all the options at the bottom of the screen. The player uses the arrow keys to navigate through the selection and there is like a cinematic up top that plays out the battle. After the battle is over, check for death, then, if the player didn't die, warp them back to their previous map location. Also, make sure players don't warp back to the same location at the same time.