summaryrefslogtreecommitdiff
path: root/src/field/trader.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-21 13:25:12 -0500
commit0f116854b2408ea7750e9c3f8da4d4ea2a3e0d38 (patch)
tree38bb9b6d56ea6c60be2087e9ff4e76b82c6a8d1b /src/field/trader.c
parent272cd213391b5ce87cb2aeac263b3eedb0f19a07 (diff)
parent85a8e5f1ded5a0a2354916617dd0b82091a42ee0 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby into assert
Diffstat (limited to 'src/field/trader.c')
-rw-r--r--src/field/trader.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/field/trader.c b/src/field/trader.c
index c4fe73ba1..61cb0b4a2 100644
--- a/src/field/trader.c
+++ b/src/field/trader.c
@@ -179,7 +179,7 @@ void Task_HandleGetDecorationMenuInput(u8 taskId)
void ScrSpecial_GetTraderTradedFlag(void)
{
struct MauvilleManTrader *trader = &gSaveBlock1.mauvilleMan.trader;
- gScriptResult = trader->alreadyTraded;
+ gSpecialVar_Result = trader->alreadyTraded;
}
void ScrSpecial_DoesPlayerHaveNoDecorations(void)
@@ -190,21 +190,21 @@ void ScrSpecial_DoesPlayerHaveNoDecorations(void)
{
if (sub_8134194(i))
{
- gScriptResult = FALSE;
+ gSpecialVar_Result = FALSE;
return;
}
}
- gScriptResult = TRUE;
+ gSpecialVar_Result = TRUE;
}
void ScrSpecial_IsDecorationFull(void)
{
- gScriptResult = FALSE;
+ gSpecialVar_Result = FALSE;
if (gDecorations[gSpecialVar_0x8004].category != gDecorations[gSpecialVar_0x8006].category
&& sub_8133F9C(gDecorations[gSpecialVar_0x8004].category) == -1)
{
sub_80FE7D4(gStringVar2, gDecorations[gSpecialVar_0x8004].category);
- gScriptResult = TRUE;
+ gSpecialVar_Result = TRUE;
}
}