Decompile aiIfAlertnessLessThanRandom

This commit is contained in:
Ryan Dwyer
2019-10-19 14:14:15 +10:00
parent 99968388dd
commit f3b951ae81
4 changed files with 18 additions and 32 deletions
+4
View File
@@ -606,6 +606,10 @@
chr, \
label,
#define if_alertness_lt_random(label) \
mkshort(0x0090), \
label,
// Set their hear distance to value divided by 1000.
// Only ever called with distance = 10,000, so it gets set to 10.
#define set_hear_distance(value) \
+1 -1
View File
@@ -146,7 +146,7 @@
/*0x008d*/ bool aiSubtractAlertness(void);
/*0x008e*/ bool aiIfAlertness(void);
/*0x008f*/ bool aiIfChrAlertnessLessThan(void);
/*0x0090*/ bool ai0090(void);
/*0x0090*/ bool aiIfAlertnessLessThanRandom(void);
/*0x0091*/ bool ai0091(void);
/*0x0092*/ bool ai0092(void);
/*0x0093*/ bool ai0093(void);