This is a collision event
this code works at image_index = 19 but not in 38, doesn't make a difference if I separate them or if I get rid of image_index = 19 one completely. Some weird reason same code same rules won't work at the other image_index.
GML:
if (image_index == 19 or image_index == 38)
{
healthManager_Obj.playerHealth -= healthManager_Obj.maxHealth * 0.1;
hera_Obj.image_blend = $FF0000FF & $ffffff;
hera_Obj.image_alpha = ($FF0000FF >> 24) / $ff;
hera_Obj.alarm[0] = 0.25 * room_speed;
}