← Previous | Next →
hasTiedPokemonBattle
Description
Checks if the NPC's Pokémon trainer has tied a battle against the character's Pokémon trainer.
Name | Type | Possibilities |
hasTiedPokemonBattle | interaction | 2 |
Parameters
# | Name | Type | Mandatory | Description | Multiple |
| | | | | |
Outputs
# | Description |
1 | The NPC's trainer has tied with the character's trainer. |
2 | The NPC's trainer has not tied with the character's trainer. |
Example
POKEMON
id example_pokemon_id
name bulbasaur
level 5
moves vine_whip
TRAINER
npc Rival
pokemon example_pokemon_id
NPC
name Rival
model a_m_m_eastsa_02
position -1020.72 4839.78 258.30 0.0
interaction
hasTiedPokemonBattle
tell "Our battle ended in a tie!"
tell "Our battle did not end in a tie!"
behaviour
nothing