diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-10-07 02:00:16 -0400 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-10-07 02:00:16 -0400 |
commit | 0df304d629b10b2c65a4cf358b80fd5cf2a7befa (patch) | |
tree | 462a32b0be8e63cc8f231ee234c65355be9a6d53 /src/scrcmd.c | |
parent | 81ee8f07efeba516947e0289c5d58d58e5220332 (diff) |
Document roulette.inc
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 4 |
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; } |