P3D-Legacy/P3D/Content/Data/Scripts/center_script.dat
Ruan Pablo aedec48f93 Terrain final implementation + typos and move fixes
fixed fake-out/first impression working on 2 turns
fixed protecting move breaking messages
fixed trapping/binding moves and abilities
fixed flinch message popping up unnecessarily
updated natural gift BP calculation
updated some moves' contest category and other stats
added roseli, kee, maranga berry effects
added alolan pokemon abilities
added smacking down effect
added terrain as well as its effects
replaced polkadot bow (no use) with berserk gene
other minor fixes such as typos, captalizations
wrapping up other commits
2019-09-27 15:46:23 -03:00

117 lines
5.9 KiB
Plaintext

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égear just arrived.*Here you go.)
@sound.play(success_small,1)
@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émon Center.*We restore your tired~Pokémon to full health.*Would you like to rest~your Pokémon?)
:when:1
@text.show(Good morning! Welcome~to the Pokémon Center.*We restore your tired~Pokémon to full health.*Would you like to rest~your Pokémon?)
:when:2
@text.show(Hello, and welcome to~the Pokémon Center.*We restore your tired~Pokémon to full health.*Would you like to rest~your Pokémon?)
:when:3
@text.show(Good evening! Welcome~to the Pokémon Center.*We restore your tired~Pokémon to full health.*Would you like to rest~your Pokémon?)
:endwhen
@options.setcancelindex(1)
@options.show(Yes,No)
:when:No
@npc.wearskin(0,0_bow)
@level.wait(45)
@npc.wearskin(0,0)
@text.show(We hope to see you~again!)
:end
:when:Yes
@text.show(OK, I'll take your~Pokémon for a few~seconds.)
@pokemon.hide
@music.stop
@level.update
@npc.turn(0,1)
:if:<pokemon.count>>0
:then
@npc.warp(10,5.8,-0.05,1.05)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
:if:<pokemon.count>>1
:then
@npc.warp(11,6,-0.05,1.05)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
:if:<pokemon.count>>2
:then
@npc.warp(12,6.2,-0.05,1.05)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
:if:<pokemon.count>>3
:then
@npc.warp(13,5.8,-0.05,1.25)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
:if:<pokemon.count>>4
:then
@npc.warp(14,6,-0.05,1.25)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
:if:<pokemon.count>>5
:then
@npc.warp(15,6.2,-0.05,1.25)
@level.update
@sound.play(pokeball_set,false)
@level.wait(16)
:endif
@pokemon.heal
@sound.play(healing,false)
@level.wait(180)
@npc.warp(10,5.8,-1.3,1.05)
@npc.warp(11,6,-1.3,1.05)
@npc.warp(12,6.2,-1.3,1.05)
@npc.warp(13,5.8,-1.3,1.25)
@npc.warp(14,6,-1.3,1.25)
@npc.warp(15,6.2,-1.3,1.25)
@level.update
@level.wait(26)
@music.forceplay(<level.musicloop>)
@npc.turn(0,2)
@text.show(Thank you for waiting.*We've restored your~Poké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)
:end
:endwhen
:end