Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_bullet_rotating_Step_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
if (!instance_exists(obj_dialogue_box_battle_transformation_any))
4
{
5
    instance_destroy();
6
    exit;
7
}
8
var battle_box = 3154;
9
if (speed == 0)
10
{
11
    x = battle_box.x + lengthdir_x(bullet_dist, bullet_dir);
12
    y = battle_box.y + lengthdir_y(bullet_dist, bullet_dir);
13
}