#!
import bonez
import bonez_cfg
import interact
import tools
import interactions
import monty

from __main__ import Bonez
#
#{
s_int = interact.get_interaction ("select")
used = False
#}!
#{
if self.get_actual_arg ("collision_cb"):
    used = True
    s_int.select (("Start Game", "Stay Here"))

if s_int.state.get_state () and used:
    used = False
    s_int.state.set_state (0)
    if s_int.selected [0] == 0:
	bonez_cfg.level = 0
	bonez.execfile (bonez_cfg.exec_path + "/scripts/start_new_game.py")

monty.INSTR_REPEAT
#}
