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

42 lines
1.6 KiB
Plaintext

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