if (con < 0) exit; if (con == 1 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; global.msc = -99; scr_speaker("no_name"); msgsetloc(0, "* (This game cost 1 bobillion dollars to play.)/", "obj_room_castle_tv_kikky_slash_Step_0_gml_13_0"); msgsetloc(1, "* (The coin slot is a mile long.)/%", "obj_room_castle_tv_kikky_slash_Step_0_gml_14_0"); var _d = d_make(); _d.side = 0; } if (con == 99 && !d_ex() && global.interact == 0) { con = 100; global.interact = 1; global.msc = -99; scr_speaker("no_name"); msgsetloc(0, "* (Coolant.)/%", "obj_room_castle_tv_kikky_slash_Step_0_gml_28_0"); var _d = d_make(); _d.side = 0; } if (con == 2 && !d_ex() && global.interact == 0) { con = 3; global.interact = 1; global.msc = -99; global.choice = -1; global.choicemsg[0] = stringsetloc("#Use", "obj_room_castle_tv_kikky_slash_Step_0_gml_42_0"); global.choicemsg[1] = stringsetloc("#Don't", "obj_room_castle_tv_kikky_slash_Step_0_gml_43_0"); global.choicemsg[2] = ""; global.choicemsg[3] = ""; scr_speaker("no_name"); if (is_tigerbomb) msgsetloc(0, "* (It's the TIGERBOMB.)/%", "obj_room_castle_tv_kikky_slash_Step_0_gml_49_0"); else msgsetloc(0, "* (It's the KIKKYBOMB.)/", "obj_room_castle_tv_kikky_slash_Step_0_gml_51_0"); msgnext("\\C2 "); var _d = d_make(); _d.side = 0; } if (con == 3) { if (is_tigerbomb) { if (!i_ex(obj_dialoguer)) con = 4; } else if (global.choice != -1) { k_d(1); if (global.choice == 1) { con = -1; global.interact = 0; } else { con = 4; } } } if (con == 4) { if (is_tigerbomb) { with (bomb_marker) { snd_play(snd_badexplosion); with (scr_marker_fancy(room_width / 2, room_height / 2, 4209)) { depth = -1000; image_speed = 1; image_xscale = 15; image_yscale = 15; timer = 0; step_func = function() { timer++; if (timer > 16) instance_destroy(); }; } instance_destroy(); } with (bomb_interact) instance_destroy(); alarm[1] = 6; con = 100; } else { with (bomb_marker) { y = scr_approach(y, ystart - 160, 4); if (y == (ystart - 160)) { snd_play(snd_kikkyspace); for (var i = 0; i < 8; i++) { with (scr_marker_fancy(x + 20, y + 20, 6468)) { motion_set((i / 8) * 360, 6); friction = 0.5; depth = -1000; image_speed = 1; timer = 0; step_func = function() { timer++; if (timer > 20) instance_destroy(); }; } } instance_create(x + 20, y + 20, obj_kikky); other.con = 5; instance_destroy(); } } } } if (con == 5) { with (bomb_interact) instance_destroy(); with (bomb_collider) instance_destroy(); con = -1; global.interact = 0; } if (con == 100 && !d_ex()) { con = -1; global.interact = 0; }