aboutsummaryrefslogtreecommitdiffstats
path: root/home/clear_sprites.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
committerdannye <33dannye@gmail.com>2026-01-17 22:38:33 -0600
commitbc2354dd6626ce28bb9561547ed2107cfa56c18e (patch)
tree5902d4c3389253c76b7c3351e0d7dfecb551c28d /home/clear_sprites.asm
parentIdentify characters in `_OakSpeechText2B` and `Printer_GetMonStats.IDNo` (#144) (diff)
parentUse macros for `WildMonEncounterSlotChances` (#562) (diff)
downloadpokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.gz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.tar.xz
pokeyellow-bc2354dd6626ce28bb9561547ed2107cfa56c18e.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/clear_sprites.asm')
-rw-r--r--home/clear_sprites.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/clear_sprites.asm b/home/clear_sprites.asm
index 6d1066fa..c18b1ff3 100644
--- a/home/clear_sprites.asm
+++ b/home/clear_sprites.asm
@@ -9,10 +9,10 @@ ClearSprites::
ret
HideSprites::
- ld a, 160
- ld hl, wShadowOAM
- ld de, 4
- ld b, 40
+ ld a, SCREEN_HEIGHT_PX + OAM_Y_OFS
+ ld hl, wShadowOAMSprite00YCoord
+ ld de, OBJ_SIZE
+ ld b, OAM_COUNT
.loop
ld [hl], a
add hl, de