P3D-Legacy/P3D/Content/Data/Scripts/phone/014.dat

30 lines
2.0 KiB
Plaintext

version=2
:if:<phone.callflag>=receiving
@text.notification(Bug Catcher Arnie*Receiving call.......,500,5,5,phone,phone\014)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_014)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_014_time)>=false
:if:<environment.dayinformation>=tuesday,morning
@storage.set(int,message,1)
@Register.register(phone_reg_014)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_014)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*I heard the~bug catching contest~might happen soon.*I caught my~Venonat during a~competition before.*Maybe I will find~another partner~in the next one.*Talk to you later.)
:when:1
@Text.Show(Hello <player.name>!*My Venonat and I~have been training.~Want to battle again?*I will be waiting~on Route 35.)
:endwhen
:end