P3D-Legacy/P3D/Content/Data/Scripts/trainer/route46/002.dat

49 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_033)>=true
:then
@Text.Show(Hi, <player.name>.~Let our rematch begin!)
@Register.unregister(phone_reg_033)
@Register.registertime(phone_reg_time_033,1,day)
:if:<player.badges>>7
:then
:if:<register.registered(rematch_033_1)>=true
:then
@battle.trainer(route46\002_2)
:else
@register.register(rematch_033_1)
@battle.trainer(route46\002_1)
:endif
:else
@battle.trainer(route46\002)
:endif
:else
@battle.starttrainer(route46\002)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_033)>=false
:then
@Text.Show(I am going to ride~my Ponyta now, but~let's meet again later.*I will talk to you~on the phone when~we exchange numbers.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Erin's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_033)
@Text.Show(I will talk to~you later.)
:when:No
:endwhen
:endif
:endif
:endif
:end