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 no false ledgegrabs tweak
This commit is contained in:
@@ -65,6 +65,8 @@
|
||||
#define DISABLE_AA
|
||||
// Fix instant warp offset not working when warping across different areas
|
||||
#define INSTANT_WARP_OFFSET_FIX
|
||||
// Allows Mario to ledgegrab sloped floors
|
||||
#define NO_FALSE_LEDGEGRABS
|
||||
// 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)
|
||||
|
||||
@@ -550,11 +550,11 @@ s32 act_ledge_grab(struct MarioState *m) {
|
||||
if (m->actionTimer < 10) {
|
||||
m->actionTimer++;
|
||||
}
|
||||
|
||||
#ifndef NO_FALSE_LEDGEGRABS
|
||||
if (m->floor->normal.y < 0.9063078f) {
|
||||
return let_go_of_ledge(m);
|
||||
}
|
||||
|
||||
#endif
|
||||
if (m->input & (INPUT_Z_PRESSED | INPUT_OFF_FLOOR)) {
|
||||
return let_go_of_ledge(m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user