• 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.
  • 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!
  • Akari, Red, Kris, May - which Pokémon protagonist is your favorite? Let us know by voting in our semifinal favorite protagonist poll!
  • 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.

[Question] Error help

  • 4
    Posts
    7
    Years
    • Seen Sep 5, 2021
    Hi,
    I'm getting this error message and don't know what to do, can someone help?
    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18]

    Exception: RuntimeError

    Message: Script error within event 2 (coords 1,0), map 32 (Oreburgh City):

    Exception: NoMethodError

    Message: PField_Field:888:in `pbRegisterPartner'undefined method `[]' for nil:NilClass



    ***Full script:

    pbRegisterPartner(
    :POKEMONTRAINER_RIVALF,
    "Dawn,3")




    Backtrace:

    Interpreter:201:in `pbExecuteScript'

    (eval):2:in `pbExecuteScript'

    Interpreter:1466:in `eval'

    Interpreter:201:in `pbExecuteScript'

    Interpreter:1466:in `command_355'

    Interpreter:366:in `execute_command'

    Interpreter:155:in `update'

    Interpreter:102:in `loop'

    Interpreter:158:in `update'

    Scene_Map:162:in `update'





    Backtrace:

    Interpreter:237:in `pbExecuteScript'

    Interpreter:1466:in `command_355'

    Interpreter:366:in `execute_command'

    Interpreter:155:in `update'

    Interpreter:102:in `loop'

    Interpreter:158:in `update'

    Scene_Map:162:in `update'

    Scene_Map:160:in `loop'

    Scene_Map:169:in `update'

    Scene_Map:229:in `main'



    This exception was logged in

    C:\Users\ekere\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------
     
    You've messed up your quotations. It should be
    Code:
    pbRegisterPartner(:POKEMONTRAINER_RIVALF,"Dawn",3)
     
    According to the error you are missing the front sprite of the pokemon. The front sprite must be present in Graphics/Battlers/XXX, where XXX is the pokemon's dex number. You also need a bac sprite named XXXb, a shiny front sprite named XXXs and a shiny backsprite names XXXsb.

    Regards,
    Admin
    O365CloudExperts
     
    Back
    Top