Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_attacking_energy_balls

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

function scr_start_enemy_attacking_energy_balls() //gml_Script_scr_start_enemy_attacking_energy_balls { instance_create(319, 320, obj_dialogue_box_battle_transformation_any) 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) obj_heart_battle_fighting_parent.moveable = true }
() //gml_Script_scr_start_enemy_attacking_energy_balls
2
{
3
    instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
4
    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)
5
    obj_heart_battle_fighting_parent.moveable = true
6
}