aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld
diff options
context:
space:
mode:
authorRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-25 16:46:37 -0500
committerRangi42 <sylvie.oukaour+rangi42@gmail.com>2024-12-25 16:53:04 -0500
commit47b784a4fbc7513ea6106877fbb7a54158e1b13b (patch)
tree301a856e76abb5dcb7bcc3986ddb4bbe4f70e88e /engine/overworld
parentFix comments around battle evolution code (#120) (diff)
parentUse `SERIAL_RNS_LENGTH` in `BattleRandom` (diff)
downloadpokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.tar.gz
pokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.tar.xz
pokeyellow-47b784a4fbc7513ea6106877fbb7a54158e1b13b.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/map_sprites.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/map_sprites.asm b/engine/overworld/map_sprites.asm
index 5d25b6d0..b6ce4229 100644
--- a/engine/overworld/map_sprites.asm
+++ b/engine/overworld/map_sprites.asm
@@ -59,7 +59,7 @@ LoadSpriteSetFromMapHeader:
; (since the Red sprite always has the first VRAM tile pattern slot and the
; Pikachu sprite reserves the second slot) is the VRAM tile pattern slot.
ld hl, wSpriteSet
- ld bc, (wSpriteSetID - wSpriteSet)
+ ld bc, wSpriteSetID - wSpriteSet
xor a
call FillMemory
ld a, SPRITE_PIKACHU ; load Pikachu separately