P3D-Legacy/P3D/Content/Data/Scripts/ecruteak/tintowersage1.dat

33 lines
1.9 KiB
Plaintext

version=2
:if:<register.registered(ecruteak_sage_block)>=True
@Text.show(Tin Tower is off~limits to anyone*without Ecruteak~Gym's Badge.*Ah!*Ecruteak's Gym~Badge! Please, go~right through.)
@NPC.Turn(0,2)
:end
:endif
:if:<register.registered(fogbadge_obtain)>=False
@Text.show(Tin Tower is off~limits to anyone*without Ecruteak~Gym's Badge.*Sorry, but you'll~have to leave.)
:else
@Register.register(ecruteak_sage_block)
@Text.show(Tin Tower is off~limits to anyone*without Ecruteak~Gym's Badge.*Ah!*Ecruteak's Gym~Badge! Please, go~right through.)
@NPC.Move(1,1)
@Player.TurnTo(3)
@NPC.Turn(1,3)
@NPC.Move(1,1)
@NPC.Turn(1,2)
@Player.TurnTo(0)
@NPC.Turn(0,3)
@NPC.Move(0,1)
@NPC.Turn(0,2)
@Player.TurnTo(2)
@NPC.Move(0,2)
@NPC.Turn(0,1)
@NPC.Move(0,2)
@NPC.Turn(0,0)
@NPC.Move(0,1)
@NPC.Turn(0,2)
@Player.TurnTo(0)
@NPC.register(ecruteak\tintowergate1.dat|0|position|3,0,7)
@NPC.register(ecruteak\tintowergate1.dat|1|position|6,0,7)
:endif
:end