version=2 @pokemon.cry()>) @battle.Setvar(hiddenabilitychance,100) :if:)>=S @battle.wild()>,)>,1) :else @battle.wild()>,)>,0) :endif @register.registertime(grottoempty,,hours) @register.unregister(grottopokemon,int) @register.unregister(grottoshiny,str) @register.unregister(grottoactive,str) @register.unregister(grottolevel,int) @npc.remove(0) :end