mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Created and implemented GameData::TrainerType, fixed free text entry text mispositioning
This commit is contained in:
@@ -379,7 +379,7 @@ end
|
||||
# event - Game_Event object for the character's event
|
||||
# speeches - Array of 12 speeches
|
||||
def pbDuel(trainer_id, trainer_name, event, speeches)
|
||||
trainer_id = getID(PBTrainers, trainer_id)
|
||||
trainer_id = GameData::TrainerType.get(trainer_id).id
|
||||
duel = PokemonDuel.new
|
||||
opponent = PokeBattle_Trainer.new(
|
||||
pbGetMessageFromHash(MessageTypes::TrainerNames,trainer_name), trainer_id)
|
||||
|
||||
Reference in New Issue
Block a user