I am using pokemon essentials. I tried to create an npc that would follow you until you reached the end of the area. I have an event that makes the npc disappear when the player walks over it. The event gave this error when it occurred.
any help would be appreciated, and I can post screenshots if needed.
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 6, map 125 (Route 804):
Exception: ArgumentError
Message: (eval):1:in `pbRemoveDependency2'wrong number of arguments(0 for 1)
***Full script:
Kernel.pbRemoveDependency2
("JulieFollow")
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'
Scene_Map:103:in `update'
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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
This exception was logged in
C:\Users\Owner\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
any help would be appreciated, and I can post screenshots if needed.
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 6, map 125 (Route 804):
Exception: ArgumentError
Message: (eval):1:in `pbRemoveDependency2'wrong number of arguments(0 for 1)
***Full script:
Kernel.pbRemoveDependency2
("JulieFollow")
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'
Scene_Map:103:in `update'
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:103:in `update'
Scene_Map:101:in `loop'
Scene_Map:114:in `update'
Scene_Map:68:in `main'
This exception was logged in
C:\Users\Owner\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------