diff --git a/src/globals.c b/src/globals.c index 1318264a1..084990873 100644 --- a/src/globals.c +++ b/src/globals.c @@ -30571,7 +30571,7 @@ u8 func0007_alerted[] = { label(0x16) set_onshot_function(GFUNC_ALERTED) set_aishootingatmel(35) - set_unknown_function(GFUNC_SEARCH_FOR_PLAYER) + set_darkroom_function(GFUNC_SEARCH_FOR_PLAYER) dprint 'S','T','A','R','T',' ','L','O','O','P','\n',0, if_chr_dying(CHR_SELF, /*goto*/ 0x16) diff --git a/src/include/commands.h b/src/include/commands.h index fec8b4e01..1cba697ae 100644 --- a/src/include/commands.h +++ b/src/include/commands.h @@ -1708,9 +1708,7 @@ mkshort(0x01c2), \ mkshort(value), -// Sets a function in the chr's struct. Likely a callback of some sort, such as -// the onshot function. -#define set_unknown_function(function) \ +#define set_darkroom_function(function) \ mkshort(0x01c3), \ mkshort(function),