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

56 lines
2.3 KiB
Plaintext

version=2
:if:<register.registered(phone_reg_018)>=true
:then
@Text.Show(I styled my Pokémon and~we are ready to battle!)
@Register.unregister(phone_reg_018)
@Register.registertime(phone_reg_time_018,1,day)
:if:<player.badges>>3
:then
:if:<register.registered(rematch_018_1)>=true
:then
@battle.trainer(nationalpark\001_2)
:else
@register.register(rematch_018_1)
@battle.trainer(nationalpark\001_1)
:endif
:else
@battle.trainer(nationalpark\001)
:endif
:if:<pokemon.has(183)>=true
:then
@Text.Show(Thanks for showing me~a Marill. Here, take this.)
@Item.Give(36)
@Item.messagegive(36,1)
:endif
:else
@battle.starttrainer(nationalpark\001)
:if:<phone.got>=true
:then
:if:<register.registered(phone_contact_018)>=false
:then
@Text.Show(My Pokémon aren't looking~nice enough...*Let's exchange numbers so~I can style them again.)
@Options.Show(Yes,No)
:when:Yes
@Text.Show(<player.name> registered~Beverly's number.)
@sound.play(Receive_PhoneNumber,1)
@Register.register(phone_contact_018)
@Text.Show(I'll let you know whenever~I want to battle you.)
:when:No
:endwhen
:endif
:endif
:endif
:end