From 2e3dd63dd4dcd683d2651e5230ddf1af1e5f3337 Mon Sep 17 00:00:00 2001 From: chowder908 Date: Sat, 4 Sep 2021 16:55:51 -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 --- ...nd-give-object-events-their-own-text-colour.md" | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 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 629a072..406f448 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" @@ -195,5 +195,25 @@ The changes should look something like this: - #define SPECIAL_VARS_END 0x8015 + #define SPECIAL_VARS_END 0x8016 ``` +Lastly you will want to edit `data\event_scripts` -And with that, you should have successfully reimplemented `textcolor` and gave object events their own text colour. \ No newline at end of file +```diff +- .4byte gSpecialVar_Unused_0x8014 ++ .4byte gSpecialVar_TextColor +``` + +And with that, you should have successfully reimplemented `textcolor` and gave object events their own text colour. + +List of colors that can be used. +``` +{COLOR}{RED}RED +{COLOR}{GREEN}GREEN +{COLOR}{DARK_GRAY} +{COLOR}{LIGHT_GRAY} +{COLOR}{LIGHT_RED} +{COLOR}{LIGHT_GREEN} +{COLOR}{BLUE} +{COLOR}{LIGHT_BLUE} + + +``` \ No newline at end of file -- cgit v1.2.3