• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Game Corner Prize Shop

43
Posts
10
Years
  • Seen Jun 9, 2016
I came across this error when I tried to buy coins from the game corner.
What part of the scripts controls this,so I can check.

Exception: RuntimeError

Message: Script error within event 7, map 180 (MAP180):

Exception: NameError

Message: (eval):1:in `pbExecuteScript'uninitialized constant Interpreter::MAXCOINS

***Full script:

$PokemonGlobal.coins+50>=MAXCOINS

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map+Menu On Map:201:in `update'

Scene_Map+Menu On Map:199:in `loop'



Interpreter:276:in `pbExecuteScript'

Interpreter:788:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map+Menu On Map:201:in `update'

Scene_Map+Menu On Map:199:in `loop'

Scene_Map+Menu On Map:212:in `update'

Scene_Map+Menu On Map:121:in `main'
 

Maruno

Lead Dev of Pokémon Essentials
5,285
Posts
16
Years
In the script section Settings, there should be a line saying MAXCOINS=99999.
 
Back
Top