Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sneo_final_forme_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
element = 6;
3
if (instance_exists(obj_spamton_neo_enemy))
4
    damage = floor((global.monsterat[obj_spamton_neo_enemy.myself] * 5) / 3);
5
if (instance_exists(obj_sneo_bulletcontroller))
6
    target = obj_sneo_bulletcontroller.target;
7
grazepoints = 4;
8
steptimer = 0;
9
stepping = true;
10
pushback = 0;
11
advancespeed = 3;
12
image_speed = 0;
13
mouthopen = false;
14
destroyonhit = 0;
15
introtimer = 0;
16
intro = 0;
17
mouthx = 90;
18
mouthy = 142;
19
instance_create(x, y, obj_sneo_final_forme_hitbox);
20
state = 0;
21
formtimer = 0;
22
stepdir = -1;
23
made = 0;
24
fakeheart = -4;
25
fakeheart_speed = 0;
26
effecttimer = 0;
27
lerptimer = 0;
28
inhalesfx = 0;
29
hurtalpha = 0;
30
bullet_suck_x1 = 20;
31
bullet_suck_x2 = 130;
32
bullet_suck_y1 = 100;
33
bullet_suck_y2 = 190;
34
movetimer = 0;
35
moveframes = 12;
36
movecon = 0;
37
timer2 = 0;
38
timer3 = 0;
39
headoffset_x = 0;
40
headoffset_y = 0;
41
dmgcon = 0;
42
back = instance_create(x, y, obj_sneo_final_forme_mouth_back);
43
back.depth = depth + 1;
44
if (i_ex(obj_heart))
45
    back.depth = obj_heart.depth + 1;
46
hidemouthback = 0;
47
playback_sprite = scr_84_get_sprite
scr_84_get_sprite

function scr_84_get_sprite(arg0) { return ds_map_find_value(global.chemg_sprite_map, arg0); }
("spr_sneo_playback");