From 0087bfbda0b8b7483855412679dc6192fb36a246 Mon Sep 17 00:00:00 2001 From: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Date: Wed, 21 May 2025 22:22:19 +1000 Subject: [PATCH] Revert "fix a likely bug in exclamation boxes where high behavior ids don't work" This reverts commit c27b9c0e87b75560ba055d11c01a17442c686b8e. --- src/game/behaviors/exclamation_box.inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/behaviors/exclamation_box.inc.c b/src/game/behaviors/exclamation_box.inc.c index e65f9d039..2beff18ab 100644 --- a/src/game/behaviors/exclamation_box.inc.c +++ b/src/game/behaviors/exclamation_box.inc.c @@ -104,7 +104,7 @@ static s32 exclamation_replace_model(struct MarioState* m, s32 model) { } } -void exclamation_box_spawn_contents(struct ExclamationBoxContent *content, s16 itemId) { +void exclamation_box_spawn_contents(struct ExclamationBoxContent *content, u8 itemId) { if (content == NULL) { return; } struct MarioState* marioState = nearest_mario_state_to_object(o); struct Object* player = marioState ? marioState->marioObj : NULL;