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

49 lines
2.1 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_020)>=true
:then
@Register.unregister(phone_reg_020)
@Text.Show(I found this while~training my Pokémon.)
:if:<player.badges>>3
:then
:if:<register.registered(rematch_020_1)>=true
:then
@battle.trainer(route36\002_2)
:else
@register.register(rematch_020_1)
@battle.trainer(route36\002_1)
:endif
:else
@battle.trainer(route36\002)
:endif
@Item.Give(22)
@Item.messagegive(22,1)
@Register.registertime(phone_reg_time_016,1,day)
@Text.Show(I'll let you know whenever~I find another one.)
:else
@battle.starttrainer(route36\002)
:if:<phone.got>=true <and> <register.registered(phone_contact_020)>=false
:then
@Text.Show(Sometimes, I find mysterious~stones on the ground.*I'll call you when~I find another one.)
@Options.Show(Yes,No)
:when:Yes
@sound.play(Receive_PhoneNumber,1)
@Text.Show(<player.name> registered~Alan's number.)
@Register.register(phone_contact_020)
@Text.Show(I'll let you know whenever~I find one.)
:when:No
:endwhen
:endif
:endif
:end