if (room == room_board_2) { if (bosstree == 0) { with (obj_board_tree_grayscale) { if (boss == true) other.bosstree = id; } } }