Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_g_body_Create_0

related scripts: Create_0 Destroy_0Other_10Other_11Other_25Step_0Step_2

(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
no_loop_damage_disjoint_count = false;
15
no_loop_create_clouds = false;
16
animating = false;
17
during_dialogue = false;
18
fight_mode = false;
19
sign_modifier = 1;
20
time_elapsed = 0;
21
time_max = 60;
22
time_increase = 1;
23
max_rise = 0.025;
24
max_rise_ext = 0.01;
25
head_displacement_y_multiplier = 0 / sprite_height;
26
time_elapsed_decrease_head = 4;
27
hand_left_displacement_y_multiplier = 23 / sprite_height;
28
time_elapsed_decrease_hand_left = 0;
29
hand_right_displacement_y_multiplier = 20 / sprite_height;
30
time_elapsed_decrease_hand_right = 0;
31
id_martlet_wing_gust = -4;
32
id_martlet_fight_mode = -4;
33
instance_create(x, y, obj_martlet_g_body_shadow);
34
og_bbox_top = bbox_top;