summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-07 02:00:16 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-07 02:00:16 -0400
commit0df304d629b10b2c65a4cf358b80fd5cf2a7befa (patch)
tree462a32b0be8e63cc8f231ee234c65355be9a6d53 /src/scrcmd.c
parent81ee8f07efeba516947e0289c5d58d58e5220332 (diff)
Document roulette.inc
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 9861f9dae..d1f2ca77b 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1930,9 +1930,9 @@ bool8 ScrCmd_setberrytree(struct ScriptContext *ctx)
bool8 ScrCmd_getpricereduction(struct ScriptContext *ctx)
{
- u16 value = VarGet(ScriptReadHalfword(ctx));
+ u16 newsKind = VarGet(ScriptReadHalfword(ctx));
- gSpecialVar_Result = GetPriceReduction(value);
+ gSpecialVar_Result = GetPriceReduction(newsKind);
return FALSE;
}