1 | scr_bullet_init |
2 | if (!instance_exists(obj_heart)) |
3 | instance_destroy(); |
4 | wall_destroy = 1; |
5 | image_alpha = 0; |
6 | updateimageangle = 1; |
7 | popping = 0; |
8 | spawnVirus = 1; |
9 | countdown = 0; |
10 | infection = 0; |
11 | targetsprite = sprite_index; |
12 | targetimage = image_index; |
13 | targetx = x; |
14 | targety = y; |
15 | spawning = true; |
16 | poisoncolor = #FF4FDC; |
17 | flash = 0; |
18 | infectTimer = 0; |
19 | sprite_index = spr_virovirokun_needle_spawn; |
20 | image_speed = 1/3; |
21 | virus_timer = 0; |
22 | active = false; |