summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchowder908 <chowder90856@gmail.com>2021-09-04 16:56:48 -0500
committerchowder908 <chowder90856@gmail.com>2021-09-04 16:56:48 -0500
commite7f1657e0a1115592352fec34a860a9ed000d61b (patch)
tree4abf8430c5e6735367ebc1fe7affe94c8adb3586
parent2e3dd63dd4dcd683d2651e5230ddf1af1e5f3337 (diff)
Updated Implementing the “textcolor” script command from FRLG and give object events their own text colour (markdown)
-rw-r--r--Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md b/Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md
index 406f448..b370855 100644
--- a/Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md
+++ b/Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md
@@ -182,7 +182,7 @@ extern u16 gSpecialVar_MonBoxId;
extern u16 gSpecialVar_MonBoxPos;
- extern u16 gSpecialVar_Unused_0x8014;
+ extern u16 gSpecialVar_TextColor;
-+ extern u16; gSpecialVar_PrevTextColor;
++ extern u16 gSpecialVar_PrevTextColor;
```
We need to define them to constants because `PrevTextColor` and `TextColor` can be used in scripts. So we need to go to `include/constants/vars` and find `#define VAR_UNUSED_0x08014` with `#define VAR_TEXT_COLOR` and add a new constant.
The changes should look something like this: