summaryrefslogtreecommitdiff
path: root/engine/overworld/overworld.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 19:43:19 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 20:10:31 -0400
commite128fbeadb6e9e6575581b7e5da03c9fee1ce2f6 (patch)
treee0ec2bc7bf359bf5e8e949237ed16c3e4246afc1 /engine/overworld/overworld.asm
parent8443840f97d0bb15d7ba4c27a659d1a84547aba7 (diff)
Identify some more unnamed labels
Diffstat (limited to 'engine/overworld/overworld.asm')
-rw-r--r--engine/overworld/overworld.asm17
1 files changed, 7 insertions, 10 deletions
diff --git a/engine/overworld/overworld.asm b/engine/overworld/overworld.asm
index d20c719b..43465f73 100644
--- a/engine/overworld/overworld.asm
+++ b/engine/overworld/overworld.asm
@@ -168,7 +168,7 @@ LoadUsedSpritesGFX:
call GetUsedSprites
ret c
- call _LoadMiscTiles
+ call LoadStillSpriteTiles
call LoadMiscTiles
ret
@@ -213,27 +213,24 @@ GetUsedSprites:
scf
ret
-_LoadMiscTiles:
+LoadStillSpriteTiles:
ld a, [wUsedSprites + (SPRITE_GFX_LIST_CAPACITY - 2) * 2]
and a
- jr z, .asm_14274
-
+ jr z, .no_still_sprite_1
call GetSprite
ld hl, vTiles0 tile $78
call Get2bpp
-
-.asm_14274
+.no_still_sprite_1
ld a, $78
ld [wUsedSprites + (SPRITE_GFX_LIST_CAPACITY - 2) * 2 + 1], a
+
ld a, [wUsedSprites + (SPRITE_GFX_LIST_CAPACITY - 1) * 2]
and a
- jr z, .asm_14288
-
+ jr z, .no_still_sprite_2
call GetSprite
ld hl, vTiles0 tile $7c
call Get2bpp
-
-.asm_14288
+.no_still_sprite_2
ld a, $7c
ld [wUsedSprites + (SPRITE_GFX_LIST_CAPACITY - 1) * 2 + 1], a
ret