You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Clear however many bytes are needed for wFruitTreeFlags
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user