Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_space_rock_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if is_green
4
{
5
    sin_value += 5
6
    if (sin_value > 360)
7
        sin_value -= 360
8
    color_value = sin(degtorad(sin_value)) * 255
9
    image_blend = make_color_rgb(color_value, 255, color_value)
10
}