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

48 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_032)>=true
:then
@Text.Show(Yo, <player.name>~I'm up and ready to go!)
@Register.unregister(phone_reg_032)
@Register.registertime(phone_reg_time_032,1,day)
:if:<player.badges>>7
:then
:if:<register.registered(rematch_032_1)>=true
:then
@battle.trainer(route45\002_2)
:else
@register.register(rematch_032_1)
@battle.trainer(route45\002_1)
:endif
:else
@battle.trainer(route45\002)
:endif
:else
@battle.starttrainer(route45\002)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_032)>=false
:then
@Text.Show(Sheesh, the way~you attacked!*That was something!*We should meet again!*How about giving~me your number?)
@Options.Show(Yes,No)
:when:Yes
@sound.play(Receive_PhoneNumber,1)
@Text.Show(<player.name> registered~Parry's number.)
@Register.register(phone_contact_032)
@Text.Show(I'll call you~whenever I feel~like battling!)
:when:No
:endwhen
:endif
:endif
:endif
:end