P3D-Legacy/P3D/Content/Data/Scripts/trainer/route35/008.dat

47 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_014)>=true
:then
@Text.Show(I visited the Bug-Catching~Contest and trained my~Pokémon.)
@Register.unregister(phone_reg_014)
@Register.registertime(phone_reg_time_014,1,day)
:if:<player.badges>>2
:then
:if:<register.registered(rematch_014_1)>=true
:then
@battle.trainer(route35\008_2)
:else
@register.register(rematch_014_1)
@battle.trainer(route35\008_1)
:endif
:else
@battle.trainer(route35\008)
:endif
:else
@battle.starttrainer(route35\008)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_014)>=false
:then
@Text.Show(I will go to the Bug-Catching~Contest and train there.*Let's battle again later?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Arnie's number.)
@Register.register(phone_contact_014)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end