- 5
- Posts
- 6
- Years
- Seen Jan 27, 2022
I am having a problem with timed events, specifically making an apricorn tree.
Whenever I enter a map connected to the map where the tree is, I get a no method error for setTempSwitchOn, after the cooledDown? expires. However I don't get this error if the map is refreshed, or warped to. I could put all of my apricorn trees behind warp events but I don't really want to break up the immersion of an outdoor space just to pick an apricorn. Is there anything I can do to fix this?
Whenever I enter a map connected to the map where the tree is, I get a no method error for setTempSwitchOn, after the cooledDown? expires. However I don't get this error if the map is refreshed, or warped to. I could put all of my apricorn trees behind warp events but I don't really want to break up the immersion of an outdoor space just to pick an apricorn. Is there anything I can do to fix this?
Spoiler:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within map 10 (Route 02):
Exception: NoMethodError
Message: PField_Field:1185:in `setTempSwitchOn'undefined method `setTempSwitchOn' for nil:NilClass
***Full script:
setTempSwitchOn("A")
Interpreter:243:in `pbExecuteScript'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Game_Event:251:in `update'
Interpreter:281:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Game_Event:251:in `update'
Game_Map:442:in `update'
Game_Map:439:in `each'
Game_Map:439:in `update'
This exception was logged in
C:\Users\Lumina\Saved Games\Pokemon Essentials\errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within map 10 (Route 02):
Exception: NoMethodError
Message: PField_Field:1185:in `setTempSwitchOn'undefined method `setTempSwitchOn' for nil:NilClass
***Full script:
setTempSwitchOn("A")
Interpreter:243:in `pbExecuteScript'
(eval):1:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Game_Event:251:in `update'
Interpreter:281:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Game_Event:251:in `update'
Game_Map:442:in `update'
Game_Map:439:in `each'
Game_Map:439:in `update'
This exception was logged in
C:\Users\Lumina\Saved Games\Pokemon Essentials\errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Last edited: