Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_smoke_puff_axis_Step_0

(view raw script w/o annotations or w/e)
1
if (image_alpha < 1)
2
{
3
    image_alpha += 0.1
4
    return;
5
}
6
speed += speed_inc
7
if (speed > speed_max)
8
    speed = speed_max
9
if place_meeting(x, y, obj_heart_battle_fighting_parent)
10
{
11
    noloop = true
12
    with (obj_battle_enemy_attack_smoke_puff_axis)
13
    {
14
        if (y == other.y)
15
            noloop = true
16
    }
17
}
18
if (y < (obj_heart_battle_fighting_parent.bbox_top - 15) && noloop == false)
19
{
20
    obj_battlebox_controller_axis.axis_trash_meter = clamp((obj_battlebox_controller_axis.axis_trash_meter + 8), 0, 100)
21
    noloop = true
22
    with (obj_battle_enemy_attack_smoke_puff_axis)
23
    {
24
        if (y == other.y)
25
            noloop = true
26
    }
27
}