summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-07-16 13:33:38 -0400
committerGitHub <noreply@github.com>2017-07-16 13:33:38 -0400
commite50b9e28bc0d98c69b22f6d13298e705eb4eb865 (patch)
tree612daf51185f6c0b35976a888d4091ad465288ac /src/scrcmd.c
parenta0e590b739a2bdd8e76c004ae60662bd81d33ca9 (diff)
parent078e07ce1096733e31b7bf823db325b0f3b02a05 (diff)
Merge pull request #354 from camthesaxman/decompile_item_menu
decompile item_menu
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index a394f2a55..45552f2fa 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1416,7 +1416,7 @@ bool8 ScrCmd_bufferstd(struct ScriptContext *ctx)
{
u8 stringVarIndex = ScriptReadByte(ctx);
u16 index = VarGet(ScriptReadHalfword(ctx));
- StringCopy(sScriptStringVars[stringVarIndex], gUnknown_083CE048[index].text);
+ StringCopy(sScriptStringVars[stringVarIndex], gUnknown_083CE048[index]);
return FALSE;
}