summaryrefslogtreecommitdiff
path: root/engine/items
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-08-06 19:43:54 +0200
committermid-kid <esteve.varela@gmail.com>2018-08-07 09:46:21 +0200
commitf98a95b8ee2bb14f8fdb675e37c9876b8163b509 (patch)
treec077e770b10a044e9ba061151d9a793c66af79b2 /engine/items
parent23cdf06e5ec6e217dcd91a1414dfa7801d453044 (diff)
wWeeklyFlags -> wDailyFlags2
These are by far not always checked each week, and as such shouldn't be called that. Since they're almost always used through the `bit` instruction, it's very inconvenient to just make wDailyFlags a `dw` instead.
Diffstat (limited to 'engine/items')
-rw-r--r--engine/items/mart.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/items/mart.asm b/engine/items/mart.asm
index 7e185662b..8afae541a 100644
--- a/engine/items/mart.asm
+++ b/engine/items/mart.asm
@@ -54,8 +54,8 @@ BargainShop:
ld a, [hli]
or [hl]
jr z, .skip_set
- ld hl, wDailyFlags
- set DAILYFLAGS_GOLDENROD_UNDERGROUND_BARGAIN_F, [hl]
+ ld hl, wDailyFlags1
+ set DAILYFLAGS1_GOLDENROD_UNDERGROUND_BARGAIN_F, [hl]
.skip_set
ld hl, Text_BargainShop_ComeAgain