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

49 lines
2.0 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_031)>=true
:then
@Text.Show(Yo, <player.name>.~Let our rematch begin!)
@Register.unregister(phone_reg_031)
@Register.registertime(phone_reg_time_031,1,day)
:if:<player.badges>>7
:then
:if:<register.registered(rematch_031_1)>=true
:then
@battle.trainer(route45\005_2)
:else
@register.register(rematch_031_1)
@battle.trainer(route45\005_1)
:endif
:else
@battle.trainer(route45\005)
:endif
:else
@battle.starttrainer(route45\005)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_031)>=false
:then
@Text.Show(Our battle was~remarkable!*I wish for something~to remember you by!*Perhaps your phone~number will do?*My training makes~it impossible to~chat much, but...)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Kenji's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_031)
@Text.Show(I must train~harder to become~the mightiest!)
:when:No
:endwhen
:endif
:endif
:endif
:end