Hello! I have a problem with my game.
When the player start a double fight with a trainer, the battle begin and the trainer sends his Pokémon but this error appears:
Exception: RuntimeError
Message: Script error within event 33, map 27 (Ruta 4):
Exception: NameError
Message: Section083:1026:in `initialize'uninitialized constant PokeBattle_SceneConstants::FOEBASED1_Y
***Full script:
pbTrainerBattle(PBTrainers::LASS,"Crissy",_I("You didn't have to win so convincingly!"),true,0,false,0)
Interpreter:243:in `pbExecuteScript'
PokeBattle_Scene:2391:in `new'
PokeBattle_Scene:2391:in `pbTrainerSendOut'
PokeBattle_Battle:1605:in `pbSendOut'
PokeBattle_Battle:2692:in `pbStartBattleCore'
PokeBattle_Battle:2603:in `pbStartBattle'
PTrainer_NPCTrainers:496:in `pbTrainerBattle'
PTrainer_NPCTrainers:495:in `pbSceneStandby'
PTrainer_NPCTrainers:497:in `pbTrainerBattle'
PTrainer_NPCTrainers:494:in `pbBattleAnimation'
Interpreter:276:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Scene_Map:114:in `follow_update'
Follower:1517:in `update'
The error only appear with double battles.
Anyone know how i can fix?
Thanks! :)
When the player start a double fight with a trainer, the battle begin and the trainer sends his Pokémon but this error appears:
Exception: RuntimeError
Message: Script error within event 33, map 27 (Ruta 4):
Exception: NameError
Message: Section083:1026:in `initialize'uninitialized constant PokeBattle_SceneConstants::FOEBASED1_Y
***Full script:
pbTrainerBattle(PBTrainers::LASS,"Crissy",_I("You didn't have to win so convincingly!"),true,0,false,0)
Interpreter:243:in `pbExecuteScript'
PokeBattle_Scene:2391:in `new'
PokeBattle_Scene:2391:in `pbTrainerSendOut'
PokeBattle_Battle:1605:in `pbSendOut'
PokeBattle_Battle:2692:in `pbStartBattleCore'
PokeBattle_Battle:2603:in `pbStartBattle'
PTrainer_NPCTrainers:496:in `pbTrainerBattle'
PTrainer_NPCTrainers:495:in `pbSceneStandby'
PTrainer_NPCTrainers:497:in `pbTrainerBattle'
PTrainer_NPCTrainers:494:in `pbBattleAnimation'
Interpreter:276:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:103:in `follow_update'
Scene_Map:101:in `loop'
Scene_Map:114:in `follow_update'
Follower:1517:in `update'
The error only appear with double battles.
Anyone know how i can fix?
Thanks! :)