• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Poke Mart error

  • 59
    Posts
    12
    Years
    • Seen Mar 30, 2014
    I tried to make a Poke-Mart but then this error showed up:

    ---------------------------
    Pokemon Shade
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 2, map 13 (Pokemon Mart):

    Exception: SyntaxError

    Message: (eval):1:in `pbExecuteScript'compile error
    (eval):1: syntax error
    @>Script: pbPokemonMart([
    ^

    ***Full script:

    @>Script: pbPokemonMart([
    : : :POKEBALL,:GREATBALL,
    : : :POTION,:SUPERPOTION,
    : : :ANTIDOTE,:PARLYZHEAL,
    : : :AWAKENING,:BURNHEAL,
    : : :ICEHEAL,:ESCAPEROPE,
    : : :REPEL
    : : ])
    @>




    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'

    Oops,

    Spoiler:
     
    Last edited:
    Okay let me explain what I done... I read your problem because I understand how the Mart script works... I read your error report, and you've edited it, so this is not a true error report... So I opened Essentials 12.1... I went to Cedolan Dept. 2F, edited the Mart script there by just adding a 2 to the end of pbPokemonMart, since it won't give me an error as it is...

    Here's my error report, untouched (except removed spaces):
    Spoiler:

    There's my number 2.
    There's my Mart script.

    So that's not your problem (obviously).

    So I went to the wiki and copied everything in the Mart example... Here's my new error.
    Spoiler:


    Do you notice any similarities? This is because after a second or 2, I realised what you had done and your error report was not edited.

    The Mart script in your game should look like this
    Code:
    pbPokemonMart([
    :POKEBALL,:GREATBALL,
    :POTION,:SUPERPOTION,
    :ANTIDOTE,:PARLYZHEAL,
    :AWAKENING,:BURNHEAL,
    :ICEHEAL,:ESCAPEROPE,
    :REPEL
    ])
    The examples on the wiki are generally what the script in YOUR game, SHOULD look like, not copy the exact thing.
    Removing all : and spaces except the colons before the Item themselves should fix the problem.
    The picture right next to the example shows what it should look like. Click Here for a direct link to the picture on the Wiki
     
    Okay let me explain what I done... I read your problem because I understand how the Mart script works... I read your error report, and you've edited it, so this is not a true error report... So I opened Essentials 12.1... I went to Cedolan Dept. 2F, edited the Mart script there by just adding a 2 to the end of pbPokemonMart, since it won't give me an error as it is...

    Here's my error report, untouched (except removed spaces):
    Spoiler:

    There's my number 2.
    There's my Mart script.

    So that's not your problem (obviously).

    So I went to the wiki and copied everything in the Mart example... Here's my new error.
    Spoiler:


    Do you notice any similarities? This is because after a second or 2, I realised what you had done and your error report was not edited.

    The Mart script in your game should look like this
    Code:
    pbPokemonMart([
    :POKEBALL,:GREATBALL,
    :POTION,:SUPERPOTION,
    :ANTIDOTE,:PARLYZHEAL,
    :AWAKENING,:BURNHEAL,
    :ICEHEAL,:ESCAPEROPE,
    :REPEL
    ])
    The examples on the wiki are generally what the script in YOUR game, SHOULD look like, not copy the exact thing.
    Removing all : and spaces except the colons before the Item themselves should fix the problem.
    The picture right next to the example shows what it should look like. Click Here for a direct link to the picture on the Wiki


    Thank you for your help ^^
     
    Back
    Top