--------------------------------------------------------------------------------
[behavior=altar]
  <on_click=0>
    text_width=310
    text_id=gy_altar
    button_id=b_gy_altar1
    button_id=b_gy_altar2
    button_id=b_gy_altar4
    button_id=b_tstone5
  <on_button=0,0>
    check_money=100,0
  <on_button=0,1>
    check_money=200,1
  <on_button=0,2>
    check_money=400,2
  <on_check=0,0,0>
    text_id=nothing_happened
  <on_check=0,1,0>
    text_id=nothing_happened
  <on_check=0,2,0>
    text_id=nothing_happened
  <on_check=0,0,1>
    flash_view=20,120,100,50
    text_id=gy_altar_refreshed
    play_sound.skill_holy=0
    change_money=-100
    remove_handicap=100,2
    change_hp=0,30,0
    change_stamina=0,30,0
  <on_check=0,1,1>
    flash_view=40,200,160,150
    text_id=gy_altar_refreshed
    play_sound.skill_holy=0
    change_money=-200
    remove_handicap=100,2
    change_hp=0,60,0
    change_stamina=0,60,0
  <on_check=0,2,1>
    flash_view=60,250,200,250
    text_id=gy_altar_refreshed
    play_sound.skill_holy=0
    change_money=-400
    # remove_handicap=100,4
    remove_handicap=100,2
    change_hp=0,100,0
    change_stamina=0,100,0