Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_feisty_four_moray_legs_Create_0

(view raw script w/o annotations or w/e)
1
starting_point_x = x;
2
starting_point_y = y;
3
starting_point_xscale = 1;
4
starting_point_yscale = 1;
5
draw_position_x = starting_point_x;
6
draw_position_y = starting_point_y;
7
draw_position_xscale = starting_point_xscale;
8
draw_position_yscale = starting_point_yscale;
9
damage_disjoint_x = 0;
10
damage_disjoint_y = 0;
11
damage_disjoint_count = 0;
12
hurt_sprite = 1739;
13
no_loop_damage_disjoint_count = false;
14
no_loop_create_clouds = false;
15
animating = false;
16
vanish = false;
17
vanish_state = 1;
18
sign_modifier = 1;
19
time_elapsed = 0;
20
time_max = 60;
21
time_increase = 1;
22
max_rise = 0.025;
23
max_rise_ext = 0.01;
24
if (instance_exists(obj_background_feisty_four_yellow))
25
    depth = obj_background_feisty_four_yellow.depth - 1;
26
instance_create_depth(x, y - 154, depth - 2, obj_feisty_four_moray_head);
27
instance_create_depth(x - 38, y - 124, depth - 1, obj_feisty_four_moray_hand_left);
28
instance_create_depth(x + 14, y - 124, depth + 1, obj_feisty_four_moray_hand_right);
29
head_displacement_y_multiplier = (obj_feisty_four_moray_head.y - bbox_top) / sprite_height;
30
time_elapsed_decrease_head = 4;
31
hand_left_displacement_y_multiplier = (obj_feisty_four_moray_hand_left.y - bbox_top) / sprite_height;
32
time_elapsed_decrease_hand_left = 0;
33
hand_right_displacement_y_multiplier = (obj_feisty_four_moray_hand_right.y - bbox_top) / sprite_height;
34
time_elapsed_decrease_hand_right = 0;