Comment, remove, or revise many unreferenced labels

This commit is contained in:
Rangi
2020-10-26 15:45:57 -04:00
parent a2b6befd7d
commit 9dcdad5e60
180 changed files with 810 additions and 1032 deletions

View File

@@ -1546,7 +1546,7 @@ RadioChannels:
jr z, .johto
cp KANTO_LANDMARK
jr c, .johto
.kanto
; kanto
and a
ret
@@ -2265,7 +2265,7 @@ FlyMap:
; The first 46 locations are part of Johto. The rest are in Kanto.
cp KANTO_LANDMARK
jr nc, .KantoFlyMap
.JohtoFlyMap:
; Johto fly map
; Note that .NoKanto should be modified in tandem with this branch
push af
ld a, JOHTO_FLYPOINT ; first Johto flypoint
@@ -2569,7 +2569,7 @@ Pokedex_GetArea:
jr z, .johto
cp KANTO_LANDMARK
jr c, .johto
.kanto
; kanto
ld a, [wTownMapCursorLandmark]
and a
jr z, .clear

View File

@@ -141,7 +141,7 @@ PrintRadioLine:
ld [wRadioTextDelay], a
ret
ReplacePeriodsWithSpaces:
ReplacePeriodsWithSpaces: ; unreferenced
push hl
ld b, SCREEN_WIDTH * 2
.loop
@@ -149,7 +149,6 @@ ReplacePeriodsWithSpaces:
cp "."
jr nz, .next
ld [hl], " "
.next
inc hl
dec b
@@ -1779,7 +1778,7 @@ CopyRadioTextToRAM:
cp TX_FAR
jp z, FarCopyRadioText
ld de, wRadioText
ld bc, SCREEN_WIDTH * 2
ld bc, 2 * SCREEN_WIDTH
jp CopyBytes
StartRadioStation: