Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_justice_effect_Draw_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
with (obj_dialogue_box_battle)
4
{
5
    if (other.box_size > 0)
6
        draw_sprite_ext(sprite_index, 0, x, y, 1, 1, 0, c_black, 1)
7
    draw_sprite_ext(sprite_index, 0, (x - other.box_size * sprite_width * 0.5), (y - other.box_size * sprite_height * 0.5), (1 + other.box_size), (1 + other.box_size), 0, c_yellow, other.box_alpha)
8
}