Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_attack_decibat_stalagmite

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

function scr_enemy_attack_decibat_stalagmite() //gml_Script_scr_enemy_attack_decibat_stalagmite { var random_number = irandom_range((obj_dialogue_box_battle_transformation_any.bbox_left + 5), (obj_dialogue_box_battle_transformation_any.bbox_right - 5)) global.attack_counter_max = 15 if (global.attack_counter == 0) instance_create(random_number, (obj_dialogue_box_battle_transformation_any.bbox_top + 5), obj_battle_enemy_attack_decibat_stalagmite) }
() //gml_Script_scr_enemy_attack_decibat_stalagmite
2
{
3
    var random_number = irandom_range((obj_dialogue_box_battle_transformation_any.bbox_left + 5), (obj_dialogue_box_battle_transformation_any.bbox_right - 5))
4
    global.attack_counter_max = 15
5
    if (global.attack_counter == 0)
6
        instance_create(random_number, (obj_dialogue_box_battle_transformation_any.bbox_top + 5), obj_battle_enemy_attack_decibat_stalagmite)
7
}