Fix missing changes

This commit is contained in:
MysterD 2022-02-20 20:39:05 -08:00
parent ad6907ff77
commit c2ee370182
3 changed files with 4 additions and 4 deletions

View File

@ -845,7 +845,7 @@ s16 level_trigger_warp(struct MarioState *m, s32 warpOp) {
play_transition(WARP_TRANSITION_FADE_INTO_CIRCLE, 0x14, 0x00, 0x00, 0x00);
break;
case WARP_OP_UNKNOWN_01: // enter totwc
case WARP_OP_LOOK_UP: // enter totwc
sDelayedWarpTimer = 30;
sSourceWarpNodeId = WARP_NODE_F2;
play_transition(WARP_TRANSITION_FADE_INTO_COLOR, 0x1E, 0xFF, 0xFF, 0xFF);

View File

@ -12,7 +12,7 @@
#define TIMER_CONTROL_HIDE 3
#define WARP_OP_NONE 0x00
#define WARP_OP_UNKNOWN_01 0x01
#define WARP_OP_LOOK_UP 0x01
#define WARP_OP_UNKNOWN_02 0x02
#define WARP_OP_WARP_DOOR 0x03
#define WARP_OP_WARP_OBJECT 0x04

View File

@ -1857,7 +1857,7 @@ static u8 prevent_hang(u32 hangPreventionActions[], u8* hangPreventionIndex) {
// force the crash in debug mode
#ifdef DEBUG
SOFT_ASSERT(hangPreventionIndex == 0);
SOFT_ASSERT_RETURN(hangPreventionIndex == 0, TRUE);
#endif
return TRUE;