I'm trying to make it so that every time a random battle occurs a common event is called before the the scene shifts to a battle. I want to do this so that I can add a pause and alert emoticon over the player's head (using animations) before the actual transition to battle, I think it's a relatively simple thing to do but so far I've had no luck with my extremely limited knowledge of RGSS. So I'm requesting a script for this function. There's one for RPG Maker VX here, but I need one for RPG Maker XP. Thanks in advance to anyone who can figure this out.