- 24
- Posts
- 11
- Years
- Seen Apr 7, 2022
Whenever I try to run a battle, even the default battle with Brock, I get this error:
I see that it says "Unreal Time" near the bottom, so maybe it has something to do with my use of that script? Any help would be appreciated.
Spoiler:
---------------------------
Pokemon Essentials Gen 6
---------------------------
Exception: RuntimeError
Message: Script error within event 12, map 42 (Choosing Room):
Exception: ArgumentError
Message: Section108:470:in `initialize'wrong number of arguments(7 for 5)
***Full script:
pbTrainerBattle(PBTrainers::LEADER_Brock,"Brock",_I("Very good."))
Interpreter:243:in `pbExecuteScript'
PTrainer_NPCTrainers:470:in `new'
PTrainer_NPCTrainers:470:in `pbTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:794:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
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 `updateold'
Scene_Map:101:in `loop'
Scene_Map:114:in `updateold'
Unreal Time:151:in `update'
Pokemon Essentials Gen 6
---------------------------
Exception: RuntimeError
Message: Script error within event 12, map 42 (Choosing Room):
Exception: ArgumentError
Message: Section108:470:in `initialize'wrong number of arguments(7 for 5)
***Full script:
pbTrainerBattle(PBTrainers::LEADER_Brock,"Brock",_I("Very good."))
Interpreter:243:in `pbExecuteScript'
PTrainer_NPCTrainers:470:in `new'
PTrainer_NPCTrainers:470:in `pbTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:794:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:794:in `command_111'
Interpreter:320:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
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 `updateold'
Scene_Map:101:in `loop'
Scene_Map:114:in `updateold'
Unreal Time:151:in `update'
I see that it says "Unreal Time" near the bottom, so maybe it has something to do with my use of that script? Any help would be appreciated.