P3D-Legacy/P3D/Content/Data/Scripts/trainer/route43/002.dat

48 lines
1.8 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_027)>=true
:then
@Text.Show(Have you been to the~Lake of Rage yet?)
@Register.unregister(phone_reg_027)
@Register.registertime(phone_reg_time_027,1,day)
:if:<player.badges>>3
:then
:if:<register.registered(rematch_027_1)>=true
:then
@battle.trainer(route43\002_2)
:else
@register.register(rematch_027_1)
@battle.trainer(route43\002_1)
:endif
:else
@battle.trainer(route43\002)
:endif
:else
@battle.starttrainer(route43\002)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_027)>=false
:then
@Text.Show(Can you visit the~Lake of Rage for me and~tell me a bit about it?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Tiffany's number.)
@Register.register(phone_contact_027)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end