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

43 lines
2.4 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_023)>=true
@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é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
:if:<register.registered(rematch_023_1)>=true
@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
:if:<register.registered(phone_contact_023)>=false
@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)
@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