Identify aiIfChrDistanceToPadLessThan

This commit is contained in:
Ryan Dwyer 2019-11-08 20:38:07 +10:00
parent b045c3166b
commit 8d9df0c45e
4 changed files with 4 additions and 3 deletions

View File

@ -2118,7 +2118,7 @@ bool aiIfDistanceToTargetGreaterThan(void)
* @cmd 0054
*/
GLOBAL_ASM(
glabel ai0054
glabel aiIfChrDistanceToPadLessThan
/* f050b64: 27bdffd0 */ addiu $sp,$sp,-48
/* f050b68: afb00018 */ sw $s0,0x18($sp)
/* f050b6c: 3c10800a */ lui $s0,0x800a

View File

@ -87,7 +87,7 @@
/*0x0051*/ bool ai0051(void);
/*0x0052*/ bool aiIfDistanceToTargetLessThan(void);
/*0x0053*/ bool aiIfDistanceToTargetGreaterThan(void);
/*0x0054*/ bool ai0054(void);
/*0x0054*/ bool aiIfChrDistanceToPadLessThan(void);
/*0x0055*/ bool ai0055(void);
/*0x0056*/ bool ai0056(void);
/*0x0057*/ bool ai0057(void);

View File

@ -35,6 +35,7 @@ u32 func0f01b148(void);
u32 func0f01b154(void);
void func0f03af44(struct chrdata *chr, u32 anim_id, float fstartframe, float fendframe, u8 flags, u8 transition, float result);
u32 func0f048f20(struct chrdata *chr, u8 b);
float chrGetDistanceToPad(struct chrdata *chr, s32 pad_id);
float chrGetDistanceToTarget(struct chrdata *chr);
float positionGetDistanceToPosition(struct position *a, struct position *b);

View File

@ -14037,7 +14037,7 @@ bool (*g_CommandPointers[])(void) = {
/*0x0051*/ ai0051,
/*0x0052*/ aiIfDistanceToTargetLessThan,
/*0x0053*/ aiIfDistanceToTargetGreaterThan,
/*0x0054*/ ai0054,
/*0x0054*/ aiIfChrDistanceToPadLessThan,
/*0x0055*/ ai0055,
/*0x0056*/ ai0056,
/*0x0057*/ ai0057,