1 | image_angle = direction; |
2 | if (con == 0) |
3 | { |
4 | timer += 1; |
5 | if (timer >= 2) |
6 | { |
7 | sons += 1; |
8 | son[sons] = instance_create_ch1(x, y, obj_fadechain_ch1); |
9 | son[sons].image_angle = image_angle; |
10 | son[sons].direction = direction; |
11 | son[sons].speed = speed / 2.5; |
12 | son[sons].active = 1; |
13 | son[sons].damage = 10; |
14 | scr_bullet_inherit_ch1 |
15 | timer = 0; |
16 | } |
17 | } |
18 | if (sons >= 30) |
19 | instance_destroy(); |