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

49 lines
2.0 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_024)>=true
:then
@Text.Show(I studied more and now~I am ready to battle you!)
@Register.unregister(phone_reg_024)
@Register.registertime(phone_reg_time_024,1,day)
:if:<player.badges>>4
:then
:if:<register.registered(rematch_024_1)>=true
:then
@battle.trainer(route38\005_2)
:else
@register.register(rematch_024_1)
@battle.trainer(route38\005_1)
:endif
:else
@battle.trainer(route38\005)
:endif
:else
@battle.starttrainer(route38\005)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_024)>=false
:then
@Text.Show(I have to take so~many tests, I~don't have much~time for Pokémon.*Let me give you my number~so I can call you when~I have more time.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Chad's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_024)
@Text.Show(I'll let you know whenever~I have time to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end