Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_world_camera_2_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
new_camera = camera_create_view(0, 0, 320, 240)
4
view_camera[0] = new_camera
5
cam_width_half = camera_get_view_width(view_camera[0]) * 0.5
6
cam_height_half = camera_get_view_height(view_camera[0]) * 0.5
7
view_set_camera(0, view_camera[0])
8
view_set_visible(0, true)
9
obj_pl.x = 0
10
obj_pl.y = 0
11
current_area = 0
12
x_offset = 0
13
x_min[0] = 0
14
y_min[0] = 0
15
x_max[0] = 260
16
y_max[0] = 160
17
x_min[1] = 320
18
y_min[1] = 0
19
x_max[1] = 580
20
y_max[1] = 160
21
x_min[2] = 700
22
y_min[2] = -60
23
x_max[2] = 1060
24
y_max[2] = 100
25
x_min[3] = 1120
26
y_min[3] = 0
27
x_max[3] = 1760
28
y_max[3] = 160
29
x_min[4] = 1860
30
y_min[4] = 0
31
x_max[4] = 2440
32
y_max[4] = 160
33
x_min[5] = 4000
34
y_min[5] = 4000
35
x_max[5] = 4000
36
y_max[5] = 4000