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

41 lines
2.8 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_011)>=true
@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>>4
:if:<register.registered(rematch_011_1)>=true <and> <register.registered(rocket_invasion_defeat)>=true
:if:<register.registered(rematch_011_2)>=true <and> <register.registered(First_time_champion)>=true
@battle.trainer(route34\004_3)
:else
@battle.trainer(route34\004_2)
@register.register(rematch_011_2)
:endif
:else
@battle.trainer(route34\004_1)
@register.register(rematch_011_1)
:endif
:else
@battle.trainer(route34\004)
:endif
@Text.Show(Here, take this.)
@storage.set(int,berry,<system.random(2000,2014)>)
@item.give(<storage.get(int,berry)>,1)
@item.messagegive(<storage.get(int,berry)>,1)
:else
@battle.starttrainer(route34\004)
:if:<phone.got>=true
:if:<register.registered(phone_contact_011)>=false
@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