Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_rouxls_annyoing_dog_controller_Create_0

(view raw script w/o annotations or w/e)
1
var cx = camerax();
2
var cy = cameray();
3
timer = 0;
4
con = 0;
5
siner = 0;
6
recoveryplatform = instance_create(cx + (camerawidth() / 2), -100, obj_marker);
7
recoveryplatform.sprite_index = spr_recovery_platform;
8
recoveryplatform.image_xscale = 2;
9
recoveryplatform.image_yscale = 2;
10
glow = instance_create(cx + (camerawidth() / 2), -100, obj_marker);
11
glow.sprite_index = spr_recovery_platform_glow;
12
glow.image_xscale = 1.2;
13
glow.image_yscale = 1;
14
annoyingdog = instance_create(cx + (camerawidth() / 2), -100, obj_marker);
15
annoyingdog.sprite_index = spr_dog_stand;
16
annoyingdog.image_xscale = 2;
17
annoyingdog.image_yscale = 2;
18
annoyingdog.image_speed = 0;
19
annoyingdog.depth = recoveryplatform.depth + 1;
20
depth = annoyingdog.depth - 40;
21
platform_y = cy - 80;
22
whitealpha = 0;
23
alpha = 1;
24
smashtimer = 0;
25
textspd = 1;
26
textoffset = 0;
27
siner = 0;
28
dogspin = 0;
29
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
30
{
31
    if (!instance_exists(obj_battleback))
32
    {
33
        con = 3;
34
        timer = 55;
35
    }
36
}