[Enhancement] Improved Roll (#6604)

This commit is contained in:
Reppan
2026-06-28 15:41:59 +02:00
committed by GitHub
parent 8d2d5c9828
commit a629af2e9f
4 changed files with 72 additions and 0 deletions
@@ -9834,6 +9834,10 @@ void Player_Action_Roll(Player* this, PlayState* play) {
}
}
if (GameInteractor_Should(VB_PLAYER_ROLL_CHAIN, false, this, play, sControlInput, sFloorType)) {
return;
}
if ((this->skelAnime.curFrame < 15.0f) || !Player_ActionHandler_7(this, play)) {
if (this->skelAnime.curFrame >= 20.0f) {
func_8083A060(this, play);
@@ -9852,6 +9856,7 @@ void Player_Action_Roll(Player* this, PlayState* play) {
speedTarget = 3.0f;
}
GameInteractor_Should(VB_PLAYER_ROLL_STEER, false, this, play, yawTarget);
func_8083DF68(this, speedTarget, this->actor.shape.rot.y);
if (func_8084269C(play, this)) {