Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_background_ceroba_battle_geno_yellow_Create_0

(view raw script w/o annotations or w/e)
1
var color_part = make_colour_rgb(228, 69, 101)
2
part_embersys = part_system_create()
3
part_emberEm = part_emitter_create(part_embersys)
4
part_system_depth(part_embersys, 60)
5
part_ember_small = part_type_create()
6
part_type_sprite(part_ember_small, 2120, 0, 0, false)
7
part_type_size(part_ember_small, 2, 2, 0, 0)
8
part_type_colour1(part_ember_small, color_part)
9
part_type_alpha2(part_ember_small, 1, 0)
10
part_type_speed(part_ember_small, 0.8, 1.1, 0, 0)
11
part_type_direction(part_ember_small, 75, 105, 0, 0)
12
part_type_life(part_ember_small, 300, 300)
13
part_type_blend(part_ember_small, false)
14
part_ember_medium = part_type_create()
15
part_type_sprite(part_ember_medium, 2119, 0, 0, false)
16
part_type_size(part_ember_medium, 2, 2, 0, 0)
17
part_type_colour1(part_ember_medium, color_part)
18
part_type_alpha2(part_ember_medium, 1, 0)
19
part_type_speed(part_ember_medium, 0.6, 0.9, 0, 0)
20
part_type_direction(part_ember_medium, 75, 105, 0, 0)
21
part_type_life(part_ember_medium, 325, 325)
22
part_type_blend(part_ember_medium, false)
23
part_ember_large = part_type_create()
24
part_type_sprite(part_ember_large, 2117, 0, 0, false)
25
part_type_size(part_ember_large, 2, 2, 0, 0)
26
part_type_colour1(part_ember_large, color_part)
27
part_type_alpha2(part_ember_large, 1, 0)
28
part_type_speed(part_ember_large, 0.4, 0.7, 0, 0)
29
part_type_direction(part_ember_large, 75, 105, 0, 0)
30
part_type_life(part_ember_large, 350, 350)
31
part_type_blend(part_ember_large, false)
32
part_emitter_region(part_embersys, part_emberEm, 0, room_width, 0, 250, 0, 0)
33
part_emitter_burst(part_embersys, part_emberEm, part_ember_small, 3)
34
part_emitter_burst(part_embersys, part_emberEm, part_ember_medium, 2)
35
part_emitter_burst(part_embersys, part_emberEm, part_ember_large, 1)
36
part_emitter_region(part_embersys, part_emberEm, 0, room_width, 250, 250, 3, 0)
37
diamond_width = 60
38
diamond_width_current = 0
39
diamond_height = 140
40
diamond_x[0] = 640 - diamond_width - 20
41
diamond_x[1] = 0 + diamond_width + 20
42
diamond_y = 120
43
diamond_y_original = 115
44
diamond_y_shift = 30
45
diamond_sin_deg = 0
46
diamond_alpha = 1