• 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?".
  • 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 'PokeBattle_Trainer' line 98: NameError Occured

Status
Not open for further replies.
1
Posts
14
Years
    • Seen Dec 20, 2009
    I just spent a very long time creating a game in RPG Maker XP with the latest Pokemon Essentials pack, but when I tried to play it, I got a message saying

    "Script: 'PokeBattle_Trainer' line 98: NameError Occured
    uninitialized constant PokeBattle_Trainer:: PBSpecies"

    and then the game crashes.

    How do I fix this problem?
     
    2,048
    Posts
    16
    Years
    • Seen Sep 7, 2023
    You need to compile the data first, I believe. Hold Ctrl while starting the game in playtest mode.
     
    Status
    Not open for further replies.
    Back
    Top