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

31 lines
2.0 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(PokéManiac Brent*Receiving call.......,500,5,5,phone,phone\028)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_028)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_028_time)>=false
:if:<environment.dayinformation>=monday,morning
@storage.set(int,message,1)
@Register.register(phone_reg_028)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_028)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*I am kinda sad~right now.*I haven't seen~any rare~Pokémon recently.*Maybe you have?*If you do come~show me please.*Hope to see~you soon.*Bye.)
:when:1
@Text.Show(Hello, <player.name>.*Have you found~any more rare Pokémon?*I want to see them.*Let's battle again!*I will be waiting~on Route 43.)
:endwhen
:end