Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_room_ranking_t_Create_0

(view raw script w/o annotations or w/e)
1
con = -1;
2
type = 0;
3
if (global.plot >= 150)
4
    type = 1;
5
explain_vfx = -4;
6
explain_close_time = 12;
7
explain_close_timer = explain_close_time;
8
input_check = false;
9
pitch = 0.8;
10
var _book_marker = 
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; }
(185, 245, spr_castle_book_pillar);
11
with (_book_marker)
12
    depth = 900000;
13
var _book_shadow = instance_create(0, 0, obj_dw_ranking_t_shadow_char);
14
with (_book_shadow)
15
    init(_book_marker, 0, 0.4);
16
var _book_readable = instance_create(_book_marker.x + 2, _book_marker.y + 20, obj_readable_room1);
17
with (_book_readable)
18
{
19
    extflag = "book";
20
    image_xscale = 2;
21
    image_yscale = 2;
22
}
23
var _book_block = instance_create(_book_marker.x, _book_marker.y + 16, obj_solidblocksized);
24
with (_book_block)
25
    image_xscale = 1.2;