1 | scr_bullet_init |
2 | phase = 0; |
3 | trackplayer = 0; |
4 | bouncepower = 1; |
5 | if (trackplayer != 0) |
6 | bouncepower = 1.25; |
7 | jumppeak = cameray() + 50; |
8 | nexttarget = (obj_growtangle.x - ((obj_growtangle.maxxscale * 75) / 2)) + random(obj_growtangle.maxxscale * 75); |
9 | currentrotation = 0; |
10 | animTimer = 0; |
11 | animspeed = 3; |
12 | animindex = 0; |
13 | bouncespecial = 0; |
14 | bouncepoint = (obj_growtangle.y + ((obj_growtangle.maxyscale * 75) / 2)) - 10; |
15 | destroyonhit = 0; |
16 | creator = 0; |
17 | defaultdepth = 0; |
18 | spawnbullets = 1; |
19 | bullettype = 0; |
20 | if (obj_swatchling_battle_controller.red_count > 0) |
21 | bullettype = 1; |
22 | heart_found = false; |