You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Add file select skip define (#723)
* add config define to skip file select * implement file select skip * Add more coverage to the skip file select tweak --------- Co-authored-by: someone2639 <someone2639@gmail.com>
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include "segment_symbols.h"
|
||||
#include "level_commands.h"
|
||||
|
||||
#include "config/config_cutscenes.h"
|
||||
|
||||
#include "game/area.h"
|
||||
#include "game/level_update.h"
|
||||
#include "menu/file_select.h"
|
||||
@@ -19,6 +21,7 @@
|
||||
#include "levels/menu/header.h"
|
||||
|
||||
const LevelScript level_main_menu_entry_file_select[] = {
|
||||
#ifndef SKIP_FILE_SELECT
|
||||
INIT_LEVEL(),
|
||||
LOAD_GODDARD(),
|
||||
LOAD_LEVEL_DATA(menu),
|
||||
@@ -53,6 +56,7 @@ const LevelScript level_main_menu_entry_file_select[] = {
|
||||
SLEEP(/*frames*/ 16),
|
||||
CLEAR_LEVEL(),
|
||||
SLEEP_BEFORE_EXIT(/*frames*/ 1),
|
||||
#endif // SKIP_FILE_SELECT
|
||||
SET_REG(/*value*/ START_LEVEL),
|
||||
EXIT_AND_EXECUTE(/*seg*/ SEGMENT_GLOBAL_LEVEL_SCRIPT, _scriptsSegmentRomStart, _scriptsSegmentRomEnd, level_main_scripts_entry),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user