Rayziken 2
Beginning ROM Hacker
- 232
- Posts
- 13
- Years
- Seen Sep 9, 2016
Hi, it's me again, with what is probably another very obvious issue. However, I can't solve it at all. I coded a trainer into my game and when I playtest it I'm being told that he's missing. I know he's not, because he's in the PBS file and the event seems to be able to work by normal standards.
Here's the script:
Here's the script:
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.
Script error within event 9, map 42 (Route IV):
Exception: RuntimeError
Message: Section108:220:in `pbMissingTrainer'Can't find trainer (POKEMANIAC, Miguel, ID 0)
***Full script:
pbTrainerBattle(PBTrainers::POKEMANIAC,"Miguel",_I("H-how can it be!?"),false,0,false,0)
Interpreter:243:in `pbExecuteScript'
PokemonTrainers:351: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:198:in `update'
---------------------------
OK
---------------------------
Pokemon Essentials
---------------------------
Script 'Interpreter' line 276: RuntimeError occurred.
Script error within event 9, map 42 (Route IV):
Exception: RuntimeError
Message: Section108:220:in `pbMissingTrainer'Can't find trainer (POKEMANIAC, Miguel, ID 0)
***Full script:
pbTrainerBattle(PBTrainers::POKEMANIAC,"Miguel",_I("H-how can it be!?"),false,0,false,0)
Interpreter:243:in `pbExecuteScript'
PokemonTrainers:351: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:198:in `update'
---------------------------
OK
---------------------------