Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_attacking_dunebud_solo

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

function scr_start_enemy_attacking_dunebud_solo() //gml_Script_scr_start_enemy_attacking_dunebud_solo { instance_create(319, 320, obj_dialogue_box_battle_transformation_any) if (global.enemy_attack == "Dunebud Sandcastle") instance_create(264, 16, obj_quote_bubble_battle_yellow_above) else instance_create(402, 132, obj_quote_bubble_battle_yellow) instance_create(0, 0, obj_quote_battle_dunebud_a) instance_create(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), round(obj_dialogue_box_battle_transformation_any.bbox_top + (obj_dialogue_box_battle_transformation_any.bbox_bottom - obj_dialogue_box_battle_transformation_any.bbox_top) / 2), obj_heart_battle_fighting_red) }
() //gml_Script_scr_start_enemy_attacking_dunebud_solo
2
{
3
    instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
4
    if (global.enemy_attack == "Dunebud Sandcastle")
5
        instance_create(264, 16, obj_quote_bubble_battle_yellow_above)
6
    else
7
        instance_create(402, 132, obj_quote_bubble_battle_yellow)
8
    instance_create(0, 0, obj_quote_battle_dunebud_a)
9
    instance_create(round(obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.bbox_right - obj_dialogue_box_battle_transformation_any.bbox_left) / 2), round(obj_dialogue_box_battle_transformation_any.bbox_top + (obj_dialogue_box_battle_transformation_any.bbox_bottom - obj_dialogue_box_battle_transformation_any.bbox_top) / 2), obj_heart_battle_fighting_red)
10
}