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 nonstop stars toggle
This commit is contained in:
@@ -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