15 lines
974 B
Plaintext
15 lines
974 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.register(shinylugia,bool,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 |