• 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!
  • 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.

Script 'Scene_Intro' line 78: NameError occurred.

  • 4
    Posts
    10
    Years
    • Seen Aug 21, 2014
    HI guys! So I'm venturing into creating a game of Pokemon. I have all the equipment: fantasy (much), rpg xp and pokemon essentials. Now, the problem:
    I do not know how it happened, but after several changes, I tried to start the test of the game and I went out this inscription:
     
    "Script 'Scene_Intro' line 78: NameError occurred.
     
    uninitialized constant IntroEventScene :: PBSpecies "
    Please, help!
     
    What did you changed exactly? Did you changed something in the compiler section, around line 2412?
    Try to comment line 78 in Scene_Intro section, by putting # at its beginning, and see what happens next. If it works, try battling some pokemon.
     
    What did you changed exactly? Did you changed something in the compiler section, around line 2412?
    Try to comment line 78 in Scene_Intro section, by putting # at its beginning, and see what happens next. If it works, try battling some pokemon.

    Therefore, the only things I changed are the maps (I have created new ones) and of course I added the events.
    scripts I do not ever touch them.
    I will try as you suggested.
     
    Therefore, the only things I changed are the maps (I have created new ones) and of course I added the events.
    scripts I do not ever touch them.
    I will try as you suggested.

    hello. I tried to do as you suggested, but it does not work ...
     
    Does it give the error when you chose new game? If that's the case then make sure the Prof. Oak(intro event) is set to autorun and not parallel process.

    If not, then you probably changed something that broke the script.
     
    In the Intro script there should be a command called "Play BGM: 'begin', 100, 100". Did you changed it? If yes, try to set it as default.
     
    I am sure that the problem must be at random. I'll explain: having several backup of the project, I noticed that the problem comes and goes at different times, in the sense that it is not due to something that I edit.
     
    What you did must be skipped the compiling part at the start of debug mode, never do that it might corrupt your whole data, let it compile all the lines and maps, and this might avoid the error in future.
     
    i am havinjg the same problem too when i added a trainer

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Script 'Scene_Intro' line 78: NameError occurred.

    uninitialized constant IntroEventScene::PBSpecies
    ---------------------------
    OK
    ---------------------------
     
    Found The Problem... I was also getting that error
    You're all missing this script:
    PBSpecies
    Here it is:
    Spoiler:
     
    It didn't for me...
    I'm also missing PBMoves

    Try doing the same on a clean-copy of Essentials 17.2. You must have changed someting on your compiler script section. If it is that case, please give us your code of Compler section so that we can help you any further.
     
    I didn't touch the compiler... I even copied the original scripts.rxdata file from Essentials v17.2...
    Pls help
    Then it must be the PBS files. Try replacing them with the original (But in the original ones you must copy your changes, this time without any errors) and tell us how it went. We can't help you otherwise if it it that case you mentioned.
     
    Back
    Top