You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
added option to exit course while moving
This commit is contained in:
@@ -16,6 +16,7 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
|
||||
- Mario head skip *
|
||||
- Peach letter cutscene skip *
|
||||
- Ability to easily change the warp that EXIT COURSE takes you to via config.h, or disable it entirely
|
||||
- Exit course while moving *
|
||||
- Toggle to disable fall damage and the fall damage sound *
|
||||
- Ability to configure whether there's a 100 coin star at all and how many coins are required to spawn it *
|
||||
- Non-stop stars *
|
||||
|
||||
@@ -88,6 +88,8 @@
|
||||
#define TREE_PARTICLE_FIX
|
||||
// Disable exit course
|
||||
//#define DISABLE_EXIT_COURSE
|
||||
// Decides whether you can exit course while moving (has no effect if you disable exit course)
|
||||
//#define EXIT_COURSE_WHILE_MOVING
|
||||
// Decides which level "exit course" takes you to (has no effect if you disable exit course)
|
||||
#define EXIT_COURSE_LEVEL LEVEL_CASTLE
|
||||
// Decides the area node "exit course" takes you to (has no effect if you disable exit course)
|
||||
|
||||
@@ -1751,8 +1751,12 @@ s16 render_pause_courses_and_castle(void) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (gMarioStates[0].action & ACT_FLAG_PAUSE_EXIT) {
|
||||
#ifndef EXIT_COURSE_WHILE_MOVING
|
||||
s32 exitCheck = gMarioStates[0].action & ACT_FLAG_PAUSE_EXIT;
|
||||
#else
|
||||
s32 exitCheck = 1;
|
||||
#endif
|
||||
if (exitCheck) {
|
||||
#ifndef DISABLE_EXIT_COURSE
|
||||
render_pause_course_options(99, 93, &gDialogLineNum, 15);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user