mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
Decrease the sleep times in some spots, We do not need them to be so long. (#373)
This commit is contained in:
parent
61e11b1e0f
commit
9b1123dde9
3 changed files with 5 additions and 5 deletions
|
@ -50,7 +50,7 @@ const LevelScript level_main_menu_entry_1[] = {
|
|||
GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_SAVE_FILE_NUM),
|
||||
STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
||||
TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
||||
SLEEP(/*frames*/ 16),
|
||||
SLEEP(/*frames*/ 8), // Was 16 frames
|
||||
CLEAR_LEVEL(),
|
||||
SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
||||
SET_REG(/*value*/ LEVEL_CASTLE_GROUNDS),
|
||||
|
@ -80,13 +80,13 @@ const LevelScript level_main_menu_entry_2[] = {
|
|||
CALL(/*arg*/ 0, /*func*/ lvl_init_act_selector_values_and_stars),
|
||||
|
||||
/*27*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_FROM_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
||||
/*29*/ SLEEP(/*frames*/ 16),
|
||||
/*29*/ SLEEP(/*frames*/ 8), // Was 16 frames
|
||||
/*30*/ SET_MENU_MUSIC(/*seq*/ 0x000D),
|
||||
/*33*/ CALL_LOOP(/*arg*/ 0, /*func*/ lvl_update_obj_and_load_act_button_actions),
|
||||
/*35*/ GET_OR_SET(/*op*/ OP_SET, /*var*/ VAR_CURR_ACT_NUM),
|
||||
/*36*/ STOP_MUSIC(/*fadeOutTime*/ 0x00BE),
|
||||
/*37*/ TRANSITION(/*transType*/ WARP_TRANSITION_FADE_INTO_COLOR, /*time*/ 16, /*color*/ 0xFF, 0xFF, 0xFF),
|
||||
/*39*/ SLEEP(/*frames*/ 16),
|
||||
/*39*/ SLEEP(/*frames*/ 10), // Was 16 frames
|
||||
/*40*/ CLEAR_LEVEL(),
|
||||
/*41*/ SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
||||
// L1:
|
||||
|
|
|
@ -151,7 +151,7 @@ const LevelScript level_main_scripts_entry[] = {
|
|||
LOOP_BEGIN(),
|
||||
EXECUTE(/*seg*/ 0x14, _menuSegmentRomStart, _menuSegmentRomEnd, level_main_menu_entry_2),
|
||||
JUMP_LINK(script_exec_level_table),
|
||||
SLEEP(/*frames*/ 1),
|
||||
//SLEEP(/*frames*/ 1),
|
||||
LOOP_UNTIL(/*op*/ OP_LT, /*arg*/ 0),
|
||||
JUMP_IF(/*op*/ OP_EQ, /*arg*/ -1, script_L2),
|
||||
JUMP_IF(/*op*/ OP_EQ, /*arg*/ -2, goto_mario_head_regular),
|
||||
|
|
|
@ -278,7 +278,7 @@ void fade_into_special_warp(u32 arg, u32 color) {
|
|||
|
||||
fadeout_music(190);
|
||||
play_transition(WARP_TRANSITION_FADE_INTO_COLOR, 0x10, color, color, color);
|
||||
level_set_transition(30, NULL);
|
||||
level_set_transition(16, NULL);
|
||||
|
||||
warp_special(arg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue