P3D-Legacy/P3D/Content/Data/Scripts/trainer/route27/003.dat

43 lines
3.0 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_036)>=true
@Register.unregister(phone_reg_036)
@Register.registertime(phone_reg_time_036,1,day)
:if:<register.registered(phone_reg_036_2)>=true
@text.show(Kept me waiting!~Look, this is it!~See?~Isn't it some kind~of pretty?)
@item.give(132,1)
@item.messagegive(132,1)
@Register.unregister(phone_reg_036_2)
:end
:endif
@Text.Show(Tweet!~Tweeeet!~Kept me waiting!~Go, Farfetch'd!)
:if:<register.registered(First_time_champion)>=true
:if:<register.registered(rematch_036_1)>=true <and> <register.registered(protoncerulean)>=true
@battle.trainer(route27\003_2)
:else
@battle.trainer(route27\003_1)
@register.register(rematch_036_1)
:endif
:else
@battle.trainer(route27\003)
:endif
:else
@battle.starttrainer(route27\003)
:if:<phone.got>=true
:if:<register.registered(phone_contact_036)>=false
@Text.Show(If my Farfetch'd sees~anything pretty, it goes~and gets it.*Do you like pretty things?*I could share if it~gets some more.*What's your phone number?~I'll call.*Don't expect a whole~lot, OK?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Jose's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_036)
@Text.Show(I'll call you as soon as~I get something pretty.)
:when:No
@text.show(You sure?~Well, tell me if you~change your mind.)
:endwhen
:endif
:endif
:endif
:end
@battle.starttrainer(route27\003)
:end