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

42 lines
2.7 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Fisherman Tully*Receiving call.......,500,5,5,phone,phone\026)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_026)>=true
@storage.set(int,message,1)
:if:<register.registered(phone_reg_026_2)>=true
@storage.set(int,message,2)
:endif
:else
:if:<register.registered(phone_reg_026_time)>=false
:if:<system.random(0,2)>=0
@storage.set(int,message,2)
@Register.register(phone_reg_026)
@Register.register(phone_reg_026_2)
:else
:if:<environment.dayinformation>=sunday,evening
@storage.set(int,message,1)
@Register.register(phone_reg_026)
:else
:if:<phone.callflag>=calling <or> <system.random(0,2)>>0
@storage.set(int,message,1)
@Register.register(phone_reg_026)
:endif
:endif
:endif
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Yo, <player.name>.*I have been~having trouble~finding any Pokémon.*Maybe I need to~try another spot.*Well, I will~see you later.*Bye.)
:when:1
@Text.Show(Hello! Tully here... What a perfect day for fishing! We should get a battle going! I'll be fishing on Route 42 Swing by if you have the time.)
:when:2
@Text.Show(Yo, <player.name>.*I found this item~while I was fishing.*If you want it~I will be waiting~on Route 42.)
:endwhen
:end