Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_smokepuff_Create_0

(view raw script w/o annotations or w/e)
1
image_index = 0;
2
image_speed = 0;
3
lastframe = sprite_get_number(sprite_index) - 1;
4
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
5
depth = 100000;
6
init = 0;
7
image_blend = #C9C9C9;
8
if (room == room_dw_teevie_shadow_guys)
9
{
10
    depth = 100001;
11
    setxy(
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(x),
scr_even
scr_even

function
scr_even(arg0)
{ return round(arg0 / 2) * 2; }
(y));
12
}
13
if (room == room_dw_b3bs_extrapuzzle || room == room_dw_b3bs_mysterypuzzle || room == room_dw_b3bs_bibliox)
14
    depth = 100001;