Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_queen_wineglass_Create_0

(view raw script w/o annotations or w/e)
1
prefill = 0;
2
fill = 0;
3
state = 0;
4
timer = 0;
5
xx = 0;
6
yy = -10;
7
starttimer = 0;
8
x = obj_growtangle.x;
9
y = obj_growtangle.y + 58;
10
xstart = x;
11
ystart = y;
12
image_blend = obj_growtangle.image_blend;
13
image_speed = 0;
14
depth = obj_growtangle.depth - 1;
15
image_xscale = 2;
16
image_yscale = 2;
17
acidColor = c_white;
18
if (scr_debug
scr_debug

function scr_debug() { return 0; }
() && !obj_queen_enemy.whiteAcid)
19
    acidColor = #B5E61D;
20
hurtbox = instance_create(x - 100, 400, obj_queen_wine_attack_bottom_hurtbox);
21
instance_create(x, y, obj_queen_wineflass_pushin);
22
starty = obj_queen_wineglass.y + 53;
23
winewave = instance_create(x, starty, obj_queen_winewave);
24
winewave.depth = obj_queen_wineglass.depth + 3;
25
winewave.xspeed = -3;
26
winewave.image_blend = acidColor;
27
winewave.image_alpha = 0.5;
28
winewave2 = instance_create(x, starty, obj_queen_winewave);
29
winewave2.depth = obj_queen_wineglass.depth + 1;
30
winewave2.image_blend = acidColor;
31
winewave2.xspeed = 4;