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

42 lines
2.7 KiB
Plaintext

version=2
:if:<phone.callflag>=receiving
@text.notification(School Kid Alan*Receiving call.......,500,5,5,phone,phone\020)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_020)>=true
@storage.set(int,message,1)
:if:<register.registered(phone_reg_020_2)>=true
@storage.set(int,message,2)
:endif
:else
:if:<register.registered(phone_reg_020_time)>=false
:if:<system.random(0,2)>=0
@storage.set(int,message,2)
@Register.register(phone_reg_020)
@Register.register(phone_reg_020_2)
:else
:if:<environment.dayinformation>=wednesday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_020)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_020)
:endif
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hey, <player.name>.*You want to battle?*I have a lot of~homework right now.*Maybe some~other time.*Talk to you later.)
:when:1
@Text.Show(Hello, <player.name>.*I don't have any~homework right now.*So I searched on the ground~and found a Fire Stone.*I would give it to you!~I am waiting on Route 36.)
:when:2
@text.show(Hello! It's me, Alan!*Hehehe, I picked up~something nice!*You can have it!~Why don't you come to~Route 36 and pick it up?)
:endwhen
:end