• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Error] V18.1 Nomethod Error and invisible Player Character.

  • 7
    Posts
    4
    Years
    • Seen Feb 5, 2023
    Hi again dear pokemoncomers, i imported a map pack in my Pokemon Essentials. Now when i make a starting point in this new map the player Character is invisible and when i press
    an arrow button to move the game crashes with the following message:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    [Pokémon Essentials version 18.1]

    Exception: NoMethodError

    Message: undefined method `ablePokemonCount' for nil:NilClass



    Backtrace:

    PField_Field:380:in `pbBattleOnStepTaken'

    PField_Field:376

    PField_Field:374:in `call'

    Event_Handlers:51:in `trigger'

    Event_Handlers:46:in `each'

    Event_Handlers:46:in `trigger'

    Game_Player:135:in `turnGeneric'

    Game_Character:707:in `turn_up'

    Game_Player:403:in `update_command_new'

    Game_Character:795:in `update_command'



    This exception was logged in

    C:\Users\USERNAME\Saved Games\Pokemon Essentials\errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    I am pretty new in this things and i want to learn :) Thanks for your help and attention
     
    Add an autorun event on the map with your starting point. Add these lines into it and create a second page with nothing in it that's active with self switch A turned on.
    Code:
    pbChangePlayer(0)
    pbTrainerName("Red")
    ControlSelfSwitch: A=ON
     
    Ok, thanks. I am a total noob. i can not find "pbChangePlayer" in the events list. maybe in a script? and i can not paste the text in the event.
     
    Okay i figured it out. The 2 first lines in a script and the control self switch from the list. many thanks. i understand now :)
     
    Okay i figured it out. The 2 first lines in a script and the control self switch from the list. many thanks. i understand now :)
    Don't worry about it, should've had explained it better. :)
     
    Back
    Top