Review changes

This commit is contained in:
Eduardo Quezada
2022-10-27 11:26:09 -03:00
parent 85ce30b1d6
commit 85c0d2dac8
27 changed files with 10867 additions and 11002 deletions
+2 -2
View File
@@ -51,9 +51,9 @@ void GetWordPhonemes(struct BardSong *song, u16 word)
for (i = 0; i < 6; i ++)
{
sound = &song->sound[i];
if (sound->var00 != 0xFF)
if (sound->songLengthId != 0xFF)
{
song->phonemes[i].length = sound->var01 + gBardSoundLengthTable[sound->var00];
song->phonemes[i].length = sound->songLengthOffset + gBardSoundLengthTable[sound->songLengthId];
song->phonemes[i].pitch = CalcWordPitch(word + 30, i);
song->length += song->phonemes[i].length;
}