summaryrefslogtreecommitdiff
path: root/src/field/trader.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-12-22 14:51:12 -0600
committercamthesaxman <cameronghall@cox.net>2017-12-22 14:51:12 -0600
commit9c9bcee1e2fbd3fd374023146f99d0417cd8ab52 (patch)
tree848c1688fe743dd0410183b182024ee961f07980 /src/field/trader.c
parentce74d72c31a3ebda26adc6ae888700213f64b113 (diff)
parent62bdd4d480ced306b85791c828ee8497e9fa2acc (diff)
fix merge conflicts
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;
}
}