diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2017-11-10 18:12:18 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2017-11-10 18:12:18 -0600 |
commit | 2e40384fa22725de06a5293454b8962ab4de8f4d (patch) | |
tree | b44de7b89c3c19dd3f6ee985c92707462a446c89 /src/walda_phrase.c | |
parent | a6c30ba9513ccbd202fec8e628c9336c5c3a4aa4 (diff) |
Extract baseroms from event_scripts
Diffstat (limited to 'src/walda_phrase.c')
-rw-r--r-- | src/walda_phrase.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/walda_phrase.c b/src/walda_phrase.c index c1da86b15..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); - gSpecialVar_ScriptResult = TryCalculateWallpaper(&backgroundClr, &foregroundClr, &iconId, &patternId, trainerId, GetWaldaPhrasePtr()); + gSpecialVar_Result = TryCalculateWallpaper(&backgroundClr, &foregroundClr, &iconId, &patternId, trainerId, GetWaldaPhrasePtr()); - if (gSpecialVar_ScriptResult) + if (gSpecialVar_Result) { SetWaldaWallpaperPatternId(patternId); SetWaldaWallpaperIconId(iconId); SetWaldaWallpaperColors(backgroundClr, foregroundClr); } - SetWaldaWallpaperLockedOrUnlocked(gSpecialVar_ScriptResult); - return (bool8)(gSpecialVar_ScriptResult); + SetWaldaWallpaperLockedOrUnlocked(gSpecialVar_Result); + return (bool8)(gSpecialVar_Result); } static u8 GetLetterTableId(u8 letter) |