Decompile chrCheckFootstepMagic

This commit is contained in:
Ryan Dwyer
2021-06-16 20:25:47 +10:00
parent 1e858b683f
commit 2b2c24ffde
3 changed files with 106 additions and 847 deletions
+4 -4
View File
@@ -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
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -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