with (my_camzone) instance_destroy(); with (obj_plat_camera) { min_x = 0; max_x = room_width; } with (obj_plat_cam_clampzone) { if (y == -200) y = 200; if (x == 0 && y == 0) instance_destroy(); } if (!hit) exit; spawn_death_coins(); audio_stop_sound(snd_enemy_defeat_quick); snd_play(snd_enemy_defeat_quick); with (instance_create_depth(x, y, depth, obj_plat_vfx)) { sprite_index = spr_hit_vfx; image_speed = 1; } with (instance_create_depth(x, y, depth, obj_plat_vfx)) { sprite_index = spr_smokepuff; image_speed = 2; } clear_targets(); with (obj_plat_follower) drop_off_platform_mode(true); scr_plat_hitstop_global(8); var snd = snd_play_pitch(snd_creepylaugh, 0.8); snd_pitch_time(snd, 0.4, 15); snd_volume(snd, 0, 30); with (obj_plat_bullet) { scr_doom(self, 30); scr_lerpvar("image_alpha", image_alpha, 0, 30); } scr_flower_die(3, undefined, undefined, coindrops, false); with (obj_plat_bullet) { hit = 1; instance_destroy(); } if (simple) { with (obj_plat_enm_smallglove) { hit = 1; instance_destroy(); } with (obj_plat_enm_glovespawner) { if (extflag == other.extflag) { hit = 1; instance_destroy(); } } with (__spawner) instance_destroy(); }