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

47 lines
3.1 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_004)>=true
@Text.Show(Let's see if my~bug Pokémon are strong~enough this time.)
@Register.unregister(phone_reg_004)
@Register.registertime(phone_reg_time_004,1,day)
:if:<player.badges>>2
:if:<register.registered(rematch_004_1)>=true <and> <player.badges>>4
:if:<register.registered(rematch_004_2)>=true <and> <register.registered(rocket_invasion_defeat)>=true
:if:<register.registered(rematch_004_3)>=true <and> <register.registered(First_time_champion)>=true
@battle.trainer(route31\001_4)
@register.register(rematch_004_4)
:else
@battle.trainer(route31\001_3)
@register.register(rematch_004_3)
:endif
:else
@battle.trainer(route31\001_2)
@register.register(rematch_004_2)
:endif
:else
@battle.trainer(route31\001_1)
@register.register(rematch_004_1)
:endif
:else
@battle.trainer(31001)
:endif
@Text.Show(Here, take this.)
@storage.set(int,berry,<system.random(2000,2014)>)
@item.give(<storage.get(int,berry)>,1)
@item.messagegive(<storage.get(int,berry)>,1)
:else
@battle.starttrainer(31001)
:if:<phone.got>=true
:if:<register.registered(phone_contact_004)>=false
@Text.Show(Let's exchange numbers.*I want to battle you~again sometime.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Wade's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_004)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end