1 | scr_bullet_init |
2 | if (!instance_exists(obj_heart)) |
3 | instance_destroy(); |
4 | timer = 0; |
5 | con = 0; |
6 | siner = 0; |
7 | maxhspeed = 8; |
8 | accel = 1; |
9 | image_xscale = 1.15; |
10 | image_yscale = 1.15; |
11 | timer = 0; |
12 | init = 0; |
13 | active = 1; |
14 | damage = 1; |
15 | howlong = 20; |
16 | howfar = 0; |
17 | flipSpeed = 4; |
18 | flipTimer = 0; |
19 | if (instance_exists(obj_queen_enemy)) |
20 | damage = global.monsterat[obj_queen_enemy.myself] * 5; |
21 | if (instance_exists(obj_queen_bulletcontroller)) |
22 | target = obj_queen_bulletcontroller.target; |
23 | grazepoints = 3; |