summaryrefslogtreecommitdiff
path: root/engine/overworld/overworld.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 22:12:04 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 22:12:04 -0400
commit50e182e83180dc6bfd012ddc26e7dc07052a89a5 (patch)
treec2dd3204ff15479469b89b537c52bf7d7f013d5d /engine/overworld/overworld.asm
parentcc460a17b0b99208592ca31de99f526fce2bf5ad (diff)
Harmonize engine/overworld with pokegold
Diffstat (limited to 'engine/overworld/overworld.asm')
-rw-r--r--engine/overworld/overworld.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/overworld/overworld.asm b/engine/overworld/overworld.asm
index bc44c7662..f09159f37 100644
--- a/engine/overworld/overworld.asm
+++ b/engine/overworld/overworld.asm
@@ -142,10 +142,10 @@ LoadUsedSpritesGFX:
ld a, MAPCALLBACK_SPRITES
call RunMapCallback
call GetUsedSprites
- call .LoadMiscTiles
+ call LoadMiscTiles
ret
-.LoadMiscTiles:
+LoadMiscTiles:
ld a, [wSpriteFlags]
bit 6, a
ret nz
@@ -234,7 +234,7 @@ GetMonSprite:
farcall LoadOverworldMonIcon
- ld l, 1
+ ld l, WALKING_SPRITE
ld h, 0
scf
ret
@@ -250,8 +250,8 @@ GetMonSprite:
jp nz, GetMonSprite
.NoBreedmon:
- ld a, 1
- ld l, 1
+ ld a, WALKING_SPRITE
+ ld l, WALKING_SPRITE
ld h, 0
and a
ret