Added value for bard sound length
This commit is contained in:
@@ -48,7 +48,7 @@ void GetWordPhonemes(struct BardSong *song, u16 word)
|
||||
const struct BardSound *sound;
|
||||
|
||||
song->length = 0;
|
||||
for (i = 0; i < 6; i ++)
|
||||
for (i = 0; i < BARD_SOUND_MAX_LENGTH; i ++)
|
||||
{
|
||||
sound = &song->sound[i];
|
||||
if (sound->songLengthId != 0xFF)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
const u16 gNumBardWords_Moves = MOVES_COUNT;
|
||||
|
||||
const struct BardSound gBardSounds_Moves[MOVES_COUNT][6] = {
|
||||
const struct BardSound gBardSounds_Moves[MOVES_COUNT][BARD_SOUND_MAX_LENGTH] = {
|
||||
[MOVE_NONE] = {
|
||||
NULL_BARD_SOUND,
|
||||
NULL_BARD_SOUND,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
const u16 gNumBardWords_Species = NUM_SPECIES;
|
||||
|
||||
const struct BardSound gBardSounds_Pokemon[NUM_SPECIES][6] = {
|
||||
const struct BardSound gBardSounds_Pokemon[NUM_SPECIES][BARD_SOUND_MAX_LENGTH] = {
|
||||
[SPECIES_NONE] = {
|
||||
NULL_BARD_SOUND,
|
||||
NULL_BARD_SOUND,
|
||||
|
||||
Reference in New Issue
Block a user