diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-06-08 19:59:00 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-06-08 20:56:19 -0500 |
commit | c5bcb67bb871a445b20bbc0c226bc290dc5ba6bc (patch) | |
tree | 69245ce8d6204218292c0e0a30f58bf31673032e /src/scrcmd.c | |
parent | 4fa88f1a8fb21f4f6491446d8137853ed08825db (diff) |
Label decoration_inventory
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r-- | src/scrcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c index 3ad433fb7..ca49dc0df 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -556,7 +556,7 @@ bool8 ScrCmd_takedecoration(struct ScriptContext *ctx) { u32 decoration = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = sub_81340A8(decoration); + gSpecialVar_Result = RemoveDecorationFromInventory(decoration); return FALSE; } @@ -564,7 +564,7 @@ bool8 ScrCmd_checkdecorspace(struct ScriptContext *ctx) { u32 decorId = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = sub_8134074(decorId); + gSpecialVar_Result = CheckDecorationInventoryHasSpace(decorId); return FALSE; } @@ -572,7 +572,7 @@ bool8 ScrCmd_checkdecor(struct ScriptContext *ctx) { u32 decorId = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = sub_8133FE4(decorId); + gSpecialVar_Result = InventoryContainsDecoration(decorId); return FALSE; } |