Decompile ai0091

This commit is contained in:
Ryan Dwyer 2019-10-19 15:58:12 +10:00
parent 295a199ecb
commit 173c0d523c
2 changed files with 8 additions and 10 deletions

View File

@ -6947,16 +6947,11 @@ glabel ai00b5
/**
* @cmd 0091
*/
GLOBAL_ASM(
glabel ai0091
/* f054f10: 3c03800a */ lui $v1,0x800a
/* f054f14: 24639fc0 */ addiu $v1,$v1,-24640
/* f054f18: 8c6e0438 */ lw $t6,0x438($v1)
/* f054f1c: 00001025 */ or $v0,$zero,$zero
/* f054f20: 25cf0002 */ addiu $t7,$t6,0x2
/* f054f24: 03e00008 */ jr $ra
/* f054f28: ac6f0438 */ sw $t7,0x438($v1)
);
bool ai0091(void)
{
g_Vars.aioffset += 2;
return false;
}
/**
* @cmd 00b6

View File

@ -610,6 +610,9 @@
mkshort(0x0090), \
label,
#define cmd0091_noop \
mkdir(0x0091),
// 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) \