- 20
- Posts
- 3
- Years
- Seen Dec 21, 2022
Hey all! Whenever I try to make a partner trainer, I am hit with this error. The trainer class is defined in the exact same manner as the supplied Brendon ally. Can anybody help me out?
=================
[2021-12-02 21:29:31 +0930]
[Pokémon Essentials version 19.1]
[v19.1 Hotfixes 1.0.7]
Exception: RuntimeError
Message: Script error in event 26 (coords 1,8), map 96 (Staffroom):
Exception: NoMethodError
Message: undefined method `party' for nil:NilClass
***Full script:
pbRegisterPartner(
:POKEMONTRAINER_Astra,
"Astra",0)
setBattleRule("double")
Backtrace:
214:Overworld:688:in `pbRegisterPartner'
(eval):1:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'
=================
[2021-12-02 21:29:31 +0930]
[Pokémon Essentials version 19.1]
[v19.1 Hotfixes 1.0.7]
Exception: RuntimeError
Message: Script error in event 26 (coords 1,8), map 96 (Staffroom):
Exception: NoMethodError
Message: undefined method `party' for nil:NilClass
***Full script:
pbRegisterPartner(
:POKEMONTRAINER_Astra,
"Astra",0)
setBattleRule("double")
Backtrace:
214:Overworld:688:in `pbRegisterPartner'
(eval):1:in `execute_script'
033:Interpreter:137:in `eval'
033:Interpreter:137:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
Backtrace:
033:Interpreter:189:in `rescue in execute_script'
033:Interpreter:135:in `execute_script'
034:Interpreter_Commands:1024:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:127:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'