Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_martlet_jail_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited();
2
npc_voice_sfx = 102;
3
up_sprite_idle = 262;
4
right_sprite_idle = 263;
5
down_sprite_idle = 265;
6
left_sprite_idle = 268;
7
npc_id = room_get_name(room) + object_get_name(object_index);
8
if (is_undefined(ds_map_find_value(global.npc_map, npc_id)))
9
    ds_map_add(global.npc_map, npc_id, 0);
10
npc_flag = ds_map_find_value(global.npc_map, npc_id);
11
martlet_second_cutscene = false;
12
cutscene_timer = 0;
13
scene = 0;
14
waiter = 0;