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