summaryrefslogtreecommitdiff
path: root/src/walda_phrase.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-11-01 21:31:10 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-11-01 21:31:10 +0100
commit0bb51037d7d3e257a84b1488016441aafd34b020 (patch)
tree80be30e68eb7b53be9cc85c5e4b55c09140b546d /src/walda_phrase.c
parent37d742cbd86eab628e0d84d5957a805c407b0948 (diff)
Finish frontier util
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)