Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_battle_draw_inside_battle_box

(view raw script w/o annotations or w/e)
1
function scr_battle_draw_inside_battle_box
scr_battle_draw_inside_battle_box

function scr_battle_draw_inside_battle_box() //gml_Script_scr_battle_draw_inside_battle_box { var target = obj_dialogue_box_battle_transformation_any var return_value = draw_sprite_clip(sprite_index, image_index, x, y, (target.bbox_left + 5), (target.bbox_top + 5), (target.sprite_width - 10), (target.sprite_height - 10)) if (return_value == true) return true; else return false; }
() //gml_Script_scr_battle_draw_inside_battle_box
2
{
3
    var target = obj_dialogue_box_battle_transformation_any
4
    var return_value = draw_sprite_clip(sprite_index, image_index, x, y, (target.bbox_left + 5), (target.bbox_top + 5), (target.sprite_width - 10), (target.sprite_height - 10))
5
    if (return_value == true)
6
        return true;
7
    else
8
        return false;
9
}