mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Rename set_unknown_function to set_darkroom_function
This commit is contained in:
1 parent
d33234ace3
commit
89fdc7311b
2 files changed
+2
-4
No files matched your search
+1
-1
@@ -30571,7 +30571,7 @@ u8 func0007_alerted[] = {
|
|||||||
label(0x16)
|
label(0x16)
|
||||||
set_onshot_function(GFUNC_ALERTED)
|
set_onshot_function(GFUNC_ALERTED)
|
||||||
set_aishootingatmel(35)
|
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,
|
dprint 'S','T','A','R','T',' ','L','O','O','P','\n',0,
|
||||||
if_chr_dying(CHR_SELF, /*goto*/ 0x16)
|
if_chr_dying(CHR_SELF, /*goto*/ 0x16)
|
||||||
|
|||||||
@@ -1708,9 +1708,7 @@
|
|||||||
mkshort(0x01c2), \
|
mkshort(0x01c2), \
|
||||||
mkshort(value),
|
mkshort(value),
|
||||||
|
|
||||||
// Sets a function in the chr's struct. Likely a callback of some sort, such as
|
#define set_darkroom_function(function) \
|
||||||
// the onshot function.
|
|
||||||
#define set_unknown_function(function) \
|
|
||||||
mkshort(0x01c3), \
|
mkshort(0x01c3), \
|
||||||
mkshort(function),
|
mkshort(function),
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user