View Single Post
Old January 9th, 2013 (9:41 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Join Date: Jan 2008
Location: England
Posts: 5,171
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.
Go to the Pokémon Essentials Wiki

| Downloads | Tutorials | Fangames |
| All Animations Project |

Follow me on Twitter: @maruno42

Reply With Quote