From d1772c334039a940a187aefa99c82ce1e4b5d002 Mon Sep 17 00:00:00 2001 From: Revo Date: Mon, 16 Aug 2021 13:03:59 -0400 Subject: [PATCH] Fix non equivalence in Audio_SequenceChannelProcessScript. (#904) --- src/code/audio_seqplayer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/code/audio_seqplayer.c b/src/code/audio_seqplayer.c index 2c48d9b1ad..6b1ff361e3 100644 --- a/src/code/audio_seqplayer.c +++ b/src/code/audio_seqplayer.c @@ -1044,8 +1044,8 @@ void Audio_SequenceChannelProcessScript(SequenceChannel* channel) { if (player->defaultBank != 0xFF) { offset = ((u16*)gAudioContext.unk_283C)[player->seqId]; - lowBits = gAudioContext.unk_283C[offset]; - command = gAudioContext.unk_283C[offset + lowBits - result]; + lowBits = gAudioContext.unk_283Cb[offset]; + command = gAudioContext.unk_283Cb[offset + lowBits - result]; } if (func_800DF074(1, 2, command)) { @@ -1155,8 +1155,8 @@ void Audio_SequenceChannelProcessScript(SequenceChannel* channel) { if (player->defaultBank != 0xFF) { offset = ((u16*)gAudioContext.unk_283C)[player->seqId]; - lowBits = gAudioContext.unk_283C[offset]; - command = gAudioContext.unk_283C[offset + lowBits - result]; + lowBits = gAudioContext.unk_283Cb[offset]; + command = gAudioContext.unk_283Cb[offset + lowBits - result]; } if (func_800DF074(1, 2, command)) {