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

30 lines
2.1 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Ace Trainer Beth*Receiving call.......,500,5,5,phone,phone\039)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_039)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_039_time)>=false
:if:<environment.dayinformation>=friday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_039)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_039)
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(<player.name>, hi!~This is Beth.~Do you have some time?*Do you remember my sweet Rapidash?*Rapidash runs very fast.*It's exhilarating to ride~on its back when it really~gets going.*OK, bye-bye!)
:when:1
@Text.Show(<player.name>, hi!~This is Beth.~Do you have some time?*Do you want to battle?~I'm going to win this time!*I'll be waiting for you~around Route 26.*Look for me, OK?)
:endwhen
:end