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

59 lines
2.3 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
:if:<register.registered(phone_reg_023)>=true
:then
@Register.unregister(phone_reg_023)
@Register.registertime(phone_reg_time_023,1,day)
:if:<environment.day>=thursday <and> <environment.daytime>=night
@text.show(I found this while~training my Pok<00>mon.)
@item.give(23)
@item.messagegive(23,1)
@text.show(I'll let you know whenever~I want to battle you.)
:end
:endif
@Text.Show(Do you want to give me~some advice on how~to battle?)
:if:<player.badges>>4
:then
:if:<register.registered(rematch_023_1)>=true
:then
@battle.trainer(route38\002_2)
:else
@register.register(rematch_023_1)
@battle.trainer(route38\002_1)
:endif
:else
@battle.trainer(route38\002)
:endif
:else
@battle.starttrainer(route38\002)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_023)>=false
:then
@Text.Show(Do you want to give me~some advice on how~to battle?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Dana's number.)
@sound.play(Receive_PhoneNumber,1)
2016-09-07 18:50:38 +02:00
@Register.register(phone_contact_023)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end