Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_ceroba_phase_1_transformation_Draw_73

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
draw_set_alpha(draw_alpha)
4
draw_set_color(c_black)
5
draw_rectangle(0, 0, 640, 480, false)
6
draw_set_alpha(1)
7
if (scene >= 29 && instance_exists(obj_ceroba_transformation_mask))
8
{
9
    with (obj_ceroba_transformation_mask)
10
        draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha)
11
}
12
if (scene < 6 && instance_exists(obj_heart_battle_fighting_parent))
13
{
14
    shader_set(sh_flash)
15
    draw_sprite_ext(obj_heart_battle_fighting_parent.sprite_index, obj_heart_battle_fighting_parent.image_index, (obj_heart_battle_fighting_parent.x + soul_x_offset), (obj_heart_battle_fighting_parent.y + soul_y_offset), 1, 1, 0, c_white, soul_flash_overlay)
16
    shader_reset()
17
    draw_sprite_ext(obj_heart_battle_fighting_parent.sprite_index, obj_heart_battle_fighting_parent.image_index, (obj_heart_battle_fighting_parent.x + soul_x_offset), (obj_heart_battle_fighting_parent.y + soul_y_offset), 1, 1, 0, c_white, 1)
18
}