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 46 degree wallkicks toggle
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
#include "interaction.h"
|
||||
#include "mario_step.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
static s16 sMovingSandSpeeds[] = { 12, 8, 4, 0 };
|
||||
|
||||
struct Surface gWaterSurfacePseudoFloor = {
|
||||
@@ -490,8 +492,11 @@ s32 perform_air_quarter_step(struct MarioState *m, Vec3f intendedPos, u32 stepAr
|
||||
if (m->wall->type == SURFACE_BURNING) {
|
||||
return AIR_STEP_HIT_LAVA_WALL;
|
||||
}
|
||||
|
||||
#ifdef WALLKICKS_46_DEGREES
|
||||
if (wallDYaw < -0x5F00 || wallDYaw > 0x5700) {
|
||||
#else
|
||||
if (wallDYaw < -0x6000 || wallDYaw > 0x6000) {
|
||||
#endif
|
||||
m->flags |= MARIO_UNKNOWN_30;
|
||||
return AIR_STEP_HIT_WALL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user