Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_background_boss_battle_axis_yellow_Step_0

(view raw script w/o annotations or w/e)
1
if (global.current_hp_enemy <= 0)
2
    fade_out = true
3
if (fade_out == true)
4
{
5
    if (overlay_alpha < 1)
6
        overlay_alpha += 0.15
7
    else
8
        overlay_alpha = 1
9
}