P3D-Legacy/P3D/Content/Data/Scripts/ilex/shrine.dat

213 lines
16 KiB
Plaintext

version=2
@text.show(It is an old shrine.)
:if:<register.registered(shrinecelebi)>=false <and> <inventory.countitem(115)>>0
@text.show(The GS Ball is~reacting to the shrine!)
:if:<pokemon.count>>5
@text.show(Something seems wrong.*Maybe you should come~back with less Pokémon?)
:else
@text.show(Place the GS Ball~in the shrine?)
@options.show(Yes,No)
:when:Yes
@value.create(shiny,0)
:if:<system.random(1,8192)>=1
@value.change(shiny,1)
:endif
@sound.play(enter)
@level.wait(50)
@entity.showmessagebulb(1|10|1|25)
@npc.warp(9,2,0,24)
@music.play(kimono)
@player.turnto(2)
@player.move(1)
@player.turnto(1)
@npc.move(9,2)
@npc.turn(9,3)
@npc.move(9,7)
@text.show(I felt a call echoing~through time and so I~came here to the shrine.*Who are you and~why are you here?)
@npc.turn(9,0)
@entity.showmessagebulb(1|9|1|26)
@text.show(Oh?*Is that......)
@npc.move(9,1)
@npc.turn(9,3)
@npc.move(9,1)
@npc.turn(9,0)
@player.turnto(0)
@text.show(This is the GS Ball?!)
@npc.turn(9,2)
@text.show(Did you put this here?*Where did you find it?*...*...*...*...*I see...*You seem to be a kind~and generous soul!)
@battle.starttrainer(ilex\001)
@music.play(wind)
@pokemon.cry(251)
@entity.showmessagebulb(1|10|1|25)
@npc.turn(9,0)
@pokemon.cry(251)
@text.show(...)
@pokemon.cry(251)
@npc.turn(9,2)
@text.show(Akemi: Celebi wishes to meet~you.)
@npc.turn(9,3)
@npc.move(9,1)
@npc.turn(9,1)
:if:<value.get(shiny)>=1
@npc.wearskin(10,[POKEMON|S]251)
@level.update
:endif
@npc.warp(10,10,0,25)
@sound.play(enter)
@level.update
@pokemon.cry(251)
@level.wait(100)
@npc.turn(10,0)
@level.wait(100)
@npc.turn(10,1)
@level.wait(100)
@npc.turn(10,3)
@level.wait(100)
@npc.turn(10,2)
@pokemon.cry(251)
@screen.fadeout
@player.warp(routes\route22.dat,14,0.1,12,0)
@level.update
:if:<value.get(shiny)>=1
@npc.wearskin(0,[POKEMON|S]251)
@level.update
:endif
@npc.warp(3,8,0,10)
@npc.warp(2,5,0,10)
@npc.warp(1,15,0,13)
@npc.warp(0,15,0,12)
@player.turnto(3)
@music.play(RouteMusic7)
@screen.fadein
@text.show(intro stuff)
@entity.showmessagebulb(1|15|1|13)
@npc.turn(1,1)
@npc.move(1,2)
@text.show(What's going on over there?)
@player.turnto(1)
@level.wait(30)
@npc.move(3,1)
@text.show(<player.rival>: You told me...~you were the number one~in the world!*Are you gonna quit?*What are you going to do now?)
@level.wait(30)
@npc.turn(2,3)
@text.show(...........................*One must acknowledge~one's defeat before he~can move on...*I will go solo...~for now...*So that one day I will form~a stronger organization!)
@level.wait(30)
@text.show(<player.rival>: What aspect~of you was number one?*Gathering so many only to~be defeated by a mere child!*)
@level.wait(30)
@text.show(Putting together the~potential of many is how~you produce a huge power...~That's what an organization~is...*That's the strength of~an organization!*I failed...to make the best~use of my subordinates'~potential...!*But you shall witness~one day the revival of~me and my Team Rocket!)
@npc.move(3,1)
@text.show(<player.rival>: I don't~understand you!*You don't make any sense!)
@npc.turn(2,1)
@text.show(.................~One day, you will understand.)
@npc.move(2,3)
@npc.turn(2,0)
@npc.move(2,4)
@npc.turn(2,1)
@npc.move(2,1)
@npc.turn(2,0)
@npc.move(2,3)
@sound.play(enter)
@level.wait(30)
@text.show(<player.rival>: I don't want~to understand you!*I will never become~someone like you.*A coward when you're alone~and acting like a tyrant~when you're in front of~other cowards!*I will become strong!*I will become a stronger~man all by myself!)
@npc.move(3,1)
@text.show(ALL BY MYSELF!)
@music.play(johto_rival_encounter)
@npc.turn(3,3)
@npc.move(3,5)
@entity.showmessagebulb(1|10|1|10)
@npc.turn(3,2)
@npc.move(3,2)
@npc.turn(3,3)
@npc.move(3,3)
@npc.turn(1,3)
@text.show(<player.rival>:...~What are you staring at?)
@npc.move(3,1)
@player.setmovement(1,0,0)
@player.move(1)
@npc.move(0,-1)
@npc.turn(3,2)
@npc.move(3,1)
@npc.turn(1,3)
@npc.turn(3,3)
@npc.move(3,7)
@npc.turn(3,0)
@npc.move(3,3)
@npc.move(1,2)
@player.turnto(2)
@text.show(Akemi: kimono text)
@screen.fadeout
@player.warp(tohjofalls\hideout.dat,3,0.1,5,0)
@level.update
@music.play(ilex_forest)
:if:<value.get(shiny)>=1
@npc.wearskin(0,[POKEMON|S]251)
@level.update
:endif
@player.turnto(2)
@npc.warp(0,3,0,6)
@npc.warp(1,2,0,5)
@npc.warp(2,3,0,1)
@screen.fadein
@npc.turn(1,0)
@player.turnto(0)
@player.move(1)
@npc.turn(0,3)
@npc.move(0,1)
@npc.turn(0,0)
@npc.move(0,2)
@entity.showmessagebulb(1|3|1|1)
@npc.turn(2,2)
@text.show(...*I don't know why you~have come here.*Anyway, I have to~warn you that this~is not a place for kids~like you.*)
@text.show(Akemi: Huh?*That's the guy we just~saw arguing with that boy!)
@npc.move(2,1)
@text.show(You have a certain look...*It reminds me of the~kid who stood in front~of me three years ago...~You have the same eyes...*...*I'm on my way to~Goldenrod City to answer~the call and join my team.~Are you going to get~in my way?)
@npc.move(1,1)
@npc.turn(1,3)
@text.show(Akemi: Three years ago...?~Goldenrod City...?)
@entity.showmessagebulb(1|2|1|4)
@text.show(Could this be the~one the radio was trying~to reach?*Giovanni, their boss?*Do you hear it,~<player.name>?*The radio is saying~something strange!*Team Rocket has occupied the~Radio Tower at Goldenrod City!**It can't be!*<player.name>, you solved~this case already!)
@music.play(johto_rocket_encounter)
@text.show(...~This is the Radio Tower.~This is the Radio Tower.~We are pleased to declare~Team Rocket's revival.~...Giovanni?~...Can you hear us?~We have finally made it!~...)
@npc.move(2,1)
@text.show(Giovanni: My old~associates need me...*We will not repeat the~failure of three years ago!*Team Rocket will be born again,~and I will rule the world!)
@battle.starttrainer(tohjo\Giovanni)
@npc.move(2,-1)
@npc.turn(2,3)
@npc.move(2,2)
@text.show(Giovanni: How is this~possible...?*The past three years~have been a waste...?*How can a kid like you~manage to destroy my dream~once again?*The precious dream of~Team Rocket has become~little more than an illusion...)
@npc.turn(2,2)
@npc.move(2,4)
@player.turnto(2)
@npc.turn(1,2)
@npc.turn(0,2)
@npc.turn(2,1)
@npc.move(2,2)
@npc.turn(2,2)
@npc.move(2,2)
@music.stop
@sound.play(enter)
@player.move(1)
@npc.move(1,1)
@npc.move(0,1)
@sound.play(jump_ledge)
@text.show(...~...Hey!~Where has Giovanni gone?~I wonder if he is listening~to our broadcast...~...)
@text.show(Akemi: They keep calling for~their boss.*I feel sorry they don't know~he's not coming.*After this, <player.name>,~you will defeat them!*...Wait a second!~<player.name>, you're still here.*Then, who will defeat~Team Rocket...?)
@screen.fadeout
@player.warp(ilexforest.dat,10,0.1,26,0)
@level.update
:if:<value.get(shiny)>=1
@npc.wearskin(10,[POKEMON|S]251)
@level.update
:endif
@music.play(ilex_forest)
@screen.fadein
@text.show(Akemi: You have Celebi now!)
@pokemon.cry(251)
@pokemon.add(251,50,Obtained at,115,Ilex Forest)
@pokemon.setshiny(<pokemon.count>-1,<value.get(shiny)>)
:when:No
:end
:endwhen
:endif
:endif
:end