- 3
- Posts
- 2
- Years
- Seen Sep 6, 2023
Hi there!
I'm developing a game in which I'd like to be able to detect the type of each party member. I've been searching for a solution but each one has caused the game to crash.
This is what I've tried so far:
Conditional Branch: Script: $pbHasType?(:FIRE)
Conditional Branch: Script: $player.has_pokemon_of_type??(:FIRE)
Conditional Branch: Script: $player.party[1].hasType?(:FIRE)
Does anyone know the correct syntax for checking these parameters?
I'm developing a game in which I'd like to be able to detect the type of each party member. I've been searching for a solution but each one has caused the game to crash.
This is what I've tried so far:
Conditional Branch: Script: $pbHasType?(:FIRE)
Conditional Branch: Script: $player.has_pokemon_of_type??(:FIRE)
Conditional Branch: Script: $player.party[1].hasType?(:FIRE)
Does anyone know the correct syntax for checking these parameters?