Quote:
Originally Posted by ZangoMango
Alright, thanks a lot guys. Now that I've gone to Open Script in Adv-Map, I'm looking at the Rival's script in FR/LG when you're both in Oak's Lab at the beginning. I see his script in Oak's Lab from BEFORE the player chooses their Pokemon (as opposed to "Let's check out our Pokemon! Come on, I'll take you on!" and the resulting battle), but how do I see the Rival's Oak's Lab script from AFTER the player chooses their Pokemon? Thanks!
|
The Rival battle and Pokemon-giving events are stored in level scripts, not event scripts. Check the map's header and look at level script 2.
EDIT: To be more specific, level script 2 seems to be the script that runs when you enter the map, bringing you and Oak to the table with the Poke Balls. The Balls' own event scripts handle the Pokemon selection. I'm still looking for the script that trips the Rival battle.
EDIT2: The 3 scripts between the bookcases? Those are actually
six scripts, two per tile. The ones on the bottom trip the Rival battle, while the ones on the top prevent you from exiting before you choose a Pokemon.
So you can examine the code for the ones that trip the Rival battle, and the code for the Pokemon selection. You can then modify the script from there (though you will most likely have to compile a new copy to free space, as your modifications may lengthen the script).