30 lines
1.9 KiB
Plaintext
30 lines
1.9 KiB
Plaintext
version=2
|
|
:if:<system.scripttrigger>=phonereceiving
|
|
@text.notification(Youngster Ian*Receiving call.......,500,5,5,phone,phone\011)
|
|
:end
|
|
:endif
|
|
|
|
@storage.set(int,message,0)
|
|
:if:<register.registered(phone_reg_011)>=true
|
|
@storage.set(int,message,1)
|
|
:else
|
|
:if:<register.registered(phone_reg_011_time)>=false
|
|
:if:<environment.dayinformation>=saturday,morning
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_011)
|
|
:else
|
|
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_011)
|
|
:endif
|
|
:endif
|
|
:endif
|
|
:endif
|
|
|
|
:select:<storage.get(int,message)>
|
|
:when:0
|
|
@Text.Show(Hey, <player.name>.*How are you?*I am still working on~becoming a gym leader.*Maybe we could battle~again sometime.*Well, talk to~you later.)
|
|
:when:1
|
|
@Text.Show(Erm~Hello, <player.name>.*I....uh...~was wondering if you~would like to~battle again.*I will be waiting~on Route 34.)
|
|
:endwhen
|
|
:end |