Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_battleLayerHighlight_Step_0

(view raw script w/o annotations or w/e)
1
if (i_ex(obj_mainchara))
2
{
3
    if (obj_mainchara.battlemode == 1)
4
        myalpha = lerp(myalpha, 1, 0.25);
5
    else
6
        myalpha = lerp(myalpha, 0, 0.35);
7
}
8
else
9
{
10
    myalpha = lerp(myalpha, 0, 0.35);
11
}