Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_spamton_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; acting = 0; actcon = 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; 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
talkmax = 90;
3
image_speed = 0.16666666666666666;
4
idlesprite = spr_spamton_idle;
5
hurtsprite = spr_spamton_hurt;
6
sparedsprite = spr_spamton_spared;
7
bodymode = 0;
8
bodycon = 0;
9
bodytimer = 0;
10
headpiece = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(-999, -999, spr_spamton_laugh_top);
11
headpiece.depth = -10;
12
headpiece.image_speed = 0.1;
13
bodyadvance = 0;
14
bulletoverride = -1;
15
help_counter = 0;
16
vacuum_attack = 0;
17
singles_attack = 0;
18
enlarge_attack = 0;
19
party_heal = false;
20
deal_counter = 0;
21
deal_read = 0;
22
correct_answer = 0;
23
kromer_message = 0;
24
remx = x;
25
remy = y;
26
global.flag[20 other_text_command] = 0;
27
shakeamt = 0;
28
expand_spam = 0;