if (con == 0 && type == 0) { type = 1; event_inherited(); with (obj_6book_master) { con = 1; alarm[4] = 100; } }