Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_axis_laser_hand_Create_0

(view raw script w/o annotations or w/e)
1
var battle_box = 3154;
2
if (live_call())
3
    return global.live_result;
4
image_alpha = 0;
5
image_speed = 0;
6
scene = 0;
7
cutscene_timer = 0;
8
move_dir = point_direction(battle_box.x, battle_box.y, x, y);
9
move_dist = point_distance(x, y, battle_box.x, battle_box.y);
10
move_dir_inc = 0;
11
move_dir_inc_max = 3;
12
move_dir_switch_timer = 45;
13
move_dir_switch_timer_max = move_dir_switch_timer;
14
move_dir_switch = false;
15
laser_width = 20;
16
laser_length = 900;
17
laser_active = false;
18
laser_blocked = false;
19
laser_x1 = 0;
20
laser_x2 = 0;
21
laser_y1 = 0;
22
laser_y2 = 0;
23
impact_frame_current = 0;
24
impact_frame_max = 1;
25
impact_frame_speed = 0.25;
26
laser_frame_current = 0;
27
laser_frame_max = 1;
28
laser_frame_speed = 0.25;