diff options
-rw-r--r-- | Implementing-the-“textcolor”-script-command-from-FRLG-and-give-object-events-their-own-text-colour.md | 2 |
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: |