Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_ceroba_body_pacifist_phase_1_Step_2

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (sprite_index == spr_ceroba_body)
4
{
5
    obj_ceroba_head.image_alpha = image_alpha
6
    obj_ceroba_hand_right.image_alpha = image_alpha
7
    obj_ceroba_hand_left.image_alpha = image_alpha
8
    obj_ceroba_staff.image_alpha = image_alpha
9
    obj_ceroba_ponytail.image_alpha = image_alpha
10
    if (global.image_alpha_enemy_attacking < 1)
11
        image_blend = c_gray
12
    else
13
        image_blend = c_white
14
    obj_ceroba_head.image_blend = image_blend
15
    obj_ceroba_hand_right.image_blend = image_blend
16
    obj_ceroba_hand_left.image_blend = image_blend
17
    obj_ceroba_staff.image_blend = image_blend
18
    obj_ceroba_ponytail.image_blend = image_blend
19
}