[collide]
ignore_static

[logic]
active = {-cit_jail_door_open} ph_door@locked, ph_door@closed

[ph_door@locked]
closed = true
locked = true
on_info = {+cit_jail_door_open} ph_door@open

[ph_door@open]
closed = false
locked = false
on_use = ph_door@closed
on_info = {-cit_jail_door_open} ph_door@locked
on_info2 = {+cit_jail_scene_end -cit_jail_door_closed} ph_door@script_closed %+cit_jail_door_closed%
;temp

[ph_door@script_closed]
closed = true
locked = false
on_use = ph_door@open
on_info = {-cit_jail_door_open} ph_door@locked

[ph_door@closed]
closed = true
locked = false
on_use = ph_door@open
on_info = {-cit_jail_door_open} ph_door@locked

