Decompile aiSetTargetToEyespyIfInSight

This commit is contained in:
Ryan Dwyer
2020-02-09 15:08:09 +10:00
parent 4c883f8aaa
commit 321863e8c5
5 changed files with 33 additions and 59 deletions
+8 -1
View File
@@ -3138,7 +3138,14 @@
operator, \
label,
#define if_chr_sees_camspy_maybe(label) \
/**
* Checks if the current chr can see the player's camspy. If they can, their
* target is changed to the camspy and the label will be followed.
*
* This command respects the chr's p1p2 property, meaning in coop mode this must
* be set to the player whose camspy should be checked.
*/
#define set_target_to_camspy_if_in_sight(label) \
mkshort(0x0187), \
label,
+1 -1
View File
@@ -368,7 +368,7 @@
/*0x0184*/ bool ai0184(void);
/*0x0185*/ bool ai0185(void);
/*0x0186*/ bool aiIfSoundTimer(void);
/*0x0187*/ bool ai0187(void);
/*0x0187*/ bool aiSetTargetToEyespyIfInSight(void);
/*0x0188*/ bool aiIfLiftStationary(void);
/*0x0189*/ bool aiLiftGoToStop(void);
/*0x018a*/ bool aiIfLiftAtStop(void);