1 | image_xscale *= 1.3; |
2 | image_yscale *= 1.3; |
3 | image_xscale = clamp(image_xscale, 0, 3); |
4 | image_yscale = clamp(image_yscale, 0, 2); |
5 | if (exploded == 1) |
6 | { |
7 | active = 0; |
8 | image_index += 1; |
9 | image_alpha -= 0.2; |
10 | if (image_index >= 4) |
11 | instance_destroy(); |
12 | } |
13 | if (obj_mainchara.battlemode == 0) |
14 | image_alpha *= 0.9; |
15 | if (image_alpha < 0.01) |
16 | instance_destroy(); |
17 | if (hit != 0) |
18 | exploded = 1; |