35 lines
2.2 KiB
Plaintext
35 lines
2.2 KiB
Plaintext
version=2
|
|
:if:<system.scripttrigger>=phonereceiving
|
|
@text.notification(Youngster Joey*Receiving call.......,500,5,5,phone,phone\003)
|
|
:end
|
|
:endif
|
|
|
|
@storage.set(int,message,0)
|
|
@storage.set(str,topp,Ratatta)
|
|
:if:<register.registered(rematch_003_1)>=true <and> <player.badges>>4
|
|
@storage.set(str,topp,Raticate)
|
|
:endif
|
|
|
|
:if:<register.registered(phone_reg_003)>=true
|
|
@storage.set(int,message,1)
|
|
:else
|
|
:if:<register.registered(phone_reg_003_time)>=false
|
|
:if:<environment.dayinformation>=monday,evening
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_003)
|
|
:else
|
|
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
|
|
@storage.set(int,message,1)
|
|
@Register.register(phone_reg_003)
|
|
:endif
|
|
:endif
|
|
:endif
|
|
:endif
|
|
|
|
:select:<storage.get(int,message)>
|
|
:when:0
|
|
@Text.Show(Hey, <player.name>!*I just caught a new~Pokémon on Route 30.*Let's battle again~sometime soon.)
|
|
:when:1
|
|
@Text.Show(Hey, <player.name>!*I am waiting for~you, <player.name>.*My <storage.get(str,topp)> is top~percentage.*Let's battle again.~I am still here, on~Route 30.)
|
|
:endwhen
|
|
:end |