sound.devil = data\sound\devil.wav




[behavior = exit_vigus]
  <on_click = 0>
    play_sound.ladder=0
    teleport.GRAVEYARD_1 = 2,20,13
  <on_enter = 0,1>
	do_click = 0

[behavior = lever]
  <on_init = 0>
    animate = 0, 0, 0, 1
  <on_init = 1>
    animate = 1, 1, 0, 1
  <on_click = 0>
    state = 1
    animate = -1, 1, 0, 1
    change_global.8 = 1
    play_sound.switch =0
  <on_click = 1>
    state = 0
    animate = 0, 0, 0, 1
    change_global.8 = -1
    play_sound.switch =0

[behavior = lever_wrong]
  <on_init = 0>
    animate = 0, 0, 0, 1
  <on_init = 1>
    animate = 1, 1, 0, 1
  <on_click = 0>
    state = 1
    animate = -1, 1, 0, 1
    change_global.8 = -1
    play_sound.switch =0
  <on_click = 1>
    state = 0
    animate = 0, 0, 0, 1
    change_global.8 = 1
    play_sound.switch =0



[behavior = tomb_door]
  <on_init = 0>
    animate = 0, 0, 0, 1
    block = 1
  <on_init = 1>
    animate = 4, 4, 0, 1
    block = 0
  <on_click = 0>
    state = 1
    animate = -1, 4, 0, 1
    block = 0
    play_sound.move_stone =0
  <on_click = 1>
    state = 0
    animate = -1, 0, 0, 1
    block = 1
    play_sound.move_stone =0

[behavior = tomb_door_lever]
  <on_init = 0>
    animate = 0, 0, 0, 1
    state=1
  <on_click = 1>
    text_id = locked_door
  <on_init = 1>
    animate = 0, 0, 0, 1
    block = 1
  <on_init = 2>
    animate = 4, 4, 0, 1
    block = 0
  <on_global = 1,8,13>
    animate = -1, 4, 0, 1
    play_sound.move_stone =0
    block = 0
    state=2

--------------------------------------------------------------------------------
[behavior = button]
  <on_init = 0>
  	animate = 0, 0, 0, 1
  <on_init = 1>
  	animate = 1, 1, 0, 1
  <on_click = 0>
  	state = 1
  	animate = -1, 1, 0, 1
  	cube.g_tomb=0,0,0
  	play_sound.MOVE_STONE = 0
  	play_sound.switch =0
  <on_click = 1>
  	state = 0
  	animate = 0, 0, 0, 1
  	cube.w_stone=0,0,0
  	play_sound.MOVE_STONE = 0
  	play_sound.switch =0

--------------------------------------------------------------------------------

[behavior = teleport]
  <on_global=0,50,1>
    play_sound.move_stone =0
    object.column=0,0,0
  <on_global=0,50,4>
    set_global.50=0
    remove_object.column=0,0
    play_sound.move_stone =0
    
  <on_enter = 0,1>
    play_sound.teleport=0
    teleport = -1,-1,8
    
--------------------------------------------------------------------------------
[behavior=set_global8_dummy]
  <on_enter=0,1>
    set_global.8=10
    state=255

[behavior = sarc_vigus]
  <on_click = 0>
    play_sound.move_stone = 0
    play_sound.devil = 0
    enemy_forced.vigus = 0,0
    remove_object.block_enemy = 0,0
    remove_object.block_enemy = 0,1
    remove_object.wall_of_energy = 0,0
    state=1
    item_offer = 0,1
  <on_click = 1>
    play_sound.move_stone = 0
    item_offer = 0,1

--------------------------------------------------------------------------------
[behavior=column_rebus]
  <on_enter=0,1>
    change_global.50=1
    