mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-05-30 08:56:16 -04:00
Decompile chrCheckFootstepMagic
This commit is contained in:
@@ -22876,7 +22876,7 @@ void chrTickPatrol(struct chrdata *chr)
|
||||
chrGoPosTickMagic(chr, &chr->act_patrol.waydata, func0f0370a8(chr), &sp58, sp48);
|
||||
}
|
||||
|
||||
func0f006520(chr);
|
||||
chrCheckFootstepMagic(chr);
|
||||
} else {
|
||||
arrivinglaterally = posIsArrivingLaterallyAtPos(&chr->prevpos, &prop->pos, &sp58, 30);
|
||||
arriving = posIsArrivingAtPos(&chr->prevpos, &prop->pos, &sp58, 30);
|
||||
@@ -22896,7 +22896,7 @@ void chrTickPatrol(struct chrdata *chr)
|
||||
}
|
||||
|
||||
func0f045b9c(chr, &sp58, &chr->act_patrol.waydata, 1);
|
||||
func0f0061dc(chr);
|
||||
chrCheckFootstep(chr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23188,10 +23188,10 @@ void chrTick(struct chrdata *chr)
|
||||
#endif
|
||||
|
||||
if (pass) {
|
||||
func0f0061dc(chr);
|
||||
chrCheckFootstep(chr);
|
||||
}
|
||||
} else {
|
||||
func0f006520(chr);
|
||||
chrCheckFootstepMagic(chr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+99
-840
File diff suppressed because it is too large
Load Diff
@@ -5,8 +5,8 @@
|
||||
#include "types.h"
|
||||
|
||||
bool func0f005fd0(s32 animnum);
|
||||
s32 chrChooseFootstepSound(struct chrdata *chr, u32 arg1);
|
||||
void func0f0061dc(struct chrdata *chr);
|
||||
void func0f006520(struct chrdata *chr);
|
||||
s32 chrChooseFootstepSound(struct chrdata *chr, s32 index);
|
||||
void chrCheckFootstep(struct chrdata *chr);
|
||||
void chrCheckFootstepMagic(struct chrdata *chr);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user