- 8
- Posts
- 4
- Years
- Seen Nov 23, 2021
I would like to add in a script to not allow a player to enter a gym if they have specific type of pokemon in their party. I can't figure it out. Any help is appreciated. using 17.2 essentials.
I would like to add in a script to not allow a player to enter a gym if they have specific type of pokemon in their party. I can't figure it out. Any help is appreciated. using 17.2 essentials.
Hello. Do you mean type as in species or type as in, well, type?
Hi! Moved your thread here since ROM hacking areas are for help with ROM hacks; by the way, you posted in ROM Hacking Discussion, while ROM Hacking Help is the place to ask regarding ROM hacks. ;)
Type as in fire water
pbHasType?(:FIRE) || pbHasType?(:WATER)
Thanks for your help guys I have the npc doing what i want him to do now. How do i make sure that he repeats this action of checking the party? I don't want the player to be able to activate the switch then withdraw the pokemon afterwards.