diff options
author | Damien Doury <DamienDoury@users.noreply.github.com> | 2021-09-22 16:45:46 +0200 |
---|---|---|
committer | Damien Doury <DamienDoury@users.noreply.github.com> | 2021-09-22 16:45:46 +0200 |
commit | ea1036ed495c69a8e3a72e70afec4915b4c6806a (patch) | |
tree | 9405af72cebce1aa17b67cd59f439fdb8dad862c | |
parent | ef06054e0134959f8920b9a0fcdba732b3be9bcb (diff) |
Updated Make the Lottery Corner generate a lucky number daily instead of weekly (markdown)
-rw-r--r-- | Make-the-Lottery-Corner-generate-a-lucky-number-daily-instead-of-weekly.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Make-the-Lottery-Corner-generate-a-lucky-number-daily-instead-of-weekly.md b/Make-the-Lottery-Corner-generate-a-lucky-number-daily-instead-of-weekly.md index 91fcb79..d1cbe5e 100644 --- a/Make-the-Lottery-Corner-generate-a-lucky-number-daily-instead-of-weekly.md +++ b/Make-the-Lottery-Corner-generate-a-lucky-number-daily-instead-of-weekly.md @@ -93,5 +93,28 @@ LuckyNumberShow1: Here we follow a logic similar to the previous step: `CheckLuckyNumberShowFlag` copies the value of the `ENGINE_LUCKY_NUMBER_SHOW` flag into the Z flag and if it's set (Z = 1, or NZ), we jump to `.dontreset` so we don't reset the lucky number yet; if the flag is reset then it means it's a new day and we can safely reset the number. +## 5. Edit dialogs + +NPCs are refering to "this week's" lucky number. +Edit the concerned strings in [data/text/common_1.asm](../blob/master/data/text/common_1.asm): + +```diff +_LC_Text7:: + text_start +- line "This week's Lucky" ++ line "Today's Lucky" + done + ... +``` + +and in [maps/RadioTower1F.asm](../blob/master/maps/RadioTower1F.asm): + +```diff +RadioTower1FLuckyNumberManThisWeeksIdIsText: +- text "This week's ID" ++ text "Today's ID" + line "number is @" + ... +``` And that's it! Now the Lucky Number Show will generate a lucky number daily and we can get it by either talking to the recepcionist or listening to the show, so go try your luck and get a prize! (And if you don't get it, don't worry, you can now try the next day). ;-)
\ No newline at end of file |