Disable Waluigi animations for now

This commit is contained in:
MysterD 2023-11-25 02:53:16 -08:00 committed by Agent X
parent e50b57ac60
commit b61574d2c6
5 changed files with 5 additions and 15 deletions

View file

@ -5445,12 +5445,6 @@ MARIO_ANIM_FORWARD_SPINNING_FLIP = 207
--- @type MarioAnimID --- @type MarioAnimID
MARIO_ANIM_TRIPLE_JUMP_FLY = 208 MARIO_ANIM_TRIPLE_JUMP_FLY = 208
--- @type MarioAnimID
WALUIGI_ANIM_WALKING = 209
--- @type MarioAnimID
WALUIGI_ANIM_RUNNING = 210
--- @class MarioCapGSCId --- @class MarioCapGSCId
--- @type MarioCapGSCId --- @type MarioCapGSCId

View file

@ -1922,8 +1922,6 @@
| MARIO_ANIM_RETURN_FROM_STAR_DANCE | 206 | | MARIO_ANIM_RETURN_FROM_STAR_DANCE | 206 |
| MARIO_ANIM_FORWARD_SPINNING_FLIP | 207 | | MARIO_ANIM_FORWARD_SPINNING_FLIP | 207 |
| MARIO_ANIM_TRIPLE_JUMP_FLY | 208 | | MARIO_ANIM_TRIPLE_JUMP_FLY | 208 |
| WALUIGI_ANIM_WALKING | 209 |
| WALUIGI_ANIM_RUNNING | 210 |
[:arrow_up_small:](#) [:arrow_up_small:](#)

View file

@ -215,8 +215,8 @@ enum MarioAnimID
/* 0xCE */ MARIO_ANIM_RETURN_FROM_STAR_DANCE, /* 0xCE */ MARIO_ANIM_RETURN_FROM_STAR_DANCE,
/* 0xCF */ MARIO_ANIM_FORWARD_SPINNING_FLIP, /* 0xCF */ MARIO_ANIM_FORWARD_SPINNING_FLIP,
/* 0xD0 */ MARIO_ANIM_TRIPLE_JUMP_FLY, /* 0xD0 */ MARIO_ANIM_TRIPLE_JUMP_FLY,
/* 0xD1 */ WALUIGI_ANIM_WALKING, /* 0xD1 */ // WALUIGI_ANIM_WALKING, // disabling for now until we find a better way to deal with OMM
/* 0xD2 */ WALUIGI_ANIM_RUNNING /* 0xD2 */ // WALUIGI_ANIM_RUNNING // disabling for now until we find a better way to deal with OMM
}; };
/* Character Animation IDs*/ /* Character Animation IDs*/

View file

@ -955,7 +955,7 @@ struct Character gCharacters[CT_MAX] = {
.animSlidingOnBottomWithLightObj = MARIO_ANIM_SLIDING_ON_BOTTOM_WITH_LIGHT_OBJ, .animSlidingOnBottomWithLightObj = MARIO_ANIM_SLIDING_ON_BOTTOM_WITH_LIGHT_OBJ,
.animStandUpFromSlidingWithLightObj = MARIO_ANIM_STAND_UP_FROM_SLIDING_WITH_LIGHT_OBJ, .animStandUpFromSlidingWithLightObj = MARIO_ANIM_STAND_UP_FROM_SLIDING_WITH_LIGHT_OBJ,
.animRidingShell = MARIO_ANIM_RIDING_SHELL, .animRidingShell = MARIO_ANIM_RIDING_SHELL,
.animWalking = WALUIGI_ANIM_WALKING, .animWalking = MARIO_ANIM_WALKING,
.animForwardFlip = MARIO_ANIM_FORWARD_FLIP, .animForwardFlip = MARIO_ANIM_FORWARD_FLIP,
.animJumpRidingShell = MARIO_ANIM_JUMP_RIDING_SHELL, .animJumpRidingShell = MARIO_ANIM_JUMP_RIDING_SHELL,
.animLandFromDoubleJump = MARIO_ANIM_LAND_FROM_DOUBLE_JUMP, .animLandFromDoubleJump = MARIO_ANIM_LAND_FROM_DOUBLE_JUMP,
@ -997,7 +997,7 @@ struct Character gCharacters[CT_MAX] = {
.animForwardSpinning = MARIO_ANIM_FORWARD_SPINNING, .animForwardSpinning = MARIO_ANIM_FORWARD_SPINNING,
.animBackwardSpinning = MARIO_ANIM_BACKWARD_SPINNING, .animBackwardSpinning = MARIO_ANIM_BACKWARD_SPINNING,
.animBreakdance = MARIO_ANIM_BREAKDANCE, .animBreakdance = MARIO_ANIM_BREAKDANCE,
.animRunning = WALUIGI_ANIM_RUNNING, .animRunning = MARIO_ANIM_RUNNING,
.animRunningUnused = MARIO_ANIM_RUNNING_UNUSED, .animRunningUnused = MARIO_ANIM_RUNNING_UNUSED,
.animSoftBackKb = MARIO_ANIM_SOFT_BACK_KB, .animSoftBackKb = MARIO_ANIM_SOFT_BACK_KB,
.animSoftFrontKb = MARIO_ANIM_SOFT_FRONT_KB, .animSoftFrontKb = MARIO_ANIM_SOFT_FRONT_KB,
@ -1614,6 +1614,6 @@ s32 get_character_anim(struct MarioState* m, enum CharacterAnimID characterAnim)
if (m == NULL || m->marioObj == NULL) { return 0; } if (m == NULL || m->marioObj == NULL) { return 0; }
struct Character* character = ((m == NULL || m->character == NULL) ? &gCharacters[CT_MARIO] : m->character); struct Character* character = ((m == NULL || m->character == NULL) ? &gCharacters[CT_MARIO] : m->character);
if (!character || characterAnim < 0 || characterAnim >= CHAR_ANIM_MAX) { return 0; } if (!character || characterAnim < 0 || characterAnim >= CHAR_ANIM_MAX) { return characterAnim; }
return character->anims[characterAnim]; return character->anims[characterAnim];
} }

View file

@ -1811,8 +1811,6 @@ char gSmluaConstants[] = ""
"MARIO_ANIM_RETURN_FROM_STAR_DANCE = 206\n" "MARIO_ANIM_RETURN_FROM_STAR_DANCE = 206\n"
"MARIO_ANIM_FORWARD_SPINNING_FLIP = 207\n" "MARIO_ANIM_FORWARD_SPINNING_FLIP = 207\n"
"MARIO_ANIM_TRIPLE_JUMP_FLY = 208\n" "MARIO_ANIM_TRIPLE_JUMP_FLY = 208\n"
"WALUIGI_ANIM_WALKING = 209\n"
"WALUIGI_ANIM_RUNNING = 210\n"
"CHAR_ANIM_SLOW_LEDGE_GRAB = 0\n" "CHAR_ANIM_SLOW_LEDGE_GRAB = 0\n"
"CHAR_ANIM_FALL_OVER_BACKWARDS = 1\n" "CHAR_ANIM_FALL_OVER_BACKWARDS = 1\n"
"CHAR_ANIM_BACKWARD_AIR_KB = 2\n" "CHAR_ANIM_BACKWARD_AIR_KB = 2\n"