Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_dw_cyber_maze_queenscreen_Draw_0

(view raw script w/o annotations or w/e)
1
if (hatinit == 0)
2
{
3
    hat = 
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; }
(room_width, room_height, spr_werewirehat);
4
    hatinit = 1;
5
}
6
if (!i_ex(obj_battleback))
7
{
8
    if (i_ex(werewire6))
9
    {
10
        with (hat)
11
            setxy(other.werewire6.x + 20, other.werewire6.y - 28);
12
    }
13
    if (i_ex(werewire7))
14
    {
15
        with (hat)
16
            setxy(other.werewire7.x + 20, other.werewire7.y - 28);
17
    }
18
}