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

Elite Battle 2015: Gen 5 battle skin

28
Posts
7
Years
  • Every time I catch a Pokemon and then try to open the Pokegear (in the pause menu)
    I get this error:

    Script '#4 UI' line 2152: NoMethodError occured.

    undefined method `disposed?' for nil:NilClass

    Any suggestions? I am on Pokemon Essentials v16.2 and have not edited the Pokegear script. I also followed the instructions to what you said and have looked everywhere to find the answer for this but have no clue. Thanks!

    (Should've added this the first time, sorry)

    def disposed?; return @sprites["layer1"].disposed?; end
    def dispose
    pbDisposeSpriteHash(@sprites)
    end

    Those are lines 2152-2155.
     
    Last edited:
    1
    Posts
    7
    Years
    • Seen Aug 28, 2016
    Exception: RuntimeError
    Message: Script error within event 1, map 1 ():
    Exception: NoMethodError
    Message: Section053:1239:in `pbStartScene'undefined method `width' for nil:NilClass
    ***Full script:
    pbTrainerName

    Interpreter:243:in `pbExecuteScript'
    TextEntry:1590:in `pbStartScreen'
    TextEntry:1611:in `pbEnterText'
    TextEntry:1608:in `pbFadeOutIn'
    TextEntry:1608:in `pbEnterText'
    TextEntry:1618:in `pbEnterPlayerName'
    PSystem_Utilities:566:in `pbTrainerName'
    (eval):1:in `pbExecuteScript'
    Interpreter:1606:in `eval'
    Interpreter:243:in `pbExecuteScript'

    Interpreter:276:in `pbExecuteScript'
    Interpreter:1606:in `command_355'
    Interpreter:494: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'

    Somebody plz help me
     
    79
    Posts
    8
    Years
    • Seen Jan 17, 2017
    Its pretty obvious if you read the instructions in the
    EliteBattle_Battle script....
     
    162
    Posts
    7
    Years
    • Seen yesterday
    Hi.

    First, congratulations on such a good job.

    I have a question. I am testing this system with excellent results, and additionally I am using the BW system and also the modification "Last sent out pokemon BGM" ... (which modifies PokeBattle_Battle script)

    My question is. Once the final Pokemon trainer appears and says a phrase, HUD data with HP and PP Pokemón opponent does not reappear until the end of combat. Is there any way to get it back?

    Hugs!
     

    Luka S.J.

    Jealous Croatian
    1,270
    Posts
    15
    Years
  • I am testing this system with excellent results, and additionally I am using the BW system and also the modification "Last sent out pokemon BGM" ... (which modifies PokeBattle_Battle script)

    My question is. Once the final Pokemon trainer appears and says a phrase, HUD data with HP and PP Pokemón opponent does not reappear until the end of combat. Is there any way to get it back?

    I can't replicate that behaviour, no matter what UI I've set it to. The BGM changing script could be interfering. EBS comes, by default, with the ability to change the BGM when the trainer sends out their last Pokemon. I advise reading the instructions for that.
     
    68
    Posts
    8
    Years
    • Seen Dec 3, 2016
    Is there already a way implemented to change the foe's hp box graphic
    in the next gen ui?
     
    162
    Posts
    7
    Years
    • Seen yesterday
    I can't replicate that behaviour, no matter what UI I've set it to. The BGM changing script could be interfering. EBS comes, by default, with the ability to change the BGM when the trainer sends out their last Pokemon. I advise reading the instructions for that.

    I understand. I tried calling the script the way you point and it worked correctly. But I find no way to call the BGM when the last Pokemon appears. I tried to follow the link to the instructions, but apparently is dead.


    EDIT: Solved!!

    Solved by adding this add on

    if $game_switches[112] and pbPokemonCount(@party2)==1
    pbBGMPlay("GymLastPKMN",100,100)
    end

    After this:

    def pbSendOut(index,pokemon)
    pbSetSeen(pokemon)
    @peer.pbOnEnteringBattle(self,pokemon)
    if pbIsOpposing?(index)
    @scene.pbTrainerSendOut(index,pokemon)

    on PokeBattle_Battle

    Then I manipulated the text from the call script command you gave me. Thank you very much. Great system !!
     
    Last edited:
    68
    Posts
    8
    Years
    • Seen Dec 3, 2016
    Well ebs comes with that.
    In the EliteBattle_Battle script on line 100:
    @cuedbgm=nil
    For example your music you want to be played when the last pokemon appears
    is named "LastPkmn":
    @cuedbgm="LastPkmn"

    Not that it matters anymore...
     
    9
    Posts
    7
    Years
    • Seen Oct 23, 2016
    I also noticed that after a pokemon mega evolves it does not change back any help please? I am using the battle system with gen 6
     
    7
    Posts
    7
    Years
    • Seen Sep 10, 2016
    Trainer Script Bug ?

    a456fec924af04fbcca8e139e9e257b9.png
     
    73
    Posts
    8
    Years
  • Elite Battle Error!

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `disposed?' for nil:NilClass

    EliteBattle_UI:2141:in `disposed?'

    PSystem_Utilities:945:in `pbHideVisibleObjects'

    PSystem_Utilities:944:in `each_object'

    PSystem_Utilities:944:in `pbHideVisibleObjects'

    PSystem_Utilities:991:in `pbLoadRpgxpScene'

    PScreen_PauseMenu:164:in `pbStartPokemonMenu'

    PScreen_PauseMenu:143:in `loop'

    PScreen_PauseMenu:269:in `pbStartPokemonMenu'

    Scene_Map:193:in `call_menu'

    Scene_Map:163:in `update'



    This exception was logged in

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

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

    This error was given to me while I was checking the Pokédex.
    The following things I have tampered with:
    I have added Elite Battle to my game.
    I added a new pokemon....
    I added a dumb placeholder for it.

    How do I fix it?

    Best,
    Mike
     
    Last edited:
    Back
    Top