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

48 lines
1.8 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_015)>=true
:then
@Text.Show(I practiced more and~now my Pokémon are~stronger!)
@Register.unregister(phone_reg_015)
@Register.registertime(phone_reg_time_015,1,day)
:if:<player.badges>>2
:then
:if:<register.registered(rematch_015_1)>=true
:then
@battle.trainer(route35\005_2)
:else
@register.register(rematch_015_1)
@battle.trainer(route35\005_1)
:endif
:else
@battle.trainer(route35\005)
:endif
:else
@battle.starttrainer(route35\005)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_015)>=false
:then
@Text.Show(Let's battle again sometime,~what do you think?)
@Options.Show(Yes,No)
:when:Yes
@sound.play(Receive_PhoneNumber,1)
@Text.Show(<player.name> registered~Walt's number.)
@Register.register(phone_contact_015)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end