Credits skip (#50)
Press the start button to skip the credits. Works during ACT_END_PEACH_CUTSCENE and ACT_CREDITS_CUTSCENE.
This commit is contained in:
parent
784614347b
commit
a9c1c9b4e4
|
@ -1529,6 +1529,12 @@ void update_mario_inputs(struct MarioState *m) {
|
|||
#endif
|
||||
/* End of developer stuff */
|
||||
|
||||
if ((m->action == ACT_END_PEACH_CUTSCENE || m->action == ACT_CREDITS_CUTSCENE) && m->controller->buttonPressed & START_BUTTON) {
|
||||
gCurrActStarNum = 0;
|
||||
gCurrActNum = 0;
|
||||
gChangeLevel = 16;
|
||||
}
|
||||
|
||||
if (m->playerIndex == 0) {
|
||||
if (!localIsPaused && gCameraMovementFlags & CAM_MOVE_C_UP_MODE) {
|
||||
if (m->action & ACT_FLAG_ALLOW_FIRST_PERSON) {
|
||||
|
|
Loading…
Reference in New Issue