Skip to content

Commit 19252e4

Browse files
authored
Merge pull request sm64-port#31 from Zero-Shift/master
Merged. Thanks for your contribution! "Changed amount of sleep frames when transitioning from main menu and exiting a stage to fix TAS sync issues."
2 parents b433139 + 3f9236a commit 19252e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

levels/menu/script.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const LevelScript level_main_menu_entry_1[] = {
5050
GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_SAVE_FILE_NUM),
5151
STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
5252
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
53-
SLEEP(/*frames*/ 24),
53+
SLEEP(/*frames*/ 16),
5454
CLEAR_LEVEL(),
5555
SLEEP_BEFORE_EXIT(/*frames*/ 1),
5656
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
@@ -89,7 +89,7 @@ const LevelScript level_main_menu_entry_2[] = {
8989
/*35*/ GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_ACT_NUM),
9090
/*36*/ STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
9191
/*37*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
92-
/*39*/ SLEEP(/*frames*/ 24),
92+
/*39*/ SLEEP(/*frames*/ 16),
9393
/*40*/ CLEAR_LEVEL(),
9494
/*41*/ SLEEP_BEFORE_EXIT(/*frames*/ 1),
9595
// L1:

0 commit comments

Comments
 (0)