Classic mode bugfix
oopsiedaisy
This commit is contained in:
1 parent
0a816814a5
commit
8be1e09124
1 file changed
+7
-1
+7
-1
@@ -1400,6 +1400,12 @@ void update_mario_inputs(struct MarioState *m) {
|
||||
m->collidedObjInteractTypes = m->marioObj->collidedObjInteractTypes;
|
||||
m->flags &= 0xFFFFFF;
|
||||
|
||||
if (gPuppyCam.mode3Flags & PUPPYCAM_MODE3_ENTER_FIRST_PERSON)
|
||||
{
|
||||
m->input = INPUT_FIRST_PERSON;
|
||||
return;
|
||||
}
|
||||
|
||||
update_mario_button_inputs(m);
|
||||
update_mario_joystick_inputs(m);
|
||||
update_mario_geometry_inputs(m);
|
||||
@@ -1417,7 +1423,7 @@ void update_mario_inputs(struct MarioState *m) {
|
||||
if (!(m->input & (INPUT_NONZERO_ANALOG | INPUT_A_PRESSED))) {
|
||||
m->input |= INPUT_UNKNOWN_5;
|
||||
}
|
||||
|
||||
|
||||
// These 3 flags are defined by Bowser stomping attacks
|
||||
if (m->marioObj->oInteractStatus
|
||||
& (INT_STATUS_MARIO_STUNNED | INT_STATUS_MARIO_KNOCKBACK_DMG | INT_STATUS_MARIO_SHOCKWAVE)) {
|
||||
|
||||
Reference in new issue
Block a user