Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_npc_mooch_backtrack_Create_0

(view raw script w/o annotations or w/e)
1
event_inherited()
2
npc_id = room_get_name(room) + object_get_name(object_index)
3
if is_undefined(ds_map_find_value(global.npc_map, npc_id))
4
    ds_map_add(global.npc_map, npc_id, 0)
5
npc_flag = ds_map_find_value(global.npc_map, npc_id)
6
npc_voice_sfx = 105
7
up_sprite_idle = 183
8
right_sprite_idle = 178
9
down_sprite_idle = 175
10
left_sprite_idle = 176
11
waiter = 0