P3D-Legacy/P3D/Content/Data/Scripts/hiddengrotto/pokemon.dat

16 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
@pokemon.cry(<register.value(grottopokemon<level.filename>)>)
@battle.Setvar(hiddenabilitychance,100)
:if:<register.value(grottoshiny<level.filename>)>=S
@battle.wild(<register.value(grottopokemon<level.filename>)>,<register.value(grottolevel<level.filename>)>,1)
:else
@battle.wild(<register.value(grottopokemon<level.filename>)>,<register.value(grottolevel<level.filename>)>,0)
:endif
@register.registertime(grottoempty<level.filename>,<system.random(24,72)>,hours)
@register.unregister(grottopokemon<level.filename>,int)
@register.unregister(grottoshiny<level.filename>,str)
@register.unregister(grottoactive<level.filename>,str)
@register.unregister(grottolevel<level.filename>,int)
@npc.remove(0)
:end