mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-07 03:47:21 -04:00
Decompile aiIfChrHealthLessThan
This commit is contained in:
@@ -1127,18 +1127,18 @@
|
||||
label,
|
||||
|
||||
/**
|
||||
* Checks if the chr's health is less than the given value.
|
||||
* Checks if the chr's health is greater than the given value.
|
||||
*/
|
||||
#define if_chr_health_lt(chr, health, label) \
|
||||
#define if_chr_health_gt(chr, health, label) \
|
||||
mkshort(0x0081), \
|
||||
chr, \
|
||||
health, \
|
||||
label,
|
||||
|
||||
/**
|
||||
* Checks if the chr's health is greater than the given value.
|
||||
* Checks if the chr's health is less than the given value.
|
||||
*/
|
||||
#define if_chr_health_gt(chr, health, label) \
|
||||
#define if_chr_health_lt(chr, health, label) \
|
||||
mkshort(0x0082), \
|
||||
chr, \
|
||||
health, \
|
||||
|
||||
@@ -131,8 +131,8 @@
|
||||
/*0x007e*/ bool aiIfNumArghsGreaterThan(void);
|
||||
/*0x007f*/ bool aiIfNumCloseArghsLessThan(void);
|
||||
/*0x0080*/ bool aiIfNumCloseArghsGreaterThan(void);
|
||||
/*0x0081*/ bool aiIfChrHealthLessThan(void);
|
||||
/*0x0082*/ bool aiIfChrHealthGreaterThan(void);
|
||||
/*0x0081*/ bool aiIfChrHealthGreaterThan(void);
|
||||
/*0x0082*/ bool aiIfChrHealthLessThan(void);
|
||||
/*0x0083*/ bool aiIfInjured(void);
|
||||
/*0x0084*/ bool aiSetMorale(void);
|
||||
/*0x0085*/ bool aiAddMorale(void);
|
||||
|
||||
+1
-1
@@ -1023,7 +1023,7 @@ struct player {
|
||||
/*0x00d0*/ u32 unk00d0;
|
||||
/*0x00d4*/ u32 unk00d4;
|
||||
/*0x00d8*/ bool isdead;
|
||||
/*0x00dc*/ u32 unk00dc;
|
||||
/*0x00dc*/ f32 bondhealth;
|
||||
/*0x00e0*/ u32 unk00e0;
|
||||
/*0x00e4*/ u32 unk00e4;
|
||||
/*0x00e8*/ u32 unk00e8;
|
||||
|
||||
Reference in New Issue
Block a user