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.

Draconius GO
Thread Tools
Old March 10th, 2013 (4:36 PM).
joey645 joey645 is offline
    Join Date: Mar 2013
    Posts: 11
    Alright so everything was going well! I was able to create a trainer type with no problems at all and set the BGM and what ever.

    Then moved onto making a new trainer. Seemed simple, I was able to pick a trainer type, put in his name, pick a pokemon for his line up, then pick his level.

    How ever, after I pick the pokemon's level, I get this error Anyone know what the problem is?

    I am using the editor to make the trainer! :3

    Pokemon Essentials
    Exception: NoMethodError

    Message: undefined method `[]' for nil:NilClass

    PokeBattle_Pokemon:729:in `initialize'

    PokemonTrainers:102:in `new'

    PokemonTrainers:102:in `pbNewTrainer'

    PokemonTrainers:88:in `loop'

    PokemonTrainers:111:in `pbNewTrainer'

    PokemonTrainers:80:in `each'

    PokemonTrainers:80:in `pbNewTrainer'

    PokemonEditor:3696:in `pbTrainerBattleEditor'

    PokemonEditor:3653:in `pbListScreenBlock'

    PokemonEditor:1572:in `loop'

    This exception was logged in

    C:\Users\Joe\Saved Games/Pokemon United/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    Reply With Quote

    Relevant Advertising!

    Old March 10th, 2013 (5:05 PM).
    Rayd12smitty's Avatar
    Rayd12smitty Rayd12smitty is offline
    Shadow Maker
      Join Date: Dec 2011
      Gender: Male
      Posts: 647
      Try editing the PBS file instead of using the editor. The editor doesn't work right now
      Reply With Quote
      Old March 10th, 2013 (5:07 PM). Edited March 10th, 2013 by joey645.
      joey645 joey645 is offline
        Join Date: Mar 2013
        Posts: 11
        Solved! Took me quite some time frantically searching for a solution but I finally fixed it! Apparently just a simple error in the scripts in v11

        For others having the problem, here's how you solve it:

        Copy this line: @obtainMode=4 if $game_switches && $game_switches[32]

        Paste it on line 729 in the script PokeBattle_Pokemon and it should fix itself :3

        Originally Posted by Rayd12smitty View Post
        Try editing the PBS file instead of using the editor. The editor doesn't work right now
        Yep yep I was about to start doing that but I was determined to do a bit of bug fixing Not only helps other people and make it easier, but debugging for the creation kit in general for future releases :D
        Reply With Quote
        Old March 24th, 2013 (4:06 PM).
        Lord Varion's Avatar
        Lord Varion Lord Varion is offline
        Guess who's back?
          Join Date: Feb 2009
          Age: 23
          Gender: Other
          Nature: Naughty
          Posts: 2,644
          I'm trying to add a New trainer in Essentials v11.

          I keep getting this message

          whenever I finished deciding the level of the first Pokemon.

          What do?

          I've tried replacing all the files as well.
          Reply With Quote
          Old March 24th, 2013 (5:01 PM).
          Whitney's Shaymin's Avatar
          Whitney's Shaymin Whitney's Shaymin is offline
          Creator Of Pokemon Grace
          • Silver Tier
          Join Date: Apr 2012
          Location: Goldenrod, Johto
          Gender: Male
          Nature: Timid
          Posts: 600
          Edit the pbs file itself then compile data. It should work that way.

          "The Incredibly Pretty Girl"

          Gym Leader Whitney
          link | link | link

          FC: 4699-7156-4669 IGN: Gavin
          Reply With Quote

          Quick Reply

          Join the conversation!

          Create an account to post a reply in this thread, participate in other discussions, and more!

          Create a PokéCommunity Account

          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 1:10 PM.