Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_steamworks_13_controller_neutral_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
if (global.sworks_flag[3] >= 1)
4
{
5
    instance_destroy()
6
    return;
7
}
8
scene = 0
9
cutscene_timer = 0
10
instance_create(190, obj_pl.y, obj_flowey_npc)
11
instance_create(105, 155, obj_steamworks_13_vines)
12
obj_flowey_npc.action_sprite = true
13
obj_flowey_npc.image_alpha = 0
14
obj_flowey_npc.image_speed = 0
15
obj_flowey_npc.sprite_index = spr_floweyrise
16
instance_create(obj_pl.x, obj_pl.y, obj_player_npc)
17
obj_pl.image_alpha = 0
18
obj_pl.x = 104
19
obj_pl.y = 152
20
obj_player_npc.action_sprite = true
21
obj_player_npc.image_speed = 0
22
obj_player_npc.sprite_index = spr_pl_right
23
obj_player_npc.image_angle = 90
24
scr_camera_move
scr_camera_move

function scr_camera_move(argument0, argument1, argument2) //gml_Script_scr_camera_move { if (!instance_exists(obj_camera)) { instance_create(__view_get((9 << 0), 0).x, __view_get((9 << 0), 0).y, obj_camera) __view_set((9 << 0), 0, 1120) } else { obj_camera.x = __view_get((9 << 0), 0).x obj_camera.y = __view_get((9 << 0), 0).y __view_set((9 << 0), 0, 1120) } obj_camera.move = true obj_camera.xx = argument0 obj_camera.yy = argument1 obj_camera.spd = argument2 if (abs(argument0 - obj_camera.x) <= argument2 && abs(argument1 - obj_camera.y) <= argument2) return true; else return false; }
(104, 155, 999)
25
scr_cutscene_start
scr_cutscene_start

function scr_cutscene_start() //gml_Script_scr_cutscene_start { global.cutscene = true obj_pl.state = gml_Script_scr_frozen_state obj_pl.image_index = 0 obj_pl.image_speed = 0 }
()