![]() |
How to create an Event according to what Starter I choose in Emerald?
Okay how exactly do I create Scripts to make the following Events have different options according to the Starter I choose in Emerald, I mean have a different Event happen according to whether I choose Treecko/Torchic/Mudkip?
1) Have an NPC give a Pokemon depending on my Starter. 2) Create another Rival (other than Brendan/May) & make him have different Pokemon, based on what Starter I've chosen. 3) Change the Pokemon League Champion based on my Starter, I mean have a different Champion depending on what Starter I choose. Pika Pika :chu: |
Set a flag or variable depending on the starter you chose and then have those later scripts check for it.
|
Quote:
Pika Pika :chu: |
say you set flag 0x200-0x202 depending on which starter you chose. A script would look like this:
Code:
Of course you would have to set one of those flags when you get your starter in the first place, and since I don't hack emerald I have no idea what flags are safe to use. But that's the basic concept, it's not too hard if you know some simple scripting. |
Incidentally, I'd recommend setting a variable, usually 0x4031, to a value from 0-2 corresponding to the three starters and check that instead, as that variable is already used by the vanilla ROM (in certain specials, for example) to determine the starter. That way you save using three flags for something that can be done with just one variable, too.
|
Variable 0x4023 (in Emerald) is where the value of the chosen starter is registered. It is set to 0x0 if you chose the first slot (which is Treecko), 0x1 if you chose the second slot (Torchic), or 0x2 if you chose the third slot (Mudkip). You can just simply use the compare command with variable 0x4023 in scripts in order to achieve on what you are expecting. Just look at the overworld scripts of either Brendan or May for examples of scripts that uses variable 0x4023 to guide you.
|
Okay, this is the Script for the First Battle with your Rival (on Route 103).
Spoiler:
I tried making a Trainer Battle Script, based on it. Here it is: Spoiler:
I also tried to create a simple Give Pokemon Script. Here goes: Spoiler:
Correct me, if I'm wrong (might be):3c Pika Pika :chu: |
| All times are GMT -8. The time now is 2:30 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.