Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_ceroba_special_attack_red_bullet_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
var player_soul = 2979;
4
var hitbox = instance_create_depth(x, y, -100, obj_battle_ceroba_special_attack_red_bullet_hitbox);
5
hitbox.spawner = id;
6
image_alpha = 1;
7
target_x = player_soul.x + random_range(-2, 2);
8
target_y = player_soul.y;
9
turn_rate = 0.3;
10
destroy_on_contact = true;
11
speed = 20;
12
speed_inc = 0.05;
13
speed_max = 20;
14
direction = 270;
15
image_angle = direction;
16
aim = 20;
17
image_xscale = 2;
18
image_yscale = 2;
19
visible = false;