- 265
- Posts
- 7
- Years
- Seen Nov 19, 2023
I'm trying to give 5 Pokeballs to the hero from a professors aid. I copied the script that gives a poition and replaced the word potion with pokeball. but the game crashes. i get this error
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'
Exception: RuntimeError
Message: Script error within event 16, map 42 (Forestown):
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
***Line '(PBItems::POKEBALL,5)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
Kernel.pbReceiveItem
(PBItems::POKEBALL,5)
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'
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'
Exception: RuntimeError
Message: Script error within event 16, map 42 (Forestown):
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
***Line '(PBItems::POKEBALL,5)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
Kernel.pbReceiveItem
(PBItems::POKEBALL,5)
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'