Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_room_castle_ralsei_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
var ralsei_window = 
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; }
(255, 48, bg_dw_ralsei_room_window);
3
ralsei_window.depth = 990000;
4
ralsei_window.image_speed = 0.07;
5
if (global.flag[307 fave_party_member] == 1)
6
{
7
    var ralsei_plush = instance_create(140, 345, obj_npc_sign);
8
    ralsei_plush.sprite_index = spr_dw_ralsei_plush;
9
    with (ralsei_plush)
10
        
scr_depth
scr_depth

function
scr_depth(arg0 = id, arg1 = 0)
{ with (arg0) depth = 100000 - ((y * 10) + (sprite_height * 10) + (arg1 * 10)); }
();
11
}