mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-28 23:13:02 +00:00
Update script.c
Changed amount of sleep frames when transitioning from main menu and exiting a stage to fix TAS sync issues
This commit is contained in:
parent
b43313974c
commit
3f9236a233
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ const LevelScript level_main_menu_entry_1[] = {
|
||||||
GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_SAVE_FILE_NUM),
|
GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_SAVE_FILE_NUM),
|
||||||
STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
||||||
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
||||||
SLEEP(/*frames*/ 24),
|
SLEEP(/*frames*/ 16),
|
||||||
CLEAR_LEVEL(),
|
CLEAR_LEVEL(),
|
||||||
SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
||||||
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
|
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
|
||||||
|
@ -89,7 +89,7 @@ const LevelScript level_main_menu_entry_2[] = {
|
||||||
/*35*/ GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_ACT_NUM),
|
/*35*/ GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_ACT_NUM),
|
||||||
/*36*/ STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
/*36*/ STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
||||||
/*37*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
/*37*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
||||||
/*39*/ SLEEP(/*frames*/ 24),
|
/*39*/ SLEEP(/*frames*/ 16),
|
||||||
/*40*/ CLEAR_LEVEL(),
|
/*40*/ CLEAR_LEVEL(),
|
||||||
/*41*/ SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
/*41*/ SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
||||||
// L1:
|
// L1:
|
||||||
|
|
Loading…
Reference in a new issue