summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-23 09:05:26 -0400
committerGitHub <noreply@github.com>2019-10-23 09:05:26 -0400
commit6e36c229200e083ca005cbc448e99210d111f3b2 (patch)
treeaec86bd0f081a7ff207f68cba33315991b629be1 /src/scrcmd.c
parent4bc284ff2c7d0ec3f24df8d94a77860fbaed588b (diff)
parent3efd2e1210b4149628197446d063df0fc11281ab (diff)
Merge pull request #130 from PikalaxALT/trainers
Trainers, event flags, mystery_event_msg, map object gfx
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;
}