- 157
- Posts
- 12
- Years
- Hope Peak's Academy
- Seen Apr 28, 2025
I'm a bit surprised I haven't seen this topic before, honestly.
I'm trying to have kind of a trading quest with Pokemon in my current project, but there's always this annoying error whenever I try to trade something with a name so long that the trading script takes up two lines, like so:
I thought that the problem could be dealt with if I just edit the Internal name of Lillipup, but the debug in the game won't allow that, and I get an error message whenever I go into the text file to do so.
I tried looking at the Wiki (that doesn't exist anymore, winkwink) but it didn't help me at all with this problem.
What can I do about this?
If it helps, this is the specific error I get whenever I try to trade,
Edit: Apparently :2: will give you... Well, so I had to put spaces in the code where they wouldn't usually be, so now it's ': 2 :' instead.
I'm trying to have kind of a trading quest with Pokemon in my current project, but there's always this annoying error whenever I try to trade something with a name so long that the trading script takes up two lines, like so:
Spoiler:
![[PokeCommunity.com] Trading Problem... [PokeCommunity.com] Trading Problem...](https://i.ibb.co/WVX0gs2/clewd.png)
I thought that the problem could be dealt with if I just edit the Internal name of Lillipup, but the debug in the game won't allow that, and I get an error message whenever I go into the text file to do so.
I tried looking at the Wiki (that doesn't exist anymore, winkwink) but it didn't help me at all with this problem.
What can I do about this?
If it helps, this is the specific error I get whenever I try to trade,
Spoiler:
---------------------------
Pokemon Everlasting Orchard
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 90 (coords 28,20), map 22 (Debug):
Exception: SyntaxError
Message: (eval): 2 :in `pbExecuteScript'compile error
(eval): 2 : syntax error
(1,2,:LILLIPUP)
^
***Line '(1,2,:LILLIPUP)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
pbChoosePokemonForTrade
(1,2,:LILLIPUP)
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 `updateold'
Scene_Map:161:in `loop'
Scene_Map:170:in `updateold'
pbGetTimeNow:151:in `update'
Pokemon Everlasting Orchard
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 90 (coords 28,20), map 22 (Debug):
Exception: SyntaxError
Message: (eval): 2 :in `pbExecuteScript'compile error
(eval): 2 : syntax error
(1,2,:LILLIPUP)
^
***Line '(1,2,:LILLIPUP)' shouldn't begin with '('. Try
putting the '(' at the end of the previous line instead,
or using 'extendtext.exe'.
***Full script:
pbChoosePokemonForTrade
(1,2,:LILLIPUP)
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 `updateold'
Scene_Map:161:in `loop'
Scene_Map:170:in `updateold'
pbGetTimeNow:151:in `update'
Edit: Apparently :2: will give you... Well, so I had to put spaces in the code where they wouldn't usually be, so now it's ': 2 :' instead.
Last edited: