Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_moray_balls_sword_Alarm_1

(view raw script w/o annotations or w/e)
1
var fade_inc = 0.2
2
image_alpha -= fade_inc
3
if (image_alpha >= 1)
4
{
5
    instance_destroy()
6
    return;
7
}
8
alarm[1] = 0.05 * room_speed
alarm[1]

var fade_inc = 0.2 image_alpha -= fade_inc if (image_alpha >= 1) { instance_destroy() return; } alarm[1] = 0.05 * room_speed