Identify aiIfDistanceFromTargetToPadGreaterThan
This commit is contained in:
parent
9be82dbb1f
commit
6dbf724a98
|
|
@ -2439,7 +2439,7 @@ glabel aiIfDistanceFromTargetToPadLessThan
|
|||
* @cmd 005a
|
||||
*/
|
||||
GLOBAL_ASM(
|
||||
glabel ai005a
|
||||
glabel aiIfDistanceFromTargetToPadGreaterThan
|
||||
/* f0510fc: 3c03800a */ lui $v1,0x800a
|
||||
/* f051100: 24639fc0 */ addiu $v1,$v1,-24640
|
||||
/* f051104: 8c6e0434 */ lw $t6,0x434($v1)
|
||||
|
|
|
|||
|
|
@ -372,6 +372,12 @@
|
|||
mkshort(pad), \
|
||||
label,
|
||||
|
||||
#define if_distance_from_target_to_pad_gt(distance, pad, label) \
|
||||
mkshort(0x005a), \
|
||||
mkshort(distance / 10), \
|
||||
mkshort(pad), \
|
||||
label,
|
||||
|
||||
// type 0 = if <chr> in <room>
|
||||
// type 1 = if <chr> in same room as self
|
||||
// type 2 = if <chr>'s camspy in <room>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
/*0x0057*/ bool aiIfDistanceToChrGreaterThan(void);
|
||||
/*0x0058*/ bool ai0058(void);
|
||||
/*0x0059*/ bool aiIfDistanceFromTargetToPadLessThan(void);
|
||||
/*0x005a*/ bool ai005a(void);
|
||||
/*0x005a*/ bool aiIfDistanceFromTargetToPadGreaterThan(void);
|
||||
/*0x005b*/ bool ai005b(void);
|
||||
/*0x005c*/ bool ai005c(void);
|
||||
/*0x005d*/ bool aiIfChrHasObject(void);
|
||||
|
|
|
|||
|
|
@ -14043,7 +14043,7 @@ bool (*g_CommandPointers[])(void) = {
|
|||
/*0x0057*/ aiIfDistanceToChrGreaterThan,
|
||||
/*0x0058*/ ai0058,
|
||||
/*0x0059*/ aiIfDistanceFromTargetToPadLessThan,
|
||||
/*0x005a*/ ai005a,
|
||||
/*0x005a*/ aiIfDistanceFromTargetToPadGreaterThan,
|
||||
/*0x005b*/ ai005b,
|
||||
/*0x005c*/ ai005c,
|
||||
/*0x005d*/ aiIfChrHasObject,
|
||||
|
|
|
|||
Loading…
Reference in New Issue