summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-16 13:55:02 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-11-16 15:43:52 -0500
commit5d9c31a610d8a6680a44b772fc1b88135d3884c3 (patch)
treed776a819221dec62b96314d2b172a50bb743007d /src/scrcmd.c
parent63c5905914b40d33e45a6a3101ab5a7da4375918 (diff)
Label slot machine ids, fix GetPriceReduction
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 98eaaf12c..04dff470b 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1936,11 +1936,11 @@ bool8 ScrCmd_setberrytree(struct ScriptContext *ctx)
return FALSE;
}
-bool8 ScrCmd_getpricereduction(struct ScriptContext *ctx)
+bool8 ScrCmd_getpokenewsactive(struct ScriptContext *ctx)
{
u16 newsKind = VarGet(ScriptReadHalfword(ctx));
- gSpecialVar_Result = GetPriceReduction(newsKind);
+ gSpecialVar_Result = IsPokeNewsActive(newsKind);
return FALSE;
}