version=2 :if:=true =false :then @text.show(Oh, hello there,~.*The new GTS Card for~your Pokégear just arrived.*Here you go.) @sound.play(success_small,1) @text.show( 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: :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:>0 :then @npc.warp(10,5.8,-0.05,1.05) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif :if:>1 :then @npc.warp(11,6,-0.05,1.05) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif :if:>2 :then @npc.warp(12,6.2,-0.05,1.05) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif :if:>3 :then @npc.warp(13,5.8,-0.05,1.25) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif :if:>4 :then @npc.warp(14,6,-0.05,1.25) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif :if:>5 :then @npc.warp(15,6.2,-0.05,1.25) @level.update @sound.play(pokeball_set,false) @level.wait(36) :endif @level.wait(18) @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(30) @music.forceplay() @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