diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-11-16 13:55:02 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-11-16 15:43:52 -0500 |
commit | 5d9c31a610d8a6680a44b772fc1b88135d3884c3 (patch) | |
tree | d776a819221dec62b96314d2b172a50bb743007d /src/scrcmd.c | |
parent | 63c5905914b40d33e45a6a3101ab5a7da4375918 (diff) |
Label slot machine ids, fix GetPriceReduction
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 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; } |