View Single Post
  #6    
Old January 9th, 2013 (10:30 AM).
TACHAN
 
Join Date: Jan 2010
Gender: Female
Quote originally posted by Maruno:
Really really. The Editor crashes because $game_switches hasn't been defined, yet that code is behaving as if does.

The actual fix is to use if $game_switches && $game_switches[32] there instead, but I went for brevity. It can be deleted in the Editor's scripts without worry, although this "actual" fix allows that script section to be identical in both the game and the Editor, which is convenient.
It continues without working

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

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

PokeBattle_Pokemon:729:in `initialize'

PokemonSpritePos #####:141:in `new'

PokemonSpritePos #####:141:in `pbChangeSpecies'

PokemonSpritePos #####:176:in `pbSpecies'

PokemonSpritePos #####:170:in `loop'

PokemonSpritePos #####:190:in `pbSpecies'

PokemonSpritePos #####:278:in `pbStart'

PokemonSpritePos #####:277:in `loop'

PokemonSpritePos #####:285:in `pbStart'

EditorMain #####:252:in `pbEditorMenu'

This exception was logged in ./errorlog.txt.
Reply With Quote