summaryrefslogtreecommitdiff
path: root/src/walda_phrase.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-16 08:36:51 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-16 19:00:07 -0500
commit236cbf96c8f94b8b2d23be8c72ee0e188e82842d (patch)
treec2042f78efdc37a5b64c9cd797cc0c66a0c80255 /src/walda_phrase.c
parent50501396b21bf132cf71d0f5d353bf51d277ba27 (diff)
parentc0d180a8702b9b20afe07b09316286f6406e5811 (diff)
Merge origin/master into pikalaxalt/link
Diffstat (limited to 'src/walda_phrase.c')
-rw-r--r--src/walda_phrase.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/walda_phrase.c b/src/walda_phrase.c
index 7e06d1319..59fd3fedb 100644
--- a/src/walda_phrase.c
+++ b/src/walda_phrase.c
@@ -98,17 +98,17 @@ u16 TryGetWallpaperWithWaldaPhrase(void)
u16 backgroundClr, foregroundClr;
u8 patternId, iconId;
u16 trainerId = ReadUnalignedWord(gSaveBlock2Ptr->playerTrainerId);
- gScriptResult = TryCalculateWallpaper(&backgroundClr, &foregroundClr, &iconId, &patternId, trainerId, GetWaldaPhrasePtr());
+ gSpecialVar_Result = TryCalculateWallpaper(&backgroundClr, &foregroundClr, &iconId, &patternId, trainerId, GetWaldaPhrasePtr());
- if (gScriptResult)
+ if (gSpecialVar_Result)
{
SetWaldaWallpaperPatternId(patternId);
SetWaldaWallpaperIconId(iconId);
SetWaldaWallpaperColors(backgroundClr, foregroundClr);
}
- SetWaldaWallpaperLockedOrUnlocked(gScriptResult);
- return (bool8)(gScriptResult);
+ SetWaldaWallpaperLockedOrUnlocked(gSpecialVar_Result);
+ return (bool8)(gSpecialVar_Result);
}
static u8 GetLetterTableId(u8 letter)