- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
How to check the Type of the party's first Pokemon via script, so you need a Pokemon of the correct type to pass the check?
For example, a NPC could check if there's a Water Pokemon in your party. If you have one, he says "Cool!" and does nothing else. If you don't have one, he says "You need a Water Pokemon in your party".
The goal is to make a script with two different outcomes, and the type check determines that outcome.
For example, a NPC could check if there's a Water Pokemon in your party. If you have one, he says "Cool!" and does nothing else. If you don't have one, he says "You need a Water Pokemon in your party".
The goal is to make a script with two different outcomes, and the type check determines that outcome.