• 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!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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

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:
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
 
Its pretty obvious if you read the instructions in the
EliteBattle_Battle script....
 
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!
 
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.
 
Is there already a way implemented to change the foe's hp box graphic
in the next gen ui?
 
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:
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...
 
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
 
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

This isn't an issue with the EBS, but with Essentials v16.2

Someone else could link you to a solution. I'm too lazy to look right now.
 
Trainer Script Bug ?

[PokeCommunity.com] Elite Battle 2015: Gen 5 battle skin
 
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