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