mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Clear however many bytes are needed for wFruitTreeFlags
This commit is contained in:
parent
145ab57aba
commit
e56a9f7962
@ -61,9 +61,9 @@ PickedFruitTree:
|
|||||||
ResetFruitTrees:
|
ResetFruitTrees:
|
||||||
xor a
|
xor a
|
||||||
ld hl, wFruitTreeFlags
|
ld hl, wFruitTreeFlags
|
||||||
|
rept (NUM_FRUIT_TREES + 7) / 8 - 1
|
||||||
ld [hli], a
|
ld [hli], a
|
||||||
ld [hli], a
|
endr
|
||||||
ld [hli], a
|
|
||||||
ld [hl], a
|
ld [hl], a
|
||||||
ld hl, wDailyFlags1
|
ld hl, wDailyFlags1
|
||||||
set DAILYFLAGS1_ALL_FRUIT_TREES_F, [hl]
|
set DAILYFLAGS1_ALL_FRUIT_TREES_F, [hl]
|
||||||
|
Loading…
Reference in New Issue
Block a user