Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bowll_liquid_generator_Other_10

(view raw script w/o annotations or w/e)
1
if (marsh_count < marsh_max)
2
{
3
    if (obj_heart_battle_fighting_parent.idle_hsp_count > 0)
4
        instance_create(obj_heart_battle_fighting_parent.x, box.bbox_top - 30, obj_battle_enemy_attack_bowll_liquid_marshmallow);
5
    else
6
        instance_create(obj_heart_battle_fighting_parent.x + (global.speed_self * 4 * obj_heart_battle_fighting_parent.last_hsp), box.bbox_top - 30, obj_battle_enemy_attack_bowll_liquid_marshmallow);
7
    marsh_count += 1;
8
    alarm[0] = marsh_alarm;
9
}
10
else
11
{
12
    alarm[1] = end_alarm;
13
}