- 10
- Posts
- 9
- Years
- Lilycove City, Hoenn
- Seen Sep 27, 2022
While trying to playtest to make sure no errors pop up, I keep getting this error when the pbTrainerName script (and possibly all text entry) is called.
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 3 (coords 1,0), map 1 ():
Exception: NoMethodError
Message: TextEntry:930:in `pbStartScene' undefined method `width' for nil:NilClass
***Full script:
pbTrainerName
Interpreter:243:in `pbExecuteScript'
TextEntry:1546:in `pbStartScreen'
TextEntry:1614:in `pbEnterText'
TextEntry:1611:in `pbFadeOutIn'
TextEntry:1611:in `pbEnterText'
TextEntry:1627:in `pbEnterPlayerName'
PSystem_Utilities:721:in `pbTrainerName'
(eval):1 :in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
I haven't touched any of the relevant scripts (as far as I know), deleting any save files doesn't work, and the problem is not present in base Essentials. I can't even tell where the problem actually is in the scripts. Can anyone help at least point out where it is?
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 3 (coords 1,0), map 1 ():
Exception: NoMethodError
Message: TextEntry:930:in `pbStartScene' undefined method `width' for nil:NilClass
***Full script:
pbTrainerName
Interpreter:243:in `pbExecuteScript'
TextEntry:1546:in `pbStartScreen'
TextEntry:1614:in `pbEnterText'
TextEntry:1611:in `pbFadeOutIn'
TextEntry:1611:in `pbEnterText'
TextEntry:1627:in `pbEnterPlayerName'
PSystem_Utilities:721:in `pbTrainerName'
(eval):1 :in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'
I haven't touched any of the relevant scripts (as far as I know), deleting any save files doesn't work, and the problem is not present in base Essentials. I can't even tell where the problem actually is in the scripts. Can anyone help at least point out where it is?