Fix alignment and typos

This commit is contained in:
PikalaxALT
2021-03-23 15:58:16 -04:00
parent 56b37fef8d
commit 877e09438b
6 changed files with 59 additions and 59 deletions
+1 -1
View File
@@ -47,6 +47,6 @@ bool8 IsSEPlaying(void);
bool8 IsBGMPlaying(void); bool8 IsBGMPlaying(void);
bool8 IsSpecialSEPlaying(void); bool8 IsSpecialSEPlaying(void);
void SetBGMVolume_SuppressHelpSystemReduction(u16 volume); void SetBGMVolume_SuppressHelpSystemReduction(u16 volume);
void BGMVolumeMax_EnableHelySystemReduction(void); void BGMVolumeMax_EnableHelpSystemReduction(void);
#endif // GUARD_SOUND_H #endif // GUARD_SOUND_H
+1 -1
View File
@@ -743,7 +743,7 @@ static void BerryCrush_UpdateGameState(struct BerryCrushGame * game)
u8 i; u8 i;
for (i = 0; i < game->playerCount; ++i) for (i = 0; i < game->playerCount; ++i)
game->unk68.as_four_players.others[i].apply.as_2d_bytes[1][5] = 0; game->unk68.as_four_players.others[i].unk4.as_2d_bytes[1][5] = 0;
#endif #endif
if ((gRecvCmds[0][0] & 0xFF00) != 0x2F00 if ((gRecvCmds[0][0] & 0xFF00) != 0x2F00
|| gRecvCmds[0][1] != 2) || gRecvCmds[0][1] != 2)
+1 -1
View File
@@ -925,7 +925,7 @@ bool8 sub_8102798(void)
FREE_IF_NOT_NULL(GetBgTilemapBuffer(1)); FREE_IF_NOT_NULL(GetBgTilemapBuffer(1));
FREE_IF_NOT_NULL(GetBgTilemapBuffer(2)); FREE_IF_NOT_NULL(GetBgTilemapBuffer(2));
FREE_IF_NOT_NULL(GetBgTilemapBuffer(3)); FREE_IF_NOT_NULL(GetBgTilemapBuffer(3));
BGMVolumeMax_EnableHelySystemReduction(); BGMVolumeMax_EnableHelpSystemReduction();
break; break;
} }
return TRUE; return TRUE;
+1 -1
View File
@@ -636,7 +636,7 @@ void SetBGMVolume_SuppressHelpSystemReduction(u16 volume)
m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, volume); m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, volume);
} }
void BGMVolumeMax_EnableHelySystemReduction(void) void BGMVolumeMax_EnableHelpSystemReduction(void)
{ {
gDisableHelpSystemVolumeReduce = FALSE; gDisableHelpSystemVolumeReduce = FALSE;
m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 256); m4aMPlayVolumeControl(&gMPlayInfo_BGM, 0xFFFF, 256);