mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-11 03:03:27 -04:00
Decompile aiIfDistanceToGunLessThan
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
@@ -14501,7 +14501,7 @@ bool (*g_CommandPointers[])(void) = {
|
||||
/*0x016e*/ ai016e,
|
||||
/*0x016f*/ aiIfChrHasGun,
|
||||
/*0x0170*/ ai0170,
|
||||
/*0x0171*/ ai0171,
|
||||
/*0x0171*/ aiIfDistanceToGunLessThan,
|
||||
/*0x0172*/ ai0172,
|
||||
/*0x0173*/ aiChrCopyProperties,
|
||||
/*0x0174*/ aiIfCutsceneButtonPressed,
|
||||
|
||||
Reference in New Issue
Block a user