Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_dw_puzzlecloset_1_bush_Create_0

(view raw script w/o annotations or w/e)
1
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
2
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
3
if (global.flag[1091 susie_notice_sword] == 1)
4
    instance_destroy();
5
if (room == room_dw_puzzlecloset_2)
6
    sprite_index = spr_board_pushableblock;