Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Battle Sprite Error

Notices
For all updates, view the main page.

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.



Closed Thread
 
Thread Tools
  #1    
Old April 30th, 2012 (01:23 AM).
Shinypoliwrath's Avatar
Shinypoliwrath
RMXP Noob
 
Join Date: Jul 2011
Gender: Male
Bumping since my error got ignored last time, could really use a fix for it.
I've been experimenting with adding in new Pokémon (to the PBS as well as adding the sprites in), but I keep getting this error when I go to change poistion of the sprites in the editor.
Quote:
Exception: NoMethodError
Message: undefined method `width' for nil:NilClass
PokemonSpritePos:62:in `refresh'
PokemonSpritePos:181:in `pbSpecies'
PokemonSpritePos:174:in `loop'
PokemonSpritePos:194:in `pbSpecies'
PokemonSpritePos:300:in `pbStart'
PokemonSpritePos:299:in `loop'
PokemonSpritePos:307:in `pbStart'
EditorMain:236:in `pbEditorMenu'
EditorMain:234:in `pbFadeOutIn'
EditorMain:234:in `pbEditorMenu
Then the editor closes completely.

Because of this, no pokémon will show up at all during the battles, trainers and battle animations still appear, however.

Here's an image to show you exactly what I mean.
  #2    
Old September 23rd, 2012 (07:29 PM).
yeshi160
Unhatched Egg
 
Join Date: Jul 2008
Gender:
From a complete programming standpoint in the method that distributes width is undifined, as you can clearly read, what this means, I'm not sure as I don't know how this editor works, or what language it's in, but I'm ASSUMING it's a type of method that either needs to or should return a value, and it's undifined because it's not getting the number/answer to output anything, so it will crash. If you show me the code for the method 'width' I could likely pinpoint your problem, potentially anyways. I cannot be certain. This is only wisdom I give with 4-5 years of experience in Java, and Visual Basic, so you can't 100% Rely on what I'm saying it's just my best guess.
__________________


Please warm my eggs, If you warm mine I will warm yours!
  #3    
Old September 24th, 2012 (05:44 AM).
Cilerba
the hearts of lonely people
Community Supporter
 
Join Date: Feb 2010
Location: Massachusetts
Age: 18
Gender: Male
Nature: Quiet
This thread is over 2 months old. Please take a look at the forum rules before posting so this doesn't happen again.
__________________
Closed Thread
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 UTC -8. The time now is 04:57 AM.