P3D-Legacy/P3D/Content/Data/Scripts/unioncave/Friday2.dat

18 lines
1.1 KiB
Plaintext

version=2
:if:<environment.day>=Friday <and> <register.registered(Friday_Lapras_Weekly)>=False
@player.Move(0)
@NPC.Warp(0,12,-0.24,30)
@pokemon.cry(131)
:if:<register.registered(shinylaprasUCcheck)>=false
@register.registertime(shinylaprasUCcheck,day,1)
@register.register(shinylaprasUC,bool,false)
@register.change(shinylaprasUC,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
@register.change(shinylaprasUC,true)
:endif
:endif
:if:<register.value(shinylaprasUC)>=true
@npc.wearskin(0,[POKEMON|S]131)
:endif
:endif
:end