P3D-Legacy/P3D/Content/Data/Scripts/rocketbase/trap2.dat

44 lines
1.7 KiB
Plaintext

version=2
:if:<register.registered(TRHQ_switch)>=True <or> <register.registered(trap2)>=True
:end
:endif
@Sound.play(trhq_alarm,true)
@Player.turnto(0)
:if:<player.position>=24,0,7
@player.move(1)
:endif
@Text.show(It seems to be~some sort of camera.)
@Music.play(johto_rocket_encounter)
@npc.Warp(0,22,0,6)
@npc.Turn(0,3)
@npc.Move(0,1)
@npc.Warp(1,26,0,6)
@npc.Turn(1,1)
@Player.turnto(1)
@battle.startTrainer(rocketbase\t1)
@register.Unregister(trainer_rocketbase\t1)
@npc.Turn(0,0)
@npc.Move(0,1)
@npc.Turn(0,1)
@npc.Move(0,10)
@npc.Move(1,1)
@Player.turnto(3)
@battle.startTrainer(rocketbase\t2)
@npc.Warp(0,0,-1,0)
@register.Unregister(trainer_rocketbase\t2)
@Register.register(trap2)
@Music.play(rHideout)
@npc.Turn(1,3)
@npc.Move(1,1)
@npc.Turn(1,2)
@npc.Move(1,5)
@npc.Warp(1,0,-1,0)
:end