Documenting Player Utilities and Related

This commit is contained in:
Shmoopi
2024-11-03 17:19:48 +00:00
committed by Banjo Kazooie
parent 1772033ec8
commit 0d223bfc2b
78 changed files with 243 additions and 240 deletions

View File

@@ -35,11 +35,11 @@ void func_80290298(void) {
is_pumpkin = player_getTransformation() == TRANSFORM_3_PUMPKIN;
sp30 = (func_8028B528() && !is_pumpkin) ? 6 : 1;
sp24 = func_8028B528() && !is_pumpkin;
if (D_8037C02C || player_isStable() || sp24 || func_8028ECAC() == BSGROUP_5_CLIMB || bs_getState() == BS_B_UNKOWN) {
if (D_8037C02C || player_isStable() || sp24 || player_movementGroup() == BSGROUP_5_CLIMB || bs_getState() == BS_B_UNKOWN) {
_player_getPosition(D_8037C020);
}
if (func_8028ECAC() == BSGROUP_A_FLYING) {
if (player_movementGroup() == BSGROUP_A_FLYING) {
D_8037C018 = -1;
}
else if (func_803077FC(D_8037C020, &D_8037C010, &D_8037C014, 0x12C, sp30)) {