1 |
function scr_start_enemy_attacking_dunebud_soloscr_start_enemy_attacking_dunebud_solofunction 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 |
} |