mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-31 23:58:38 -04:00
Discover and decompile aiIfChrTarget
This commit is contained in:
@@ -1083,12 +1083,15 @@
|
||||
mkshort(0x0107), \
|
||||
label,
|
||||
|
||||
// Used only in globals.s with CHR_SELF, CHR_P1P2, FALSE
|
||||
#define cmd0108_if_something(chr1, chr2, bool, label) \
|
||||
/**
|
||||
* If anytarget is false, check if chr1's target is chr2.
|
||||
* If anytarget is true, check if chr1 has any target at all.
|
||||
*/
|
||||
#define if_chr_target_eq(chr1, chr2, anytarget, label) \
|
||||
mkshort(0x0108), \
|
||||
chr1, \
|
||||
chr2, \
|
||||
bool, \
|
||||
anytarget, \
|
||||
label,
|
||||
|
||||
#define set_chr_team(chr, team) \
|
||||
|
||||
@@ -264,7 +264,7 @@
|
||||
/*0x0105*/ bool ai0105(void);
|
||||
/*0x0106*/ bool aiSetTarget(void);
|
||||
/*0x0107*/ bool aiIfPresetsTargetIsNotMyTarget(void);
|
||||
/*0x0108*/ bool ai0108(void);
|
||||
/*0x0108*/ bool aiIfChrTarget(void);
|
||||
/*0x0109*/ bool ai0109(void);
|
||||
/*0x010a*/ bool ai010a(void);
|
||||
/*0x010b*/ bool aiChrSetTeam(void);
|
||||
|
||||
Reference in New Issue
Block a user