|
1
|
scr_enemy_object_initscr_enemy_object_init
function scr_enemy_object_init()
{
becomeflash = 0;
flash = 0;
turnt = 0;
turns = 0;
talktimer = 0;
state = 0;
siner = 0;
fsiner = 0;
talked = 0;
attacked = 0;
hurt = 0;
hurttimer = 0;
hurtshake = 0;
shakex = 0;
mywriter = 343249823;
acttimer = 0;
con = 0;
dodgetimer = 0;
fatal = 0;
candodge = 0;
mytarget = 0;
ambushed = 0;
firststrike = 0;
damage = -1;
grazepoints = -1;
timepoints = -1;
inv = -1;
target = -1;
grazed = -1;
grazetimer = -1;
element = "none";
acting = 0;
actcon = 0;
actingsus = 0;
actingnoe = 0;
actingral = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
simulorderkri = -1;
simulordersus = -1;
simulorderral = -1;
simulordernoe = -1;
simultotal = 0;
simulboss = -1;
talkmax = 90;
mercymod = 0;
maxmercy = 100;
recruitable = 1;
freezable = 1;
recruitcount = 1;
sactionboxx = 0;
sactionboxy = 0;
hurtspriteoffx = 0;
hurtspriteoffy = 0;
image_xscale = 2;
image_yscale = 2;
image_speed = 0.2;
idlesprite = spr_diamond_knight_overworld;
hurtsprite = spr_diamond_knight_hurt;
sparedsprite = spr_diamond_knight_spared;
custombody = 0;
for (i = 0; i < 10; i++)
_charactsprite[i] = 382938298329;
depth = 90 - ((y - cameray()) / 50);
} ();
|
|
2
|
recruitcount = 5;
|
|
3
|
talkmax = 90;
|
|
4
|
image_speed = 0.16666666666666666;
|
|
5
|
idlesprite = spr_shadowman_idle_b;
|
|
6
|
hurtsprite = spr_shadowman_hurt;
|
|
7
|
sparedsprite = spr_shadowman_spare;
|
|
8
|
if (i_ex(obj_rouxls_ch3_enemy) && obj_rouxls_ch3_enemy.phase == 1)
|
|
9
|
{
|
|
10
|
idlesprite = spr_shadowman_idle_bunny;
|
|
11
|
thissprite = spr_shadowman_idle_bunny;
|
|
12
|
sparedsprite = spr_shadowman_idle_bunny;
|
|
13
|
sprite_index = spr_shadowman_idle_bunny;
|
|
14
|
}
|
|
15
|
if (i_ex(obj_rouxls_ch3_enemy) && obj_rouxls_ch3_enemy.phase == 2)
|
|
16
|
{
|
|
17
|
idlesprite = spr_shadowman_idle_cat;
|
|
18
|
thissprite = spr_shadowman_idle_cat;
|
|
19
|
sparedsprite = spr_shadowman_idle_cat;
|
|
20
|
sprite_index = spr_shadowman_idle_cat;
|
|
21
|
}
|
|
22
|
custom_draw_example = 1;
|
|
23
|
gainmercyovertime = 1;
|
|
24
|
gainmercytimer = 0;
|
|
25
|
savekrishp = global.hp[1];
|
|
26
|
savesusiehp = global.hp[2];
|
|
27
|
saveralseihp = global.hp[3];
|
|
28
|
sharpshoottimer = 0;
|
|
29
|
sharpshootmercy = 0;
|
|
30
|
sharpshootlength = 0;
|
|
31
|
everyone100mercy = false;
|
|
32
|
darken = 0;
|
|
33
|
darkenalpha = 0;
|
|
34
|
sinery = 0;
|
|
35
|
actype = 0;
|
|
36
|
forceacttype = 0;
|
|
37
|
timberb = 0;
|
|
38
|
turn = 0;
|
|
39
|
createballoon = true;
|
|
40
|
myattackchoice = 0;
|
|
41
|
skipattack = false;
|
|
42
|
stopanimating = 0;
|
|
43
|
board4sharpshootscene = false;
|
|
44
|
boogiedmgwriter = -1;
|
|
45
|
guntimer = 0;
|
|
46
|
dingus = false;
|
|
47
|
init = 0;
|
|
48
|
firstframe = 0;
|
|
49
|
krisdancing = false;
|
|
50
|
susiedancing = false;
|
|
51
|
ralseidancing = false;
|