P3D-Legacy/P3D/Content/Data/Scripts/embtower/zekms.dat

14 lines
918 B
Plaintext

version=2
:if:<register.registered(shinyzekrom)>=false
@register.register(shinyzekrom,bool,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
@register.change(shinyzekrom,true)
:endif
:endif
:if:<register.value(shinyzekrom)>=true
@npc.wearskin(0,[POKEMON|S]644)
:endif
:if:<register.registered(zekready)>=false <or> <register.registered(battlezekrom)>=true
@player.warp(routes\route47\embtower\main.dat)
:endif
:end