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

14 lines
940 B
Plaintext

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