Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_feisty_four_moray_legs_Create_0

related scripts: Create_0 Destroy_0Draw_0Step_0

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