[logic]
active = ph_idle@enable


[ph_idle@enable]
nonscript_usable = true
tips = st_search_treasure
on_info = {+red_maria_ghosts_past_dialog_end} ph_idle@disable

[ph_idle@disable]
nonscript_usable = false
on_info = {+red_maria_var_final_dialog_end} ph_idle@enable_1

[ph_idle@enable_1]
nonscript_usable = true
tips = st_search_treasure
