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

48 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_021)>=true
:then
@Text.Show(Did you check the status~of the sick Pokémon?)
@Register.unregister(phone_reg_021)
@Register.registertime(phone_reg_time_021,1,day)
:if:<player.badges>>4
:then
:if:<register.registered(rematch_021_1)>=true
:then
@battle.trainer(Lighthouse\001_2)
:else
@register.register(rematch_021_1)
@battle.trainer(Lighthouse\001_1)
:endif
:else
@battle.trainer(Lighthouse\001)
:endif
:else
@battle.starttrainer(Lighthouse\001)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_021)>=false
:then
@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~Alfred's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_021)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end