Label slot machine ids, fix GetPriceReduction

This commit is contained in:
GriffinR
2021-11-16 13:55:02 -05:00
parent 63c5905914
commit 5d9c31a610
12 changed files with 151 additions and 61 deletions
+2 -2
View File
@@ -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;
}