Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_transition_white_debug_Create_0

(view raw script w/o annotations or w/e)
1
fadealpha = 0;
2
newRoom = 0;
3
fadespeed = 1;
4
alarm[0] = fadespeed;
gml_Object_obj_transition_white_debug_Alarm_0.gml

alarm[0] = fadespeed; if (fadein == false) fadealpha += 0.007; if (fadein == true) { fadealpha -= 0.1; if (fadealpha <= 0) { instance_destroy(); if (instance_exists(obj_pl) && global.route != 2) obj_pl.alarm[0] = 5; } }
5
yy = 0;
6
xx = 0;
7
fadein = false;
8
scene = 0;
9
if (instance_exists(obj_pl))
10
{
11
    x = obj_pl.x;
12
    y = obj_pl.y;
13
}
14
else
15
{
16
    x = xx;
17
}
18
y = yy;
19
sw = false;
20
new_room = 0;
21
new_route = 1;