Rename set_unknown_function to set_darkroom_function

This commit is contained in:
Ryan Dwyer 2019-09-23 18:09:49 +10:00
parent d33234ace3
commit 89fdc7311b
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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),