Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_battle_fighting_axis_Create_0

(view raw script w/o annotations or w/e)
1
depth = -701;
2
walk_speed = global.speed_self + (1 * sign(global.current_sp_self));
3
image_speed = 0;
4
image_index = 0;
5
image_alpha = 0;
6
alarm[1] = 1;
7
vulnerable = true;
8
moveable = false;
9
movement_mode = 1;
10
hsp_factor = 0;
11
vsp_factor = 0;
12
x_previous = x;
13
y_previous = y;
14
soul_direction = 90;
15
base_distance = 15;
16
circle_alpha = 0;
17
last_move_x = 0;
18
last_move_y = 0;
19
move_x_count = 0;
20
move_y_count = 0;
21
idle_x_count = 0;
22
idle_y_count = 0;
23
max_move_counter = 100;
24
last_hsp = 0;
25
last_vsp = 0;
26
move_hsp_count = 0;
27
move_vsp_count = 0;
28
idle_hsp_count = 0;
29
idle_vsp_count = 0;
30
max_speed_counter = 100;
31
instance_create(x, y, obj_heart_red_hitbox);
32
if (global.current_pp_self > 0)
33
    instance_create(x, y, obj_heart_battle_effect_glow);
34
event_user(0);
35
x_list = ds_list_create();
36
y_list = ds_list_create();
37
max_points_trail = 5;
38
trail_cc_max = 3;
39
trail_cc_start = trail_cc_max - 1;
40
trail_cc_current = trail_cc_start;
41
trail_sprite = 1677;