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

32 lines
2.1 KiB
Plaintext

version=2
:if:<system.scripttrigger>=phonereceiving
@text.notification(Pokéfan Derek*Receiving call.......,500,5,5,phone,phone\025)
:end
:endif
@storage.set(int,message,0)
:if:<register.registered(phone_reg_025)>=true
@storage.set(int,message,1)
:else
:if:<register.registered(phone_reg_025_time)>=false
:select:<system.random(0,4)>
:when:0
@storage.set(int,message,2)
@Register.register(phone_reg_025)
@Register.register(phone_reg_025_2)
:when:1,2
@storage.set(int,message,1)
@Register.register(phone_reg_025)
:endwhen
:endif
:endif
:select:<storage.get(int,message)>
:when:0
@Text.Show(Hello, <player.name>.*How are you?*My Pikachu is as~adorable as ever.*Maybe you should~come and see it again.*Well, talk to~you later.)
:when:1
@Text.Show(Hey, <player.name>,~I trained my precious~Pikachu and now it's ready~to battle.*If you want to~I will be waiting~on Route 39.)
:when:2
@text.show(I'd like you to have~a nugget.*My Pikachu just loves it.~I'm certain your Pikachu~will love it too!)
:endwhen
:end