1 | image_speed = 0; |
2 | xxx = 0; |
3 | if (x <= obj_target.x) |
4 | hspeed = global.attackspeed + random(global.attackspeedr); |
5 | if (x > (obj_target.x + obj_target.sprite_width)) |
6 | hspeed = -(global.attackspeed + random(global.attackspeedr)); |
7 | if (global.weapon == 13) |
8 | hspeed *= 1.25; |