Undertale script viewer

← back to main script listing

gml_Object_obj_mettb_body_Create_0

(view raw script w/o annotations or w/e)
1
legl = 0;
2
legr = 0;
3
arml = 0;
4
armr = 0;
5
leglh = 0;
6
legrh = 0;
7
xoffr = 0;
8
yoffl = 0;
9
xoffr = 0;
10
yoffl = 0;
11
siner = 0;
12
lsin = 0;
13
rsin = 0;
14
faceno = 0;
15
side = 0;
16
prevside = 0;
17
hurt = 2;
18
hurtface = 0;
19
myalpha = 1;
20
myblend = 16777215;
21
sineron = 1;
22
pause = 0;
23
legmode = 0;
24
dancewait = 25;
25
alarm[5] = dancewait * 5;
gml_Object_obj_mettb_body_Alarm_5.gml

alarm[5] = dancewait; if (global.myfight == 0 && global.mnfight == 0 && dance == 1) event_user(0);
26
dsf = 0;
27
ds = 0;
28
fadewhite = 0;
29
whiteval = 0;
30
bodyopen = 0;
31
bodyimg = 0;
32
heartdead = 0;
33
dance = 1;
34
alarm[6] = 5;
gml_Object_obj_mettb_body_Alarm_6.gml

if (noarm == 1) { xhau1 = instance_create(x + 36 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust); xhau2 = instance_create(x + 110 + sin(siner / 3.5), (y - legh) + 80 + (cos(siner / 3.5) * 2), obj_planeexhaust); xhau2.hspeed = -xhau2.hspeed; xhau1.depth = depth + 2; xhau2.depth = depth + 2; } alarm[6] = 10;
35
noarm = 0;
36
noleg = 0;
37
endface = 0;
38
face_set = 0;
39
do_room_goto = false;