| 1 | if (live_call()) |
| 2 | return global.live_result; |
| 3 | if (hp_self > 0) |
| 4 | { |
| 5 | if (other == collider_id) |
| 6 | exit; |
| 7 | audio_play_sound(snd_arc_hit, 1, 0); |
| 8 | hit_flash = true; |
| 9 | if (other.object_index == obj_heart_yellow_shot_big) |
| 10 | { |
| 11 | collider_id = other; |
| 12 | hp_self -= 3; |
| 13 | } |
| 14 | else |
| 15 | { |
| 16 | instance_destroy(other); |
| 17 | hp_self -= 1; |
| 18 | } |
| 19 | alarm[0] |
| 20 | shake_strength = 4; |
| 21 | vspeed -= 12; |
| 22 | } |