1 | image_speed = 0.5 - (global.stretch / 4); |
2 | image_xscale = (global.stretch * 2) - 0.5; |
3 | image_yscale = (global.stretch * 2) - 0.5; |
4 | x -= ((image_xscale - 1) * (sprite_width / 2)); |
5 | y -= ((image_yscale - 1) * (sprite_height / 2)); |
6 | snd_play(snd_laz); |
7 | if (image_speed == 0) |
8 | image_speed = 0.1; |
9 | global.damagetimer = ((1 / image_speed) * image_number) + 3; |