P3D-Legacy/P3D/Content/Data/Scripts/center_script.dat

118 lines
5.9 KiB
Plaintext
Raw Normal View History

2016-09-07 18:50:38 +02:00
<EFBFBD><EFBFBD>version=2
:if:<register.registered(bill_encounter)>=true <and> <register.registered(pokegear_card_GTS)>=false
:then
@text.show(Oh, hello there,~<player.name>.*The new GTS Card for~your Pok<00>gear just arrived.*Here you go.)
@sound.play(success_small,1)
2016-09-07 18:50:38 +02:00
@text.show(<player.name> received~the GTS Card!)
@text.show(With the GTS Card,~you can trade with~people all around the world.)
@register.register(pokegear_card_GTS)
:endif
:select:<environment.daytimeid>
:when:0
@text.show(Hello, and welcome to~the Pok<00>mon Center.*We restore your tired~Pok<00>mon to full health.*Would you like to rest~your Pok<00>mon?)
:when:1
@text.show(Good morning! Welcome~to the Pok<00>mon Center.*We restore your tired~Pok<00>mon to full health.*Would you like to rest~your Pok<00>mon?)
:when:2
@text.show(Hello, and welcome to~the Pok<00>mon Center.*We restore your tired~Pok<00>mon to full health.*Would you like to rest~your Pok<00>mon?)
:when:3
@text.show(Good evening! Welcome~to the Pok<00>mon Center.*We restore your tired~Pok<00>mon to full health.*Would you like to rest~your Pok<00>mon?)
:endwhen
@options.setcancelindex(1)
@options.show(Yes,No)
:when:No
2018-12-26 02:57:06 +01:00
@npc.wearskin(0,0_bow)
@level.wait(45)
@npc.wearskin(0,0)
2016-09-07 18:50:38 +02:00
@text.show(We hope to see you~again!)
:end
:when:Yes
@text.show(OK, I'll take your~Pok<00>mon for a few~seconds.)
@pokemon.hide
@music.stop
2016-09-07 18:50:38 +02:00
@level.update
@npc.turn(0,1)
2016-09-07 18:50:38 +02:00
:if:<pokemon.count>>0
:then
2020-06-23 06:35:15 +02:00
@npc.warp(10,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
:if:<pokemon.count>>1
:then
2020-06-23 06:35:15 +02:00
@npc.warp(11,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
:if:<pokemon.count>>2
:then
2020-06-23 06:35:15 +02:00
@npc.warp(12,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
:if:<pokemon.count>>3
:then
2020-06-23 06:35:15 +02:00
@npc.warp(13,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
:if:<pokemon.count>>4
:then
2020-06-23 06:35:15 +02:00
@npc.warp(14,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
:if:<pokemon.count>>5
:then
2020-06-23 06:35:15 +02:00
@npc.warp(15,~,-0.05,~)
2016-09-07 18:50:38 +02:00
@level.update
@sound.play(pokeball_set,false)
2020-04-17 04:46:35 +02:00
@level.wait(36)
2016-09-07 18:50:38 +02:00
:endif
2020-04-17 04:46:35 +02:00
@level.wait(18)
2016-09-07 18:50:38 +02:00
@pokemon.heal
@sound.play(healing,false)
2016-09-07 18:50:38 +02:00
@level.wait(180)
2020-06-23 06:35:15 +02:00
@npc.warp(10,~,-1.3,~)
@npc.warp(11,~,-1.3,~)
@npc.warp(12,~,-1.3,~)
@npc.warp(13,~,-1.3,~)
@npc.warp(14,~,-1.3,~)
@npc.warp(15,~,-1.3,~)
2016-09-07 18:50:38 +02:00
@level.update
2020-04-17 04:46:35 +02:00
@level.wait(30)
@music.forceplay(<level.musicloop>)
2016-09-07 18:50:38 +02:00
@npc.turn(0,2)
2018-12-26 02:57:06 +01:00
@text.show(Thank you for waiting.*We've restored your~Pok<00>mon to full health.)
@npc.wearskin(0,0_bow)
@level.wait(45)
@npc.wearskin(0,0)
@text.show(We hope to see you~again!)
@level.wait(5)
@player.turnto(2)
2016-09-07 18:50:38 +02:00
:end
:endwhen
:end