P3D-Legacy/P3D/Content/Data/Scripts/mtember/eruptionemblemcheck.dat

22 lines
1.1 KiB
Plaintext

version=2
:if:<register.registered(volcanionbattle)>=True
:if:<register.registered(achievederuption)>=False
@player.achieveemblem(eruption)
@register.register(achievederuption)
:endif
:else
:if:<register.registered(shinyvolcanion)>=false
@register.register(shinyvolcanion,bool,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
@register.change(shinyvolcanion,true)
:endif
:endif
:if:<register.value(shinyvolcanion)>=true
@npc.wearskin(1,[POKEMON|S]721)
:endif
:endif
:end