1 | if (active == 0) |
2 | return; |
3 | if (frametype == 0) |
4 | { |
5 | frametype = 1 |
6 | other.heart_health -= 4 |
7 | } |
8 | else if (frametype == 1) |
9 | { |
10 | frametype = 0 |
11 | hp -= 10 |
12 | alarm[0] |
13 | if (!audio_is_playing(snd_hurt1)) |
14 | snd_play(snd_hurt1) |
15 | } |