Sets player getItemId before other messagebox instance.

This commit is contained in:
Christopher Leggett 2022-08-09 07:26:17 -04:00
parent 6f7b38539b
commit 20bbf85f00
No known key found for this signature in database
GPG Key ID: 7093AE5FF7037D79

View File

@ -154,6 +154,7 @@ void func_80AFB89C(EnSi* this, GlobalContext* globalCtx) {
} else { } else {
Item_Give(globalCtx, giveItemId); Item_Give(globalCtx, giveItemId);
} }
player->getItemId = getItemId;
Message_StartTextbox(globalCtx, textId, NULL); Message_StartTextbox(globalCtx, textId, NULL);
if (gSaveContext.n64ddFlag) { if (gSaveContext.n64ddFlag) {
Audio_PlayFanfare_Rando(getItemId); Audio_PlayFanfare_Rando(getItemId);