mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-30 18:51:34 -04:00
Attempt to decompile aiDetectEnemyOnSameFloor
This commit is contained in:
@@ -2512,12 +2512,11 @@
|
||||
label,
|
||||
|
||||
/**
|
||||
* Tries to find a chr in the team who meets some criteria and sets them as the
|
||||
* current chr's target.
|
||||
*
|
||||
* Probably used to run to them for safety or to alert them.
|
||||
* Tries to find a chr who meets some criteria and sets them as the current
|
||||
* chr's target. Only enemeies who are on the same floor will be considered.
|
||||
* A line of sight check is not used.
|
||||
*/
|
||||
#define try_find_chr_in_team(label) \
|
||||
#define set_target_to_enemy_on_same_floor(label) \
|
||||
mkshort(0x0127), \
|
||||
label,
|
||||
|
||||
|
||||
@@ -295,7 +295,7 @@
|
||||
/*0x0124*/ bool aiGoToCover(void);
|
||||
/*0x0125*/ bool ai0125(void);
|
||||
/*0x0126*/ bool aiIfPlayerUsingCmpOrAr34(void);
|
||||
/*0x0127*/ bool ai0127(void);
|
||||
/*0x0127*/ bool aiDetectEnemyOnSameFloor(void);
|
||||
/*0x0128*/ bool aiDetectEnemy(void);
|
||||
/*0x0129*/ bool aiIfSafetyLessThan(void);
|
||||
/*0x012a*/ bool aiIfTargetMovingSlowly(void);
|
||||
|
||||
Reference in New Issue
Block a user