Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_start_enemy_attacking_bowll_solo

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

function scr_start_enemy_attacking_bowll_solo() //gml_Script_scr_start_enemy_attacking_bowll_solo { if (global.enemy_attack == "Bowll Test Song") { instance_create(319, 320, obj_dialogue_box_battle_transformation_any) with (obj_dialogue_box_battle_transformation_any) { sc_able = true sc_direction = "In" sc_dcurrent = 0 sc_speed = 0.1 sc_in_script = gml_Script_scr_start_enemy_attacking_bowll_solo_ext sc_out_script = gml_Script_scr_sme_yellow_rhythm_out_script_bowll sc_sprite = 1646 } instance_create((obj_dialogue_box_battle_transformation_any.bbox_left + 79), (obj_dialogue_box_battle_transformation_any.bbox_top + 202), obj_heart_battle_fighting_yellow_rhythm) } else { instance_create(319, 320, obj_dialogue_box_battle_transformation_any) instance_create(414, 94, obj_quote_bubble_battle_yellow_2) instance_create(0, 0, obj_quote_battle_bowll_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_bowll_solo
2
{
3
    if (global.enemy_attack == "Bowll Test Song")
4
    {
5
        instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
6
        with (obj_dialogue_box_battle_transformation_any)
7
        {
8
            sc_able = true
9
            sc_direction = "In"
10
            sc_dcurrent = 0
11
            sc_speed = 0.1
12
            sc_in_script = gml_Script_scr_start_enemy_attacking_bowll_solo_ext
13
            sc_out_script = gml_Script_scr_sme_yellow_rhythm_out_script_bowll
14
            sc_sprite = 1646
15
        }
16
        instance_create((obj_dialogue_box_battle_transformation_any.bbox_left + 79), (obj_dialogue_box_battle_transformation_any.bbox_top + 202), obj_heart_battle_fighting_yellow_rhythm)
17
    }
18
    else
19
    {
20
        instance_create(319, 320, obj_dialogue_box_battle_transformation_any)
21
        instance_create(414, 94, obj_quote_bubble_battle_yellow_2)
22
        instance_create(0, 0, obj_quote_battle_bowll_a)
23
        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)
24
    }
25
}