added nonstop stars toggle
This commit is contained in:
1 parent
027ffdba95
commit
8e70d87f29
2 files changed
+6
No files matched your search
@@ -71,6 +71,8 @@
|
||||
#define JUMP_KICK_FIX
|
||||
// Disables fall damage
|
||||
#define NO_FALL_DAMAGE
|
||||
// Stars don't kick you out of the level
|
||||
// #define NON_STOP_STARS
|
||||
// Uncomment this if you want global star IDs (useful for creating an open world hack ala MVC)
|
||||
//#define GLOBAL_STAR_IDS
|
||||
// Uncomment this if you want to skip the title screen (Super Mario 64 logo)
|
||||
|
||||
@@ -769,7 +769,11 @@ u32 interact_water_ring(struct MarioState *m, UNUSED u32 interactType, struct Ob
|
||||
u32 interact_star_or_key(struct MarioState *m, UNUSED u32 interactType, struct Object *o) {
|
||||
u32 starIndex;
|
||||
u32 starGrabAction = ACT_STAR_DANCE_EXIT;
|
||||
#ifdef NON_STOP_STARS
|
||||
u32 noExit = 1;
|
||||
#else
|
||||
u32 noExit = (o->oInteractionSubtype & INT_SUBTYPE_NO_EXIT) != 0;
|
||||
#endif
|
||||
u32 grandStar = (o->oInteractionSubtype & INT_SUBTYPE_GRAND_STAR) != 0;
|
||||
|
||||
if (m->health >= 0x100) {
|
||||
|
||||
Reference in new issue
Block a user