User Tools

Site Tools


super_mario_64:minor_decomp_tweaks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
super_mario_64:minor_decomp_tweaks [2020/11/11 16:56]
Tenry add how to skip initial title screen
super_mario_64:minor_decomp_tweaks [2022/02/18 11:21]
sc22 Add skip Lakitu cutscene
Line 5: Line 5:
 ===== Skip Peach intro ===== ===== Skip Peach intro =====
  
-To skip the intro peach cutscene when you start a new file, in ''​init_level''​ in ''​level_update.c'',​ change:+To skip the intro peach cutscene ​on the bridge ​when you start a new file, in ''​init_level''​ in ''​level_update.c'',​ change:
  
 <code c> <code c>
Line 35: Line 35:
  
 //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 Lakitu cutscene =====
 +
 +To skip the lakitu cutscene when you start a new file, in ''​bhv_camera_lakitu_init''​ in ''​camera_lakitu.inc.c'',​ change:
 +
 +<code c>
 +if (o->​oBehParams2ndByte != CAMERA_LAKITU_BP_FOLLOW_CAMERA) {
 +        // Despawn unless this is the very beginning of the game
 +        if (gNeverEnteredCastle != TRUE) {
 +            obj_mark_for_deletion(o);​
 +        }
 +    } else {
 +        spawn_object_relative_with_scale(CLOUD_BP_LAKITU_CLOUD,​ 0, 0, 0, 2.0f, o, MODEL_MIST, bhvCloud);
 +    }
 +</​code>​
 +
 +to
 +
 +<code c>
 +if (o->​oBehParams2ndByte != CAMERA_LAKITU_BP_FOLLOW_CAMERA) {
 +        // Always despawn
 +        obj_mark_for_deletion(o);​
 +    } else {
 +        spawn_object_relative_with_scale(CLOUD_BP_LAKITU_CLOUD,​ 0, 0, 0, 2.0f, o, MODEL_MIST, bhvCloud);
 +    }
 +</​code>​
  
 ===== Skip Mario head (Goddard) sequence ===== ===== Skip Mario head (Goddard) sequence =====
super_mario_64/minor_decomp_tweaks.txt ยท Last modified: 2022/02/18 11:22 by sc22