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 fall damage sound toggle
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
#define JUMP_KICK_FIX
|
||||
// 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)
|
||||
//#define NO_FALL_DAMAGE_SOUND
|
||||
// Number of coins to spawn the "100 coin" star. If you remove the define altogether, then there won't be a 100 coin star at all.
|
||||
#define X_COIN_STAR 100
|
||||
// Stars don't kick you out of the level
|
||||
|
||||
@@ -2063,8 +2063,9 @@ s32 mario_execute_airborne_action(struct MarioState *m) {
|
||||
if (check_common_airborne_cancels(m)) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#ifndef NO_FALL_DAMAGE_SOUND
|
||||
play_far_fall_sound(m);
|
||||
#endif
|
||||
|
||||
/* clang-format off */
|
||||
switch (m->action) {
|
||||
|
||||
Reference in New Issue
Block a user