- 41
- Posts
- 12
- Years
- Ontario, Canada
- Seen May 25, 2023
I ran into an issue with Pokémon Essentials with giving the player 15 items. The error is because the code that I put in is;
$PokemonBag.pbStoreItem
(:TINYMUSHROOM,15)
instead of;
$PokemonBag.pbStoreItem(
:TINYMUSHROOM,15)
as RMXP has no space for the latter.
So I look on the forums and found out that I need to use extendtext while I had my script window open. I opened it, did nothing, Administrative rights, nothing even with WinXP-SP2 compatibility. Any ideas for a fix/workaround. Win7 64bit, Essentials 12.2
$PokemonBag.pbStoreItem
(:TINYMUSHROOM,15)
instead of;
$PokemonBag.pbStoreItem(
:TINYMUSHROOM,15)
as RMXP has no space for the latter.
So I look on the forums and found out that I need to use extendtext while I had my script window open. I opened it, did nothing, Administrative rights, nothing even with WinXP-SP2 compatibility. Any ideas for a fix/workaround. Win7 64bit, Essentials 12.2
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError
Message: Script error within event 1, map 199 (Auburton Restaurant):
Exception: SyntaxError
Message: (eval):2:in `pbExecuteScript'compile error
(eval):2: syntax error
(:TINYMUSHROOM,15)
^
***Line '(:TINYMUSHROOM,15)' shouldn't begin with '('. Try
putting '(' at the end of the previous line instead,
or using Extendtext.
***Full script:
$PokemonBag.pbStoreItem
(:TINYMUSHROOM,15)
Interpreter:276:in `pbExecuteScript'
Interpreter:1600: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\David\Saved Games/Pokemon Essentials/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------