if (boss == 1) { if (con == 4) scr_debug_print("con=" + string(con)); } if (con == 1 && myinteract == 3 && !d_ex()) { pipismarker = scr_dark_marker(x, y, sprite_index); scr_darksize(pipismarker); visible = false; myinteract = 0; snd_play_pitch(snd_spamton_laugh, 1.4); con = 2; timer = 0; boss = 1; } if (con == 2) { timer++; if (timer == 15) { alarm[4] = 30; global.flag[9] = 2; scr_battle(102, 0, pipismarker, 0, 0); } } if (con == 3) { with (obj_mazepipis) { if (!boss) { if (distance_to_point(other.x, other.y) < 40) instance_destroy(); } } instance_destroy(); }