Relic Castle

I copied FL's Game Over script, but I have a small problem with this part:

For this script to work, put it above main script section. After that,
# in PokemonField script section before line
# 'if $PokemonGlobal.pokecenterMapId && $PokemonGlobal.pokecenterMapId>=0' add
# line 'pbLoadRpgxpScene(Scene_Gameover.new) if $game_switches[GAMEOVERSWITCH]'.

I think this was written for an older version of Essentials, because I can't find PokemonField (and there's nothing like this in PField_Field)
Is this script still compatible with current Essentials?
Top