Replace "Unreferenced" labels with "; unreferenced" comments

This commit is contained in:
Rangi
2020-06-21 16:27:43 -04:00
parent 98af69691d
commit 91774f206e
90 changed files with 212 additions and 250 deletions

View File

@@ -980,7 +980,7 @@ _CGB_MysteryGift:
.MysteryGiftPalettes:
INCLUDE "gfx/mystery_gift/mystery_gift.pal"
Unreferenced_GS_CGB_MysteryGift:
GS_CGB_MysteryGift: ; unreferenced
ld hl, .MysteryGiftPalette
ld de, wBGPals1
ld bc, 1 palettes

View File

@@ -76,7 +76,7 @@ Unused_CheckShininess:
and a
ret
Unreferenced_SGB_ApplyCreditsPals:
SGB_ApplyCreditsPals: ; unreferenced
push de
push bc
ld hl, PalPacket_9ce6
@@ -133,7 +133,7 @@ SGB_ApplyPartyMenuHPPals:
ld [hl], e
ret
Unreferenced_Function8b07:
Function8b07: ; unreferenced
call CheckCGB
ret z
; CGB only
@@ -166,7 +166,7 @@ Unreferenced_Function8b07:
RGB 08, 16, 28
RGB 00, 00, 00
Unreferenced_Function8b3f:
Function8b3f: ; unreferenced
call CheckCGB
ret nz
ldh a, [hSGB]
@@ -175,7 +175,7 @@ Unreferenced_Function8b3f:
ld hl, BlkPacket_9a86
jp PushSGBPals
Unreferenced_Function8b4d:
Function8b4d: ; unreferenced
call CheckCGB
jr nz, .cgb
ldh a, [hSGB]
@@ -190,7 +190,7 @@ Unreferenced_Function8b4d:
call GetPredefPal
jp LoadHLPaletteIntoDE
Unreferenced_Function8b67:
Function8b67: ; unreferenced
call CheckCGB
jr nz, .cgb
ldh a, [hSGB]
@@ -205,7 +205,7 @@ Unreferenced_Function8b67:
call GetPredefPal
jp LoadHLPaletteIntoDE
Unreferenced_GSIntro_LoadMonPalette:
GSIntro_LoadMonPalette: ; unreferenced
call CheckCGB
jr nz, .cgb
ldh a, [hSGB]
@@ -273,7 +273,7 @@ LoadNthMiddleBGPal:
call LoadPalette_White_Col1_Col2_Black
ret
Unreferenced_Function8bec:
Function8bec: ; unreferenced
ldh a, [hCGB]
and a
jr nz, .cgb
@@ -719,7 +719,7 @@ GetMonPalettePointer:
call _GetMonPalettePointer
ret
Unreferenced_Function9779:
Function9779: ; unreferenced
ret
call CheckCGB
ret z
@@ -742,7 +742,7 @@ Unreferenced_Function9779:
BattleObjectPals:
INCLUDE "gfx/battle_anims/battle_anims.pal"
Unreferenced_Function97cc:
Function97cc: ; unreferenced
call CheckCGB
ret z
ld a, $90
@@ -952,7 +952,7 @@ _InitSGBBorderPals:
dw DataSndPacket7
dw DataSndPacket8
Unreferenced_Function9911:
Function9911: ; unreferenced
di
xor a
ldh [rJOYP], a

View File

@@ -108,11 +108,11 @@ Mobile_ReloadMapPart:
ret
; unused
ld hl, .unreferenced_1040da
Function1040d4: ; unreferenced
ld hl, .Function
jp CallInSafeGFXMode
.unreferenced_1040da
.Function
ld a, $1
ldh [rVBK], a
ld a, BANK(w3_d800)
@@ -131,11 +131,11 @@ Mobile_ReloadMapPart:
call WaitDMATransfer
ret
; unused
ld hl, .unreferenced_104101
Function1040fb: ; unreferenced
ld hl, .Function
jp CallInSafeGFXMode
.unreferenced_104101
.Function
ld a, $1
ldh [rVBK], a
ld a, BANK(w3_d800)

View File

@@ -1,16 +1,16 @@
INCLUDE "gfx/font.asm"
Unused_EnableHDMA:
EnableHDMAForGraphics:
db FALSE
Unreferenced_Get1bppOptionalHDMA:
ld a, [Unused_EnableHDMA]
Get1bppOptionalHDMA: ; unreferenced
ld a, [EnableHDMAForGraphics]
and a
jp nz, Get1bppViaHDMA
jp Get1bpp
Unreferenced_Get2bppOptionalHDMA:
ld a, [Unused_EnableHDMA]
Get2bppOptionalHDMA: ; unreferenced
ld a, [EnableHDMAForGraphics]
and a
jp nz, Get2bppViaHDMA
jp Get2bpp

View File

@@ -287,7 +287,7 @@ EXPORT PICS_FIX
db BANK("Pics 23") ; BANK("Pics 1") + 22
db BANK("Pics 24") ; BANK("Pics 1") + 23
Unreferenced_GSIntro_GetMonFrontpic:
GSIntro_GetMonFrontpic: ; unreferenced
ld a, c
push de
ld hl, PokemonPicPointers

View File

@@ -273,7 +273,7 @@ FlyFunction_GetMonIcon:
call GetIcon_a
ret
Unreferenced_GetMonIcon2:
GetMonIconDE: ; unreferenced
push de
ld a, [wTempIconSpecies]
call ReadMonMenuIcon

View File

@@ -1,4 +1,4 @@
Unreferenced_Function88248:
Function88248: ; unreferenced
ld c, CAL
ld a, [wPlayerGender]
bit PLAYERGENDER_FEMALE_F, a
@@ -72,7 +72,7 @@ ShowPlayerNamingChoices:
INCLUDE "data/player_names.asm"
Unreferenced_GetPlayerNameArray:
GetPlayerNameArray: ; unreferenced
ld hl, wPlayerName
ld de, MalePlayerNameArray
ld a, [wPlayerGender]

View File

@@ -508,7 +508,7 @@ GetFrameOAMPointer:
add hl, de
ret
Unreferenced_BrokenGetStdGraphics:
BrokenGetStdGraphics: ; unreferenced
push hl
ld l, a
ld h, 0