Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_producer_Create_0

(view raw script w/o annotations or w/e)
1
npc_id = room_get_name(room) + object_get_name(object_index)
2
if is_undefined(ds_map_find_value(global.npc_map, npc_id))
3
    ds_map_add(global.npc_map, npc_id, 0)
4
npc_flag = ds_map_find_value(global.npc_map, npc_id)
5
image_speed = 0
6
is_talking = 0
7
interact_count = 0
8
npc_voice_sfx = 0
9
depth = (-y)