{
id: "robot_missile2",
on_create: "sound('missile_launch.ogg')",
on_players_side: true,
on_collide_with: "[shake_screen(0,100,0,-100), hit(collide_with), die()]",
on_collide_side: "die()",
on_collide_head: "die()",
on_collide_feet: "die()",
on_die: "spawn('explosion1', (x+5) - if(facing = -1, 30), y-15, facing)",
on_process: "if(abs(trail_x - x) > 64, [spawn('missile_trail2', x + if(facing = 1, -46, 74), y+4, facing), set_var('trail_x', x)], null)",
on_end_normal_anim: "if(cycle < 22, animation('normal'), die())",
solid_area: [14,0,28,10],
animation: {
	id: "normal",
	image: "vehicles/robot.png",
	rect: [57,11,94,22],
	velocity_x: 1200,
	velocity_y: 0,
	frames: 2,
	duration: 5,
},
}