P3D-Legacy/P3D/Content/Data/Scripts/trainer/route34/004.dat

49 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_011)>=true
:then
@Text.Show(I want to be the star~in my class again.*I want a rematch!)
@Register.unregister(phone_reg_011)
@Register.registertime(phone_reg_time_011,1,day)
:if:<player.badges>>2
:then
:if:<register.registered(rematch_011_1)>=true
:then
@battle.trainer(route34\004_2)
:else
@register.register(rematch_011_1)
@battle.trainer(route34\004_1)
:endif
:else
@battle.trainer(route34\004)
:endif
:else
@battle.starttrainer(route34\004)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_011)>=false
:then
@Text.Show(I want to stay in contact~with you.*Do you want to give me~your number?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Ian's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_011)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end