This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
super_mario_64:minor_decomp_tweaks [2020/11/05 14:05] Tenry created |
super_mario_64:minor_decomp_tweaks [2020/11/11 16:56] Tenry add how to skip initial title screen |
||
---|---|---|---|
Line 53: | Line 53: | ||
//This tweak was originally posted by “Revo” in the N64 Decompilation discord.// | //This tweak was originally posted by “Revo” in the N64 Decompilation discord.// | ||
+ | |||
+ | ===== Skip initial title screen ===== | ||
+ | |||
+ | In order to skip the very first title screen, change levels/entry.c. Choose any menu or level you want to start with. Put that levels script in the EXECUTE line as the entry parameter. For example, in order to start with the file select menu, change level_intro_entry_1 into script_intro_L1: | ||
+ | |||
+ | <code c> | ||
+ | EXECUTE(/*seg*/ 0x14, /*script*/ _introSegmentRomStart, /*scriptEnd*/ _introSegmentRomEnd, /*entry*/ script_intro_L1), | ||
+ | </code> | ||
+ | |||
+ | Ensure to #include the level's header.h file in the top. | ||