if (con == 0 && obj_mainchara.x >= x) { instance_create(__view_get(e__VW.XView, 0) + 700, obj_mainchara.y, obj_dogcar); con = 1; } if (con == 2) { global.interact = 1; with (obj_mainchara) alarm[1] = -1; black = 1; with (obj_dogcar) instance_destroy(); with (obj_animation) instance_destroy(); with (obj_dmgwriter) instance_destroy(); audio_stop_all(); audio_play_sound(snd_break2, 50, 0); con = 3; timer = 0; remy = obj_mainchara.y; remx = obj_mainchara.x; fellkris = scr_dark_marker(obj_mainchara.x, obj_mainchara.y, spr_kris_fell); fellkris.depth = -200; } if (con == 3) { timer += 1; if (timer >= 45) { timer = 0; con = 4; } } if (con == 4) { mus_initloop("gameover_short.ogg"); instance_create(__view_get(e__VW.XView, 0) + 110, __view_get(e__VW.YView, 0) + 100, obj_dogcar_gameover); con = 5; timer = 0; } if (con == 5) { with (fellkris) { image_alpha -= 0.04; y += 4; } timer += 1; if (timer >= 120) { con = 6; timer = 0; snd_free_all(); dogcar = instance_create(__view_get(e__VW.XView, 0) + 700, obj_dogcar_gameover.y + 50, obj_dogcar); dogcar.hspeed = -30; dogcar.mode = 1; } } if (con == 6) { if (!instance_exists(obj_dogcar_gameover)) { timer += 1; if (timer >= 100) { global.flag[917] = 1; global.interact = 0; global.facing = 0; fader = instance_create(0, 0, obj_persistentfadein); fader.image_alpha = 6; fader.fadespeed = -2; scr_itemget(33); room_goto(room_dw_city_moss); } } } enum e__VW { XView, YView, WView, HView, Angle, HBorder, VBorder, HSpeed, VSpeed, Object, Visible, XPort, YPort, WPort, HPort, Camera, SurfaceID }