Deltarune script viewer

← back to main script listing

gml_Object_obj_controller_mansion_hands_Create_0

(view raw script w/o annotations or w/e)
1
depth = 890200;
2
con = 0;
3
hand1 = 0;
4
hand2 = 0;
5
coverup = 0;
6
bubbles = 0;
7
timer = 0;
8
if (global.flag[343 made_high_five] == 0)
9
{
10
    con = 0;
11
    hand1 = instance_create(264, 64, obj_marker);
12
    hand1.sprite_index = spr_dw_mansion_hands_cutscene;
13
    hand1.visible = true;
14
    hand1.image_xscale = -2;
15
    hand1.image_yscale = 2;
16
    hand1.image_speed = 0;
17
    hand1.image_index = 3;
18
    hand1.depth = 890200;
19
    bubbles1 = instance_create(184, 238, obj_marker);
20
    bubbles1.sprite_index = spr_mansion_hands_bubbles;
21
    bubbles1.image_xscale = 2;
22
    bubbles1.image_yscale = 2;
23
    bubbles1.image_speed = 0.25;
24
    bubbles1.depth = 890100;
25
}
26
if (global.flag[343 made_high_five] == 1)
27
{
28
    hand1 = instance_create(264, 64, obj_marker);
29
    hand1.sprite_index = spr_dw_mansion_hands_cutscene;
30
    hand1.image_xscale = -2;
31
    hand1.image_yscale = 2;
32
    hand1.image_speed = 0;
33
    hand1.image_index = 3;
34
    hand1.depth = 890200;
35
    hand2 = instance_create(499, 64, obj_marker);
36
    hand2.sprite_index = spr_dw_mansion_hands_cutscene;
37
    hand2.image_xscale = -2;
38
    hand2.image_yscale = 2;
39
    hand2.image_speed = 0;
40
    hand2.image_index = 1;
41
    hand2.depth = 890200;
42
    bubbles1 = instance_create(420, 238, obj_marker);
43
    bubbles1.sprite_index = spr_mansion_hands_bubbles;
44
    bubbles1.image_xscale = 2;
45
    bubbles1.image_yscale = 2;
46
    bubbles1.image_speed = 0.25;
47
    bubbles1.depth = 890100;
48
    bubbles2 = instance_create(184, 238, obj_marker);
49
    bubbles2.sprite_index = spr_mansion_hands_bubbles;
50
    bubbles2.image_xscale = 2;
51
    bubbles2.image_yscale = 2;
52
    bubbles2.image_speed = 0.25;
53
    bubbles2.depth = 890100;
54
    safe_delete(obj_camera_area);
55
    con = 99;
56
}