P3D-Legacy/P3D/Content/Data/Scripts/powerplant/leave.dat

17 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>Version=2
:if:<register.registered(elmcallplant)>=False <and> <register.registered(powerplanton)>=True
2023-07-30 06:32:52 +02:00
@player.move(0)
2024-03-03 10:09:14 +01:00
@text.notification(Prof. Elm~Receiving call.......,250,5,5,phone,phone\events\elm_kanto_radio,1)
2016-09-07 18:50:38 +02:00
:endif
2021-10-09 06:48:40 +02:00
:if:<register.registered(battlezapdos)>=false <and> <register.registered(earthbadge_obtain)>=true <and> <player.position(x)><20
:if:<register.registered(shinyzapdos)>=false
@register.register(shinyzapdos,bool,false)
:if:<system.random(1,<math.floor(<pokemon.mastershinyrate>/2)>)>=1
2022-08-25 08:12:33 +02:00
@register.change(shinyzapdos,true)
2021-10-09 06:48:40 +02:00
:endif
:endif
:if:<register.value(shinyzapdos)>=true
@npc.wearskin(3,[POKEMON|S]145)
:endif
:endif
2016-09-07 18:50:38 +02:00
:end