|
1
|
scr_bullet_initscr_bullet_init
function scr_bullet_init()
{
grazed = 0;
grazetimer = 0;
destroyonhit = 1;
target = 0;
inv = 60;
damage = 10;
element = 0;
grazepoints = 1;
timepoints = 1;
active = 1;
updateimageangle = 0;
} ();
|
|
2
|
destroyonhit = 0;
|
|
3
|
direction = 270;
|
|
4
|
stompwait = 15;
|
|
5
|
stomphold = 0;
|
|
6
|
scr_getboxboundsscr_getboxbounds
function scr_getboxbounds()
{
if (instance_exists(obj_growtangle))
{
minx = obj_growtangle.x - (obj_growtangle.sprite_width / 2);
maxx = obj_growtangle.x + (obj_growtangle.sprite_width / 2);
miny = obj_growtangle.y - (obj_growtangle.sprite_height / 2);
maxy = obj_growtangle.y + (obj_growtangle.sprite_height / 2);
}
else
{
minx = 999;
maxx = 999;
miny = 999;
maxy = 999;
}
} ();
|
|
7
|
active = 0;
|
|
8
|
stomplerp = 0;
|
|
9
|
stompspeed = 0.1;
|
|
10
|
shootbullets = 0;
|
|
11
|
pos = 0;
|
|
12
|
special = 0;
|
|
13
|
specialcon = 0;
|
|
14
|
specialtimer = 0;
|
|
15
|
hurttimer = 0;
|
|
16
|
hittimer = 0;
|
|
17
|
hurtx = x;
|
|
18
|
hurty = y;
|
|
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 = 4;
|