Fayt_Bouleouve Posted May 31, 2022 Share Posted May 31, 2022 I noticed in Reborn that several important battles have the trainers sending out a specific pokemon when all the others are fainted, and will deliberately save this one for last. Some fights which call it are: Spoiler - First Lin battle with Pulse Abra - Last Solaris battle with Pulse2 Mega Garchomp - Courrin-Rouge sidequest battle with Magikarp - Anomaly Arceus Postgame battle with Pulse Arceus What does that code look like? I was hoping to extend it to some other trainers. Quote Link to comment Share on other sites More sharing options...
Global Mods Dreamy Posted May 31, 2022 Global Mods Share Posted May 31, 2022 As far as I can tell, it's controlled by the Last_Ace_Switch being on in PokeBattle_AI_2, which is then turned on/off as part of the map events that initiate those battles. e.g for the clawitzer battle, this is in the map event Then in the AI there's this, which'll just give super low switch priority to whatevers last in the trainers party while the switch is on 1 Quote Link to comment Share on other sites More sharing options...
Fayt_Bouleouve Posted May 31, 2022 Author Share Posted May 31, 2022 (edited) Thanks @Dreamy! I'll pop on by if I have any more questions. Edited May 31, 2022 by Fayt_Bouleouve Quote Link to comment Share on other sites More sharing options...
Fayt_Bouleouve Posted May 31, 2022 Author Share Posted May 31, 2022 (edited) @Dreamy Sorry! Got another one. Which script contains the map events? Nevermind. Found it out. Edited May 31, 2022 by Fayt_Bouleouve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.