Rename symbols relating to hearing targets

This commit is contained in:
Ryan Dwyer
2020-05-29 21:31:35 +10:00
parent 1ba94cabc2
commit 197d713aa2
11 changed files with 23 additions and 26 deletions
+2 -2
View File
@@ -542,9 +542,9 @@
label,
/**
* Checks if the chr has heard gunfire.
* Checks if the chr has heard their target (eg. due to gunfire).
*/
#define if_hears_gunfire(label) \
#define if_hears_target(label) \
mkshort(0x003c), \
label,
+1 -1
View File
@@ -354,7 +354,7 @@
// chr->hidden
#define CHRHFLAG_00000001 0x00000001 // Set when chr drops weapon
#define CHRHFLAG_00000002 0x00000002 // Not used in scripts
#define CHRHFLAG_IS_HEARING_TARGET 0x00000002 // Not used in scripts
#define CHRHFLAG_00000004 0x00000004 // Related to firing - hand 1
#define CHRHFLAG_00000008 0x00000008 // Related to firing - hand 0
#define CHRHFLAG_00000010 0x00000010 // Not used in scripts
+1 -1
View File
@@ -297,7 +297,7 @@ bool chrHasFlagById(struct chrdata *ref, u32 chrnum, u32 flag, u32 bank);
void chrSetStageFlag(struct chrdata *chr, u32 flag);
void chrUnsetStageFlag(struct chrdata *chr, u32 flag);
bool chrHasStageFlag(struct chrdata *chr, u32 flag);
bool chrHasHiddenFlag00000002(struct chrdata *chr);
bool chrIsHearingTarget(struct chrdata *chr);
void chrRestartTimer(struct chrdata *chr);
u32 chrResetNearMiss(struct chrdata *chr);
s32 chrGetNumArghs(struct chrdata *chr);
+1 -1
View File
@@ -63,7 +63,7 @@
/*0x0039*/ bool aiIfCanHearAlarm(void);
/*0x003a*/ bool aiIfAlarmActive(void);
/*0x003b*/ bool ai003b(void);
/*0x003c*/ bool ai003c(void);
/*0x003c*/ bool aiIfHearsTarget(void);
/*0x003d*/ bool aiIfSawInjury(void);
/*0x003e*/ bool aiIfSawDeath(void);
/*0x003f*/ bool aiIfSeesPlayer(void);