Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_holywatercooler_enemy_Create_0

(view raw script w/o annotations or w/e)
1
scr_enemy_object_init
scr_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 = 4;
3
talkmax = 90;
4
image_speed = 0.1;
5
idlesprite = spr_watercooler;
6
hurtsprite = spr_watercooler;
7
sparedsprite = spr_watercooler_spared;
8
noballoon = false;
9
rr = 0;
10
myattackchoice = 1;
11
_init = false;
12
begformercycount = 0;
13
amimissmizzle = false;
14
pinkflashcon = 0;
15
pinkflashtimer = 0;
16
balloonorder = 0;
17
ballooncon = 0;
18
balloonend = 1;
19
talked = 0;
20
talktimer = 0;
21
talkedcon = 0;
22
ralseitalks = 0;
23
susietalks = 0;
24
turns = 1;
25
violencecon = 0;
26
begformercyskip = false;
27
begformercycount = 0;
28
chatcount = 0;
29
flirtcount = 0;
30
previouslyflirted = false;
31
if (global.flag[1144 cooler_2_flirt] == 1)
32
    previouslyflirted = true;
33
gothurtlastturn = false;
34
healthprev = 0;
35
violenceturn = 0;
36
hurtinit = 0;
37
turnintomizzle = false;
38
acttalked = false;
39
flirtedbefore = false;
40
havestolenbefore = false;
41
init = 0;
42
failedflirting = false;
43
difficulty = 0;
44
tiredcount = 0;
45
timer = 0;
46
transformationcon = 0;
47
transformationtimer = 0;
48
introcon = 1;
49
introtimer = 0;