P3D-Legacy/P3D/Content/Data/Scripts/dungeon/blue.dat

58 lines
3.6 KiB
Plaintext

version=2
@pokemon.heal
@text.show(The gem emits a~luminous aura.*It healed your Pokémon!)
:if:<register.registered(Mindchallengefinish)>=True
:if:<register.registered(dungeonCheckpoint2)>=True
:if:<register.registered(dungeonCheckpoint3)>=True
@text.show(Images appear to be~shining in the gem!*One looks like a crown!*Another looks~like a tower!*The third one~looks like a star!*Touch one?)
@options.show(Touch the Crown,Touch the Tower,Touch the Star,Don't Touch!)
:when:Touch the Crown
@screen.fadeout
@player.warp(dungeon\checkpoint1.dat,2,0.1,5,0)
@player.turnto(3)
@level.update
@screen.fadein
:when:Touch the Tower
@screen.fadeout
@player.warp(dungeon\2\1.dat,3,0.1,8,0)
@player.turnto(0)
@level.update
@screen.fadein
:when:Touch the Star
@screen.fadeout
@player.warp(dungeon\2\7.dat,1,0.1,5,0)
@player.turnto(3)
@level.update
@screen.fadein
:endwhen
:else
@text.show(Images appear to be~shining in the gem!*One looks like a crown!*The other looks like a tower!*Touch one?)
@options.show(Touch the Crown,Touch the Tower,Don't Touch!)
:when:Touch the Crown
@screen.fadeout
@player.warp(dungeon\checkpoint1.dat,2,0.1,5,0)
@player.turnto(3)
@level.update
@screen.fadein
:when:Touch the Tower
@screen.fadeout
@player.warp(dungeon\2\1.dat,3,0.1,8,0)
@player.turnto(0)
@level.update
@screen.fadein
:endwhen
:endif
:else
@text.show(An image appears to be~shining in the gem!*It looks like a crown!*Touch it?)
@options.show(Yes,No)
:when:Yes
@screen.fadeout
@player.warp(dungeon\checkpoint1.dat,2,0.1,5,0)
@player.turnto(3)
@level.update
@screen.fadein
:endwhen
:endif
:endif
:end