summaryrefslogtreecommitdiff
path: root/src/walda_phrase.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-11-06 10:06:21 -0600
committerGitHub <noreply@github.com>2018-11-06 10:06:21 -0600
commitccc5d27fcb8647225656b06a60a7d79ad0fa299f (patch)
treee27f82eb3379f76720675dff72e1d89f63458799 /src/walda_phrase.c
parent9adbb5d8719db5e60f0051b5a854deec09ae5860 (diff)
parent258ec3162f981932a83d08e404f1944a12b3f952 (diff)
Merge pull request #376 from DizzyEggg/battle_frontier_2
Decompile part of battle_frontier_2
Diffstat (limited to 'src/walda_phrase.c')
-rw-r--r--src/walda_phrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/walda_phrase.c b/src/walda_phrase.c
index 4a82be14f..ff2ee7399 100644
--- a/src/walda_phrase.c
+++ b/src/walda_phrase.c
@@ -95,7 +95,7 @@ u16 TryGetWallpaperWithWaldaPhrase(void)
{
u16 backgroundClr, foregroundClr;
u8 patternId, iconId;
- u16 trainerId = ReadUnalignedWord(gSaveBlock2Ptr->playerTrainerId);
+ u16 trainerId = GetTrainerId(gSaveBlock2Ptr->playerTrainerId);
gSpecialVar_Result = TryCalculateWallpaper(&backgroundClr, &foregroundClr, &iconId, &patternId, trainerId, GetWaldaPhrasePtr());
if (gSpecialVar_Result)