gml_Object_obj_lastbeam_Alarm_5.gmlsnd_play(snd_hurt1);
if (instance_exists(obj_shaker) == 0)
instance_create(0, 0, obj_shaker);
if (hits == 0)
global.hp = 1;
if (hits == 1)
global.hp = 1;
if (hits == 2)
global.hp = 0.9;
if (hits == 3)
global.hp = 0.5;
if (hits == 4)
global.hp = 0.1;
if (hits == 5)
global.hp = 0.01;
if (hits == 6)
global.flag[509 decimal_hp_state] = 1;
if (hits == 7)
global.flag[509 decimal_hp_state] = 2;
if (hits == 8)
global.flag[509 decimal_hp_state] = 3;
if (hits == 9)
global.flag[509 decimal_hp_state] = 4;
hits += 1;
alarm[5] = 40;