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

48 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_006)>=true
:then
@Text.Show(I used the time to~catch more awesome~Water-Pokémon.)
@Register.unregister(phone_reg_006)
@Register.registertime(phone_reg_time_006,1,day)
:if:<player.badges>>3
:then
:if:<register.registered(rematch_006_1)>=true
:then
@battle.trainer(route32\32005_2)
:else
@register.register(rematch_006_1)
@battle.trainer(route32\32005_1)
:endif
:else
@battle.trainer(route32\32005)
:endif
:else
@battle.starttrainer(route32\32005)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_006)>=false
:then
@Text.Show(Let's battle again.~I got lots of time.*I'll give you my number so~I can call you.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Ralph's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_006)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end