P3D-Legacy/P3D/Content/Data/Scripts/whirlislands/lugiawarp1.dat

15 lines
960 B
Plaintext

version=2
:if:<register.registered(battlelugia)>=False <and> <inventory.countitem(71)>>0
:if:<register.registered(shinylugia)>=false <and> <player.position(y)>>12
@register.register(shinylugia,bool,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
@register.change(shinylugia,true)
:endif
:endif
:if:<register.value(shinylugia)>=true
@npc.wearskin(0,[POKEMON|S]249)
:endif
@npc.warp(0,3,0.5,-1)
@pokemon.cry(249)
:endif
:end