Decompile chrSawTargetRecently and chrHeardTargetRecently

This commit is contained in:
Ryan Dwyer
2019-12-22 16:45:33 +10:00
parent 550f38ae43
commit f643cd5fe3
10 changed files with 47 additions and 57 deletions
+2 -2
View File
@@ -188,7 +188,7 @@ u8 func0006_unalerted[] = {
label(0x16)
dprint 'C','H','E','K','H','E','A','R','\n',0,
if_shot_at_close_range(/*goto*/ LABEL_HEAR_DETECT)
if_heard_target_recently(/*goto*/ LABEL_HEAR_DETECT)
label(0x13)
dprint 'N','O','T','H','E','A','R','D','\n',0,
@@ -4497,7 +4497,7 @@ u8 func001f_related_to_spawning[] = {
goto_next(0x13)
label(0x16)
if_shot_at_close_range(/*goto*/ 0x1f)
if_heard_target_recently(/*goto*/ 0x1f)
label(0x13)
if_self_flag_bankx_eq(CHRFLAG0_CAN_HEAR_ALARMS, FALSE, BANK_0, /*goto*/ 0x16)
if_alarm_active(/*goto*/ 0x23)
+2 -2
View File
@@ -14199,8 +14199,8 @@ bool (*g_CommandPointers[])(void) = {
/*0x0040*/ ai0040,
/*0x0041*/ ai0041,
/*0x0042*/ aiIfInLoadedRoom,
/*0x0043*/ ai0043,
/*0x0044*/ aiIfShotAtCloseRange,
/*0x0043*/ aiIfSawTargetRecently,
/*0x0044*/ aiIfHeardTargetRecently,
/*0x0045*/ ai0045,
/*0x0046*/ aiIfNeverBeenOnScreen,
/*0x0047*/ ai0047,