Undertale script viewer

← back to main script listing

gml_Object_obj_asriel_body_Create_0

(view raw script w/o annotations or w/e)
1
x = 315;
2
y = 50;
3
pause = 0;
4
siner = 0;
5
rely = 0;
6
relx = 0;
7
headrot = 0;
8
armrot_l = 0;
9
armrot_r = 0;
10
torsorot = 0;
11
alarm[0] = 1;
gml_Object_obj_asriel_body_Alarm_0.gml

if (aimage == 1) { o = instance_create(x + relx, y + rely, obj_afterimage_asriel); o.sprite_index = sprite_index; o.image_index = image_index; o.image_speed = 0; o.image_alpha = 0.5; o.depth = depth + 1; } alarm[0] = 1;
12
aimage = 0;
13
normal = 1;
14
startx = x;
15
starty = y;
16
starcon = 0;
17
type = 0;
18
bladecon = 0;
19
specialarm = 0;
20
arm_alpha = 1;
21
heady = 0;
22
headx = 0;
23
guncon = 0;
24
gonercon = 0;
25
s_s = 0;
26
global.faceemotion = 0;
27
shrug = 0;
28
shrug_x = 0;
29
aligncon = 1;
30
specialnormal = 1;
31
n_siner = 0;
32
cr = caster_load("music/create.ogg");
33
powersfx = caster_load("music/sfx/sfx_spellcast.ogg");
34
sn = 0;
35
with (obj_battlebg)
36
    instance_destroy();
37
if (global.flag[502 refuse_count] > 0 && global.flag[7 true_pacifist] == 0)
38
{
39
    specialnormal = 0;
40
    aligncon = 0;
41
}
42
darker = 0;
43
darker_x = 0;
44
u_gen = 0;
45
h_mode = 0;
46
transform = 0;
47
stetch = 0;
48
if (global.flag[502 refuse_count] > 0)
49
    aimage = 1;