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

42 lines
2.6 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Picnicker Gina*Receiving call.......,500,5,5,phone,phone\009)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_009)>=true
@storage.set(int,message,1)
:if:<register.registered(phone_reg_009_2)>=true
@storage.set(int,message,2)
:endif
:else
:if:<register.registered(phone_reg_009_time)>=false
:if:<system.random(0,2)>=0
@storage.set(int,message,2)
@Register.register(phone_reg_009)
@Register.register(phone_reg_009_2)
:else
:if:<environment.dayinformation>=sunday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_009)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_009)
:endif
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hi there, <player.name>!*There are fabulous Pokémon~here on Route 34.*They are worth a visit.)
:when:1
@Text.Show(Hey <player.name>!*I want to tell you~something.*Let's meet on Route 34.)
:when:2
@text.show(<player.name>? It's Gina.~Got time to chat?*I picked up something~nice today.*I want you to have it,~so I called!*You will come for it,~won't you?*Route 34 is where I am.)
:endwhen
:end