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

90 lines
4.8 KiB
Plaintext

version=2
:if:<inventory.countitem(651)>=1
@player.warp(routes\route47\embtower\lstone.dat)
@player.move(0)
@text.show(The Light Stone is pulling you forward!)
@player.move(4)
@text.show(The Light Stone began to glow!)
@sound.play(battle/shiny)
@screen.fadeoutcolor(255,255,255)
@screen.fadeout
@item.remove(651)
@player.warp(routes\route47\embtower\reshiram.dat)
@pokemon.cry(643)
@screen.fadein
@screen.fadeoutcolor(0,0,0)
@register.register(reshready)
:end
:endif
:if:<inventory.countitem(652)>=1
@player.warp(routes\route47\embtower\dstone.dat)
@player.move(0)
@text.show(The Dark Stone is pulling you forward!)
@player.move(4)
@text.show(The Dark Stone began to glow!)
@sound.play(battle/shiny)
@screen.fadeoutcolor(255,255,255)
@screen.fadeout
@item.remove(652)
@player.warp(routes\route47\embtower\zekrom.dat)
@pokemon.cry(644)
@screen.fadein
@screen.fadeoutcolor(0,0,0)
@register.register(zekready)
:end
:endif
:if:<register.registered(nkyuready)>=true
@player.warp(routes\route47\embtower\pkyurem.dat)
@player.move(2)
@player.turnto(1)
@text.show(here comes 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
@player.warp(routes\route47\embtower\kyurem.dat)
@npc.warp(1,~,1,~)
:if:<register.registered(nlightstone)>=true
@npc.warp(2,~,1,~)
:endif
:if:<register.registered(ndarkstone)>=true
@npc.warp(3,~,1,~)
:endif
@pokemon.cry(646)
@screen.fadein
@screen.fadeoutcolor(0,0,0)
@register.register(kyuready)
:end
:endif
:if:<register.registered(reshready)>=true
@player.warp(routes\route47\embtower\reshiram.dat)
:end
:endif
:if:<register.registered(zekready)>=true
@player.warp(routes\route47\embtower\zekrom.dat)
:end
:endif
:if:<register.registered(kyuready)>=true
@player.warp(routes\route47\embtower\kyurem.dat)
@npc.warp(1,~,1,~)
:if:<register.registered(nlightstone)>=true
@npc.warp(2,~,1,~)
:endif
:if:<register.registered(ndarkstone)>=true
@npc.warp(3,~,1,~)
:endif
:end
:endif
:if:<register.registered(taofinish)>=false <and> <not><level.filename>=main
@player.warp(routes\route47\embtower\main.dat)
:endif
:if:<register.registered(taofinish)>=true <and> <not><level.filename>=main2
@player.warp(routes\route47\embtower\main2.dat)
:endif
:end