Merge pull request #537 from GriffinRichards/doc-bmsg

Sync/document battle_message.c
This commit is contained in:
GriffinR
2022-08-23 10:45:48 -04:00
committed by GitHub
33 changed files with 777 additions and 433 deletions
+1 -1
View File
@@ -6082,7 +6082,7 @@ bool8 CheckBattleTypeGhost(struct Pokemon *mon, u8 battlerId)
if (gBattleTypeFlags & BATTLE_TYPE_GHOST && GetBattlerSide(battlerId) != B_SIDE_PLAYER)
{
GetMonData(mon, MON_DATA_NICKNAME, buffer);
StringGetEnd10(buffer);
StringGet_Nickname(buffer);
if (!StringCompare(buffer, gText_Ghost))
return TRUE;
}