Glitches brought to you by 
Have fun without random encounters
If you're in a dungeon or cave, you can open the UMD tray, or just take the UMD out, and not have to deal with random encounters. If you're coming up on a boss fight, though, make sure you put it back in before you initiate the battle.