From 7bb37c6ace16f1006fbeeafc42f01967debaf0c0 Mon Sep 17 00:00:00 2001 From: Maciek Baron <1668712+MaciekBaron@users.noreply.github.com> Date: Fri, 11 Jul 2025 23:04:02 +0100 Subject: Add kartPropulsionStrength and waterInteractionFlags (#425) * Add kartPropulsionStrength and waterInteractionFlags * Add reset_player_speed_and_velocity * Fix merge * Reorder and cleanup * Document hopVerticalOffset and hopFrameCounter * Fix missed variabled * Further things * Use constant --------- Co-authored-by: MegaMech --- src/code_8003DC40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code_8003DC40.c') diff --git a/src/code_8003DC40.c b/src/code_8003DC40.c index 47fcf98c5..27299e581 100644 --- a/src/code_8003DC40.c +++ b/src/code_8003DC40.c @@ -74,7 +74,7 @@ void func_8003E048(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 if ((player->effects & BOOST_EFFECT) != 0) { remove_boost_effect(player); player->currentSpeed /= 2; - player->unk_08C /= 2; + player->kartPropulsionStrength /= 2; } } else if ((((player->speed / 18.0f) * 216.0f) > 20.0f) || ((player->effects & 0x10000) == 0x10000)) { arg3[0] = ((player->unk_206 / 182) * 0x32); @@ -102,7 +102,7 @@ void func_8003E37C(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 if ((player->effects & BOOST_EFFECT) != 0) { remove_boost_effect(player); player->currentSpeed /= 2; - player->unk_08C /= 2; + player->kartPropulsionStrength /= 2; } } else if ((((player->speed / 18.0f) * 216.0f) > 20.0f) || ((player->effects & 0x10000) == 0x10000)) { arg3[0] = ((player->unk_206 / 182) * 0x32); -- cgit v1.2.3