31 lines
1.8 KiB
Plaintext
31 lines
1.8 KiB
Plaintext
version=2
|
|
:if:<system.scripttrigger>=phonereceiving
|
|
@text.notification(School Kid Jack*Receiving call.......,500,5,5,phone,phone\019)
|
|
:end
|
|
:endif
|
|
|
|
@storage.set(int,message,0)
|
|
:if:<register.registered(phone_reg_019)>=true
|
|
@storage.set(int,message,1)
|
|
:else
|
|
:if:<register.registered(phone_reg_019_time)>=false
|
|
:if:<environment.dayinformation>=monday,morning
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_019)
|
|
:else
|
|
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_019)
|
|
:endif
|
|
:endif
|
|
:endif
|
|
:endif
|
|
|
|
:select:<storage.get(int,message)>
|
|
:when:0
|
|
@Text.Show(Oh, hey <player.name>.*I am busy studying~right now.*I will call you~back later.)
|
|
:when:1
|
|
@Text.Show(Hello, <player.name>.*I have been studying~very hard.*Want to battle again?*I will be waiting~at the National Park.)
|
|
:endwhen
|
|
:end
|