diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-01-16 15:51:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 15:51:18 -0500 |
commit | 2af612486334cddbbe7a7fe7cf04af175ff1302f (patch) | |
tree | ba5406d16a4b61dd270518859a5d3a254bcd5806 /src/pokemon.c | |
parent | 7cddc40bbfcd45994f63db22af305dab4db5491c (diff) | |
parent | 8b2bf805eab3d1e7ca11eda11d6b409fac431248 (diff) |
Merge pull request #226 from GriffinRichards/doc-lavender
Document Lavender Town scripts
Diffstat (limited to 'src/pokemon.c')
-rw-r--r-- | src/pokemon.c | 2 |
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; |