Decompile aiIfDistanceToGunLessThan

This commit is contained in:
Ryan Dwyer
2019-12-01 19:04:34 +10:00
parent 0a7a22928a
commit 484e9514d1
5 changed files with 28 additions and 85 deletions
+1 -1
View File
@@ -980,7 +980,7 @@ u8 func0007_alerted[] = {
if_gun_unclaimed(-1, TRUE, /*goto*/ 0x13)
goto_next(LABEL_GETGUN_FAILED)
label(0x13)
if_distance_to_target_position_lt(100, /*goto*/ 0x16)
if_distance_to_gun_lt(100, /*goto*/ 0x16)
if_chr_stopped(/*goto*/ 0x16)
endloop(0xad)
+1 -1
View File
@@ -14501,7 +14501,7 @@ bool (*g_CommandPointers[])(void) = {
/*0x016e*/ ai016e,
/*0x016f*/ aiIfChrHasGun,
/*0x0170*/ ai0170,
/*0x0171*/ ai0171,
/*0x0171*/ aiIfDistanceToGunLessThan,
/*0x0172*/ ai0172,
/*0x0173*/ aiChrCopyProperties,
/*0x0174*/ aiIfCutsceneButtonPressed,