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

54 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_022)>=true
:then
@Text.Show(I haven't lost in a while again.*I think I can beat you now.)
@Register.unregister(phone_reg_022)
@Register.registertime(phone_reg_time_022,1,day)
:if:<player.badges>>4
:then
:if:<register.registered(rematch_022_1)>=true
:then
@battle.trainer(Lighthouse\002_2)
:else
@register.register(rematch_022_1)
@battle.trainer(Lighthouse\002_1)
:endif
:else
@battle.trainer(Lighthouse\002)
:endif
:if:<environment.day>=wednesday <and> <environment.daytime>=day
:then
@Text.Show(Wow, you are going to be~really strong.*Here, take this.)
@Item.Give(27)
@Item.messagegive(27,1)
:endif
:else
@battle.starttrainer(Lighthouse\002)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_022)>=false
:then
@Text.Show(Cool! That's the~first time I've~lost in a while!*Let's battle again later?)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Huey's number.)
@Register.register(phone_contact_022)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end