Added option to disable BLJs

This commit is contained in:
Reonu committed 2021-07-01 10:28:34 +01:00
1 parent 8abd187c6e
commit 8c9e2a48ef
3 files changed
+6 -1

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ This is a fork of the ultrasm64 repo by CrashOveride which includes the followin
- No false ledgegrabs fix *
- Jump kick fix *
- 46 degree wallkicks *
- Possibility of disabling BLJs *
- Instant Input patch by Wiseguy (Removes all input lag caused by good emulators and plugins)
- pole fix
- Hanging fix (mario can grab hangable ceilings from any state, instead of only jump or double jump) *
+2
View File
@@ -74,6 +74,8 @@
#define HANGING_FIX
// 46 degree walkicks
//#define WALLKICKS_46_DEGREES
// Disable BLJs and crush SimpleFlips's dreams
//#define DISABLE_BLJ
// Disables fall damage
#define NO_FALL_DAMAGE
// Disables the scream that mario makes when falling off a great height (this is separate from actual fall damage)
+3 -1
View File
@@ -13,6 +13,8 @@
#include "behavior_data.h"
#include "rumble_init.h"
#include "config.h"
struct LandingAction {
s16 numFrames;
s16 unk02;
@@ -1845,7 +1847,7 @@ s32 act_hold_freefall_land(struct MarioState *m) {
}
s32 act_long_jump_land(struct MarioState *m) {
#ifdef VERSION_SH
#if defined (VERSION_SH) || defined(DISABLE_BLJ)
// BLJ (Backwards Long Jump) speed build up fix, crushing SimpleFlips's dreams since July 1997
if (m->forwardVel < 0.0f) {
m->forwardVel = 0.0f;