alright. But can't you just split it into little scripts? I mean, The character steps onto a tile which activates the script, then when he/she beats the the first guy, the script is cancelled (no flag, in other term) so it won't work anymore and then the character is moved to another tile before the script ends, where the next script-thing is. Then you could just keep doing it until the gym leader.