Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/config.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define BETA_TRIPLE_JUMP

#ifndef CONFIG_H
#define CONFIG_H
// ULTRASM64-EXTBOUNDS CONFIG FLAGS NEAR BOTTOM
Expand Down
6 changes: 6 additions & 0 deletions src/game/mario_actions_moving.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,13 @@ s32 set_triple_jump_action(struct MarioState *m, UNUSED u32 action, UNUSED u32 a
return set_mario_action(m, ACT_FLYING_TRIPLE_JUMP, 0);
} else if (m->forwardVel > 20.0f) {
if (m->canTripleJump || m->unlockEverything) {
#ifdef BETA_TRIPLE_JUMP
m->vel[1] = 69.f;
m->forwardVel *= 0.8f;
return set_mario_action(m, ACT_TWIRLING, 0);
#else
return set_mario_action(m, ACT_TRIPLE_JUMP, 0);
#endif
}
else {
return set_mario_action(m, ACT_IDLE, 0);
Expand Down