function showerhead_bomb_ai()
{
	if hp <= 0
	{
		is_dead = true;
		enemy_death();
	}
	if --inv_timer <= 0
		hp = 1;
	
    y_spd += global.g / 1.5 * global.time_scale;
    
    if place_meeting(x, y + y_spd, oParentSolid)
	{
	    while !place_meeting(x, y + sign(y_spd), oParentSolid)
	        y += sign(y_spd);
	    y_spd *= bounce_factor;
    
	    if ++bounce_count >= 3
			hp = 0;
	}
	
	mask_index = sRec72;
	if place_meeting(x, y, global.player)
		hp = 0;
	mask_index = sRec96;
    
    x += x_spd * global.time_scale;
    y += y_spd * global.time_scale;
};