summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index 39019421c..1270a25ed 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -6059,7 +6059,7 @@ bool8 CheckBattleTypeGhost(struct Pokemon *mon, u8 battlerId)
{
GetMonData(mon, MON_DATA_NICKNAME, buffer);
StringGetEnd10(buffer);
- if (!StringCompare(buffer, gUnknown_841D148))
+ if (!StringCompare(buffer, gText_Ghost))
return TRUE;
}
return FALSE;