... if(node->xyz[0] > screen_w-280) { node->set_move_collision(boss1_move_left, boss1_collision); } ...
#define BOSS1_RIGHT_END screen_w-280 ... if(node->xyz[0] > BOSS1_RIGHT_END) { node->set_move_collision(boss1_move_left, boss1_collision); } ...