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

[behavior = lowercata_up1]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	play_sound.ladder = 0
	teleport.UPPER_CATACOMBS = 0,11,11

[behavior = lowercata_up2]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	play_sound.ladder = 0
	teleport.UPPER_CATACOMBS = 3,11,4

[behavior = lowercata_up3]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	play_sound.ladder = 0
	teleport.UPPER_CATACOMBS = 0,25,8

[behavior = lowercata_up4]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	play_sound.ladder = 0
	teleport.UPPER_CATACOMBS = 3,44,14

[behavior = lowercata_up5]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	play_sound.ladder = 0
	teleport.UPPER_CATACOMBS = 3,48,13



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

[behavior = teleport_chamber]
<on_enter = 0,1>
	do_click=0
<on_click = 0>
	teleport = -1,0,0
	play_sound.teleport = 0
	flash_view=0,200,255,100

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

[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
	  play_sound.move_stone=0
	  end_round=1
  	block = 0
  <on_click = 1>
  	state = 0
  	animate = -1, 0, 0, 1
  	play_sound.move_stone=0
  	end_round=1
  	block = 1

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

[behavior = lever_safe]
  <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
	  remove_object.killer_dummy = 0,0
	  remove_item.remains = 0,0
  	play_sound.switch=0
  <on_click = 1>
  	state = 0
  	animate = 0, 0, 0, 1
  	item.remains = 0,0
  	object.killer_dummy = 0,0,0
  	play_sound.switch=0



--------------------------------------------------------------------------------
[behavior = cracked_stone]
<on_click=0>
	remove_object.cracked_stone = 0,0
	play_sound.break_wall = 0

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

[behavior = killer_dummy]
  <on_enter = 0,1>
    hit = 102,2,40,40,0,0
    flash_view = 200, 240, 255, 200

[behavior = killer_sign]
<on_click=0>
	text_id = lc_killer_sign
	text_width = 300

[behavior = sarc_offer_seal]
<on_click = 0>
	enemy.skeleton = 0,-1
	enemy.skeleton = 0,1
	enemy.fatdead = 8,0
	enemy.fatdead = 8,0
	play_sound.move_stone = 0
	item_offer = 0,1
	state = 1
  <on_click = 1>
	play_sound.move_stone = 0
	item_offer = 0,1
	
--------------------------------------------------------------------------------
[behavior = rat_attack]
  <on_enter=0,1>
    play_sound.rat_att=0
    enemy.smallrat=-1,0
    enemy.smallrat=1,0
    enemy.smallrat=0,-1
    enemy.smallrat=0,1
    text_id=cata_rats
    state=255
