Ego13
hollow_ego
- 307
- Posts
- 7
- Years
- Larua Region
- Seen Mar 24, 2023
That might be possible. Sometimes the game behaves weird and you just can't figure out why
# give species in this format -> :GROWLITHE
# name can either be left out if the name doesn't matter or has to be given as a string -> "Arch"
def hasPokemonToGive(species,name=nil)
return false if !pbHasSpecies?(species) # if the player doesn't even have the species, don't even open the party screen
pokemon = nil
index = -1
# let the player select a Pokemon
pbFadeOutIn(99999){
scene = PokemonParty_Scene.new
screen = PokemonPartyScreen.new(scene,$Trainer.party)
screen.pbStartScene(_INTL("Choose a Pokémon."),false)
index = screen.pbChoosePokemon
screen.pbEndScene
}
# if the Pokemon is valid, remove it from party
if ($Trainer.party[index].name==name || !name ) && isConst?($Trainer.party[index].species,PBSpecies,species)
pbRemovePokemonAt(index)
return true
end
return false
end
Any way to have trainer1 have an end speech if they win? Like a taunt still in the battle screen if they win for story purposes.