mirror of https://github.com/pret/pokecrystal.git
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