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 jump kick fix
This commit is contained in:
@@ -67,6 +67,8 @@
|
||||
#define INSTANT_WARP_OFFSET_FIX
|
||||
// Allows Mario to ledgegrab sloped floors
|
||||
#define NO_FALSE_LEDGEGRABS
|
||||
// Allows Mario to jump kick on steep surfaces that are set to be non slippery, instead of being forced to dive
|
||||
#define JUMP_KICK_FIX
|
||||
// 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)
|
||||
|
||||
@@ -639,6 +639,11 @@ s32 mario_floor_is_steep(struct MarioState *m) {
|
||||
f32 normY;
|
||||
s32 result = FALSE;
|
||||
|
||||
#ifdef JUMP_KICK_FIX
|
||||
if (m->floor->type == SURFACE_NOT_SLIPPERY)
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
// Interestingly, this function does not check for the
|
||||
// slide terrain type. This means that steep behavior persists for
|
||||
// non-slippery and slippery surfaces.
|
||||
|
||||
Reference in New Issue
Block a user