Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_leafling_enemy_Create_0

related scripts: Alarm_4Create_0 Draw_0Other_12Other_22Step_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 = 0; timepoints = 0; if (object_index == obj_aqua_enemy) 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; setbattlemsg = false; for (i = 0; i < 10; i++) _charactsprite[i] = 382938298329; depth = 90 - ((y - cameray()) / 50); }
();
2
recruitcount = 0.5;
3
talkmax = 90;
4
image_speed = 0.16666666666666666;
5
idlesprite = spr_leafling_idle2;
6
hurtsprite = spr_leafling_hurt;
7
sparedsprite = spr_leafling_spare2;
8
custom_draw_example = 0;
9
pinneddown = false;
10
blowaway = false;
11
onoff = 0;
12
xoff = 0;
13
animsiner = 0;
14
ashake = 0;
15
blown = 0;
16
blowanimtimer = 0;
17
timer = 0;
18
starttimer = 0;
19
blowtimer = 0;
20
presstimer = 0;
21
presscount_1 = 0;
22
progress = 0;
23
acttimer = 0;
24
acttimermax = 210;
25
shrinktimer = 0;
26
spinsfxtimer = 12;