Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_guardener_throwable_bomb_Step_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (vspeed > vspeed_max)
4
    vspeed = vspeed_max
5
if (bbox_bottom >= (obj_dialogue_box_battle_transformation_any.bbox_bottom - 3))
6
{
7
    if (bounce_count > 0)
8
    {
9
        bounce_count -= 1
10
        vspeed = -10
11
        hspeed *= 0.35
12
        alarm[0] = 1
alarm[0]

audio_play_sound(snd_bullet_warning, 1, 0) image_blend = c_red alarm[1] = 2
13
    }
14
}
15
image_angle += 15