aboutsummaryrefslogtreecommitdiffstats
path: root/home/overworld.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2025-12-15 21:14:17 +0100
committerGitHub <noreply@github.com>2025-12-15 15:14:17 -0500
commite9d3324bc06faa7de3b7a35d1f9429e610e8a761 (patch)
tree63efb83577bf37c03aea14c8f29ca473676eb0d6 /home/overworld.asm
parentClarify how the order of map constants matters for the Town Map (#553) (diff)
downloadpokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.tar.gz
pokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.tar.xz
pokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.zip
Comment more unreferenced local labels (#550)
Diffstat (limited to 'home/overworld.asm')
-rw-r--r--home/overworld.asm9
1 files changed, 4 insertions, 5 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index f837815b..e994f694 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -546,7 +546,7 @@ ContinueCheckWarpsNoCollisionLoop::
; if no matching warp was found
CheckMapConnections::
-.checkWestMap
+; check west map
ld a, [wXCoord]
cp $ff
jr nz, .checkEastMap
@@ -1097,8 +1097,7 @@ IsSpriteOrSignInFrontOfPlayer::
ld a, [hli] ; sign X
cp e
jr nz, .retry
-.xCoordMatched
-; found sign
+; X coord matched: found sign
push hl
push bc
ld hl, wSignTextIDs
@@ -2047,7 +2046,7 @@ LoadMapHeader::
; copy connection data (if any) to WRAM
ld a, [wCurMapConnections]
ld b, a
-.checkNorth
+; check north
bit NORTH_F, b
jr z, .checkSouth
ld de, wNorthConnectionHeader
@@ -2080,7 +2079,7 @@ LoadMapHeader::
ld de, wMapBackgroundTile
ld a, [hli]
ld [de], a
-.loadWarpData
+; load warp data
ld a, [hli]
ld [wNumberOfWarps], a
and a