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

49 lines
1.8 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_028)>=true
:then
@Text.Show(I want a rematch!)
@Register.unregister(phone_reg_028)
@Register.registertime(phone_reg_time_028,1,day)
:if:<player.badges>>6
:then
:if:<register.registered(rematch_028_1)>=true
:then
@battle.trainer(route43\004_2)
:else
@register.register(rematch_028_1)
@battle.trainer(route43\004_1)
:endif
:else
@battle.trainer(route43\004)
:endif
:else
@battle.starttrainer(route43\004)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_028)>=false
:then
@Text.Show(Are you going to catch~more rare Pokémon?*Please call when you~find one, OK?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Brent's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_028)
@Text.Show(I'd be happy just~to own a single~rare Pokémon.)
:when:No
:endwhen
:endif
:endif
:endif
:end