Review changes
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user