P3D-Legacy/P3D/Content/Data/Scripts/embtower/mainms.dat

92 lines
5.6 KiB
Plaintext

version=2
:if:<register.registered(battlekyurem)>=true
@player.achieveemblem(tao)
:endif
:if:<register.registered(battlekyurem)>=true
@player.warp(routes\route47\embtower\main2.dat)
:end
:endif
:if:<register.registered(kyuready)>=true
@player.warp(routes\route47\embtower\kyurem.dat)
:end
:endif
:if:<register.registered(nkyuready)>=true
@player.warp(routes\route47\embtower\pkyurem.dat)
@level.update
@npc.warp(1,~,0,~)
:if:<register.registered(nlightstone)>=true
@npc.warp(2,~,0,~)
:endif
:if:<register.registered(ndarkstone)>=true
@npc.warp(3,~,0,~)
:endif
@level.update
@register.register(kyuready)
@player.move(2)
@player.turnto(1)
@text.show(In Unovan folklore, there is~a tale of two heroes.*They controlled a powerful~Dragon Pokémon, the one who~shaped our region.*They lived in harmony for~centuries, until one day, they~began pursuing different~values.)
@text.show(In response, the dragon split~into Reshiram and Zekrom.*They fought for dominance and~left trails of destruction~throughout the land.*But a third dragon was also~created, a husk born from the~leftovers: Kyurem.)
@npc.turn(1,0)
@player.turnto(0)
@pokemon.cry(643)
@pokemon.cry(646)
@pokemon.cry(644)
@pokemon.cry(646)
@sound.play(battle\shiny)
@screen.fadeoutcolor(255,255,255)
@screen.fadeout
@pokemon.cry(646)
@player.warp(routes\route47\embtower\kyurem.dat)
@level.update
@screen.fadein
@screen.fadeoutcolor(0,0,0)
:end
:endif
:if:<register.registered(reshready)>=true <and> <register.registered(battlereshiram)>=false
@player.warp(routes\route47\embtower\reshiram.dat)
:end
:endif
:if:<register.registered(zekready)>=true <and> <register.registered(battlezekrom)>=false
@player.warp(routes\route47\embtower\zekrom.dat)
:end
:endif
:if:<inventory.countitem(651)>=1
@player.warp(routes\route47\embtower\lstone.dat)
@level.update
@player.move(0)
@text.show(The Light Stone's aura pulls~you forward!)
@player.move(3)
@text.show(The Light Stone began to glow!)
@sound.play(battle\shiny)
@screen.fadeoutcolor(255,255,255)
@screen.fadeout
@item.remove(651)
@register.register(reshready)
@pokemon.cry(643)
@player.warp(routes\route47\embtower\reshiram.dat)
@level.update
@screen.fadein
@screen.fadeoutcolor(0,0,0)
:end
:endif
:if:<inventory.countitem(652)>=1
@player.warp(routes\route47\embtower\dstone.dat)
@level.update
@player.move(0)
@text.show(The Dark Stone's aura pulls~you forward!)
@player.move(3)
@text.show(The Dark Stone began to glow!)
@sound.play(battle\shiny)
@screen.fadeoutcolor(255,255,255)
@screen.fadeout
@item.remove(652)
@pokemon.cry(644)
@register.register(zekready)
@player.warp(routes\route47\embtower\zekrom.dat)
@level.update
@screen.fadein
@screen.fadeoutcolor(0,0,0)
:end
:endif
:end