Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_attack_moray_balls_sword_Alarm_0

(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
    image_speed = (1/3)
6
    return;
7
}
8
alarm[0] = 0.05 * room_speed
alarm[0]

var fade_inc = 0.2 image_alpha += fade_inc if (image_alpha >= 1) { image_speed = (1/3) return; } alarm[0] = 0.05 * room_speed