Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_transition2_Create_0

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

alarm[0] = fadespeed if (fadein == false) fadealpha += 0.05 if (fadein == true) { fadealpha -= 0.05 if (fadealpha <= 0) instance_destroy() } if (fadealpha >= 1) { room_goto(newRoom) fadein = true }
5
yy = 0
6
xx = 0
7
fadein = false