The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
5th Gen Pokémon Error

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Reply
 
Thread Tools
  #1    
Old January 1st, 2013 (9:46 AM).
nuzamaki90's Avatar
nuzamaki90 nuzamaki90 is offline
Knight of The Volt
     
    Join Date: Feb 2008
    Location: North Carolina
    Age: 23
    Gender: Male
    Nature: Relaxed
    Posts: 98
    I updated my game from Essentials 9 to 11 and whenever I try to battle any 5th Gen Pokemon, I get this error....

    Exception: RuntimeError
    Message: Script error within event 5, map 8 (Route 1 (New)):
    Exception: ArgumentError
    Message: Section065:649:in `__mf_initialize'The species number (no. 501 of 493) is invalid.
    ***Full script:
    pbTrainerBattle(17,"Kaito","Dang, you're good.",false,0,false)
    Interpreter:243:in `pbExecuteScript'
    PokemonMultipleForms:83:in `initialize'
    PokemonTrainers:24:in `new'
    PokemonTrainers:24:in `pbLoadTrainer'
    PokemonTrainers:21:in `each'
    PokemonTrainers:21:in `pbLoadTrainer'
    PokemonTrainersin `each'
    PokemonTrainersin `pbLoadTrainer'
    PokemonTrainers:316:in `pbTrainerBattle'
    (eval)in `pbExecuteScript'

    Interpreter:276:in `pbExecuteScript'
    Interpreter:788:in `command_111'
    Interpreter:320: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'
    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 1st, 2013 (4:56 PM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,173
      Let us know when you decide to fully compile your game.
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #3    
      Old January 2nd, 2013 (2:44 PM).
      nuzamaki90's Avatar
      nuzamaki90 nuzamaki90 is offline
      Knight of The Volt
         
        Join Date: Feb 2008
        Location: North Carolina
        Age: 23
        Gender: Male
        Nature: Relaxed
        Posts: 98
        I could do without the sarcasm, thanks.

        Even when I did compile my game, it still came up, so I had to end up changing a few things in my PBS folder.

        And, once I did, it started to work, but another problem came up:

        ---------------------------
        Pokemon Essentials
        ---------------------------
        Exception: RuntimeError

        Message: Script error within event 5, map 8 (Route 1 (New)):

        Exception: NameError

        Message: Section082:669:in `pbBattleAnimation'undefined local variable or method `trainerid' for #<Interpreter:0x7d6a0f8>

        ***Full script:

        pbTrainerBattle(17,"Kaito","Dang, you're good.",false,0,false)

        Interpreter:243:in `pbExecuteScript'

        PokemonTrainers:406:in `pbTrainerBattle'

        (eval)in `pbExecuteScript'

        Interpreter:788:in `eval'

        Interpreter:243:in `pbExecuteScript'

        Interpreter:788:in `command_111'

        Interpreter:320:in `execute_command'

        Interpreter:193:in `update'

        Interpreter:106:in `loop'

        Interpreter:198:in `update'



        Interpreter:276:in `pbExecuteScript'

        Interpreter:788:in `command_111'

        Interpreter:320: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'



        This exception was logged in

        C:\Users\Nuzamaki90\Saved Games/Pokemon Essentials/errorlog.txt.

        Press Ctrl+C to copy this message to the clipboard.
        ---------------------------
        OK
        ---------------------------
        Reply With Quote
          #4    
        Old January 2nd, 2013 (2:59 PM).
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,173
          There are huge unknown factors here, which make it hard for me to give you the answers you want. You've edited Essentials (you're making a game), and you've "upgraded" it - odds are you've tried to patch up your game rather than transfer your changes into the latest version as recommended.

          The answers I provide work for Essentials. Any problems are caused by what you've been doing to it. You've most likely missed some of the code changes I've made since v9, which your error message does suggest.

          In PokemonTrainers, line 406 should read:

          Code:
          pbBattleAnimation(trainerbgm,trainer[0].trainertype,trainer[0].name) {
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
          Reply
          Quick Reply

          Sponsored Links
          Thread Tools

          Posting Rules
          You may not post new threads
          You may not post replies
          You may not post attachments
          You may not edit your posts

          BB code is On
          Smilies are On
          [IMG] code is On
          HTML code is Off

          Forum Jump


          All times are GMT -8. The time now is 3:53 AM.