Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowey_world_camera_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 = 184
10
obj_pl.y = 651
11
current_area = 0
12
x_offset = 0
13
x_min[0] = 40
14
y_min[0] = 560
15
x_max[0] = 700
16
y_max[0] = 760
17
x_min[1] = 20
18
y_min[1] = 40
19
x_max[1] = 320
20
y_max[1] = 280
21
x_min[2] = 340
22
y_min[2] = 80
23
x_max[2] = 720
24
y_max[2] = 300
25
x_min[3] = 740
26
y_min[3] = 40
27
x_max[3] = 1140
28
y_max[3] = 340
29
x_min[4] = 1160
30
y_min[4] = 120
31
x_max[4] = 1480
32
y_max[4] = 300
33
x_min[5] = 1500
34
y_min[5] = 80
35
x_max[5] = 1840
36
y_max[5] = 300