Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_enemy_attack_crispy_tub

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

function scr_enemy_attack_crispy_tub() //gml_Script_scr_enemy_attack_crispy_tub { var distance_y = 10 global.attack_counter_max = 30 if (global.attack_counter == 0) instance_create(obj_heart_battle_fighting_parent.x, (obj_dialogue_box_battle_transformation_any.bbox_top - distance_y), obj_battle_enemy_attack_crispy_tub) }
() //gml_Script_scr_enemy_attack_crispy_tub
2
{
3
    var distance_y = 10
4
    global.attack_counter_max = 30
5
    if (global.attack_counter == 0)
6
        instance_create(obj_heart_battle_fighting_parent.x, (obj_dialogue_box_battle_transformation_any.bbox_top - distance_y), obj_battle_enemy_attack_crispy_tub)
7
}