summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
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 ae994fceb..7a70d09c7 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1263,8 +1263,8 @@ bool8 ScrCmd_release(struct ScriptContext *ctx)
bool8 ScrCmd_textcolor(struct ScriptContext *ctx)
{
- gUnknown_20370DC = gUnknown_20370DA;
- gUnknown_20370DA = ScriptReadByte(ctx);
+ gSpecialVar_PrevTextColor = gSpecialVar_TextColor;
+ gSpecialVar_TextColor = ScriptReadByte(ctx);
return FALSE;
}