Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_sme_yellow_rhythm_note_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (global.route == 3 || global.battle_enemy_name == "flowey")
4
{
5
    instance_destroy()
6
    instance_create_depth(x, y, depth, obj_sme_yellow_rhythm_note_geno)
7
    return;
8
}
9
var generator = obj_sme_yellow_rhythm_generator
10
box = obj_dialogue_box_battle_transformation_any
11
image_speed = 0
12
if (x == generator.dj_note_center_x)
13
    image_index = 1
14
else if (x == generator.dj_note_right_x)
15
    image_index = 2
16
else
17
    image_index = 0
18
image_alpha_val = 0
19
image_alpha = image_alpha_val
20
fade_in_speed = 0.2
21
note_speed = generator.note_speed
22
note_sound = generator.note_sound
23
damage_pos_x = generator.damage_pos_x
24
damage_pos_y = generator.damage_pos_y
25
end_boundary = box.bbox_top + obj_sme_yellow_rhythm_generator.note_speed_numerator + obj_sme_yellow_rhythm_selection.hit_extend_neg
26
hint_boundary = obj_sme_yellow_rhythm_selection.bbox_top - 30
27
in_hint_boundary = false
28
hint_marker_scale = 1
29
hit_marker_scale_dir = 1
30
hint_marker_alpha = 0.4