From e7f1657e0a1115592352fec34a860a9ed000d61b Mon Sep 17 00:00:00 2001 From: chowder908 Date: Sat, 4 Sep 2021 16:56:48 -0500 Subject: =?UTF-8?q?Updated=20Implementing=20the=20=E2=80=9Ctextcolor?= =?UTF-8?q?=E2=80=9D=20script=20command=20from=20FRLG=20and=20give=20objec?= =?UTF-8?q?t=20events=20their=20own=20text=20colour=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...t-command-from-FRLG-and-give-object-events-their-own-text-colour.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Implementing-the-\342\200\234textcolor\342\200\235-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md" "b/Implementing-the-\342\200\234textcolor\342\200\235-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md" index 406f448..b370855 100644 --- "a/Implementing-the-\342\200\234textcolor\342\200\235-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md" +++ "b/Implementing-the-\342\200\234textcolor\342\200\235-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: -- cgit v1.2.3