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

30 lines
1.8 KiB
Plaintext

version=2
:if:<phone.callflag>=receiving
@text.notification(Youngster Joey*Receiving call.......,500,5,5,phone,phone\003)
:end
:endif
@storage.set(int,message,0)
: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 Ratatta is top~percentage.*Let's battle again.~I am still here, on~Route 30.)
:endwhen
:end