P3D-Legacy/P3D/Content/Data/Scripts/trainer/route30/001.dat

58 lines
2.2 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_003)>=true
:then
@Text.Show(So we meet again,~<player.name>.*I've trained my Ratatta~and now it's top~percentage!)
@Register.unregister(phone_reg_003)
@Register.registertime(phone_reg_time_003,1,day)
:if:<player.badges>>3
:then
:if:<register.registered(rematch_003_1)>=true
:then
@battle.trainer(route30\001_2)
:else
@register.register(rematch_003_1)
@battle.trainer(route30\001_1)
:endif
:else
@battle.trainer(30001)
:endif
:if:<environment.day>=saturday
:then
:if:<environment.daytime>=night
:then
@Text.Show(Here, take this.)
@item.give(26)
@item.messagegive(26,1)
:endif
:endif
:else
@battle.starttrainer(30001)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_003)>=false
:then
@Text.Show(Hey, can I get your~number? I'll ring*you up to battle.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Joey's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_003)
@Text.Show(I'll ring you whenever~I get the urge~to battle.)
:when:No
:endwhen
:endif
:endif
:endif
:end