• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • 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.

helpp!! I can't figure out this error message!

  • 90
    Posts
    15
    Years
    • Seen Nov 24, 2023
    okay, so I made a fakemon and when I try to pick it up in the lab or even in debug mode, this is what happens:

    Exception: RuntimeError
    Message: Script error within event 5, map 125 (Pokemon Lab):
    Exception: NoMethodError
    Message: Section138:1250:in `pbSeenForm'undefined method `[]=' for nil:NilClass
    ***Full script:
    pbAddPokemon(PBSpecies::CHRUMI,5)

    Interpreter:243:in `pbExecuteScript'
    PokemonUtilities:1249:in `each'
    PokemonUtilities:1249:in `pbSeenForm'
    PokemonUtilities:1221:in `pbAddPokemon'
    (eval):1:in `pbExecuteScript'
    Interpreter:1599:in `eval'
    Interpreter:243:in `pbExecuteScript'
    Interpreter:1599:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'

    Interpreter:276:in `pbExecuteScript'
    Interpreter:1599: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'

    but when I picked up another fakemon everything was fine. what could be wrong?!
     
    It looks like there is something wrong with either your script call in event 5 of map 125 (which I presume is where your fakemon is picked up) or with your entry in pokemon.txt. Providing a screenshot of the event (specifically the part where you call the script) as well as the entry in pokemon.txt might help solve the problem). If you don't want to publicly post the information then pm it to me in the next couple of days and I'll take a look.
     
    pbAddPokemon(PBSpecies::CHRUMI,5)

    CHRUMI

    check your work. Computers don't double check for you.
     
    Back
    Top