More unreferenced labels cleanup

This commit is contained in:
xCrystal
2018-01-02 16:04:21 +01:00
parent 7a24703398
commit 6f0b81504d
48 changed files with 89 additions and 130 deletions

View File

@@ -1951,8 +1951,7 @@ GetMaxHP: ; 3ccac
ret
; 3ccc2
GetHalfHP: ; 3ccc2
; unreferenced
Unreferenced_GetHalfHP: ; 3ccc2
ld hl, BattleMonHP
ld a, [hBattleTurn]
and a
@@ -6769,8 +6768,7 @@ CheckUnownLetter: ; 3eb75
; 3ebc7
SwapBattlerLevels: ; 3ebc7
; unreferenced
Unreferenced_SwapBattlerLevels: ; 3ebc7
push bc
ld a, [BattleMonLevel]
ld b, a
@@ -7162,7 +7160,7 @@ _LoadHPBar: ; 3eda6
ret
; 3edad
LoadHPExpBarGFX: ; unreferenced
Unreferenced_LoadHPExpBarGFX:
ld de, EnemyHPBarBorderGFX
ld hl, vTiles2 tile $6c
lb bc, BANK(EnemyHPBarBorderGFX), 4
@@ -8104,7 +8102,7 @@ TextJump_ComeBack: ; 3f35b
db "@"
; 3f360
HandleSafariAngerEatingStatus: ; unreferenced
Unreferenced_HandleSafariAngerEatingStatus:
ld hl, wSafariMonEating
ld a, [hl]
and a
@@ -8371,8 +8369,7 @@ StartBattle: ; 3f4c1
ret
; 3f4d9
_DoBattle: ; 3f4d9
; unreferenced
Unreferenced_DoBattle: ; 3f4d9
call DoBattle
ret
; 3f4dd

View File

@@ -245,7 +245,7 @@ BillsPCDepositMenuDataHeader: ; 0xe253d (38:653d)
db "CANCEL@"
; 0xe2564 (38:6564)
BillsPC_ClearThreeBoxes: ; e2564
Unreferenced_BillsPCClearThreeBoxes: ; e2564
; unreferenced
hlcoord 0, 0
ld b, 4

View File

@@ -268,7 +268,7 @@ CopyBoxmonToTempMon: ; e5bb
call CloseSRAM
ret
Functione5d9: ; unreferenced
Unreferenced_Functione5d9:
ld a, [wCurBox]
cp b
jr z, .same_box

View File

@@ -981,8 +981,7 @@ DayCareMonCompatibilityText: ; 1746c
db "@"
; 0x174b5
DayCareMonPrintEmptyString: ; 174b5
; unreferenced
Unreferenced_DayCareMonPrintEmptyString: ; 174b5
ld hl, .string
ret
; 174b9

View File

@@ -43,8 +43,7 @@ CheckShininess:
and a
ret
; unreferenced
CheckContestMon:
Unreferenced_CheckContestMon:
; Check a mon's DVs at hl in the bug catching contest.
; Return carry if its DVs are good enough to place in the contest.
@@ -135,8 +134,7 @@ SGB_ApplyPartyMenuHPPals: ; 8ade
ld [hl], e
ret
Function8b07:
; Unreferenced
Unreferenced_Function8b07:
call CheckCGB
ret z
; CGB only
@@ -169,8 +167,7 @@ Function8b07:
RGB 08, 16, 28
RGB 00, 00, 00
Function8b3f:
; Unreferenced
Unreferenced_Function8b3f:
call CheckCGB
ret nz
ld a, [hSGB]

View File

@@ -322,5 +322,5 @@ InitMG_Mobile_LinkTradePalMap: ; 49856
ret
; 4985a
Unknown_4985a: ; unreferenced
; unused
INCLUDE "data/palettes/unknown/4985a.asm"

View File

@@ -1060,7 +1060,7 @@ Invalid_0x96c2d: ; 96c2d
end
; 96c2e
; unreferenced
; unused
end
; 96c2f

View File

@@ -986,7 +986,7 @@ StrengthFunction: ; cce5
jr c, .Failed
jr .UseStrength
.AlreadyUsing: ; unreferenced
.Unreferenced_AlreadyUsing:
ld hl, .JumpText
call MenuTextBoxBackup
ld a, $80

View File

@@ -10,7 +10,7 @@ _MainMenu: ; 5ae8
jp StartTitleScreen
; 5b04
; unreferenced
; unused
ret
; 5b05
@@ -827,7 +827,7 @@ NamePlayer: ; 0x6074
db "KRIS@@@@@@@"
; 60e9
Function60e9: ; Unreferenced
Unreferenced_Function60e9:
call LoadMenuDataHeader
call VerticalMenu
ld a, [wMenuCursorY]
@@ -1094,7 +1094,7 @@ RunTitleScreen: ; 627b
ret
; 6292
Function6292: ; 6292 ; unreferenced
Unreferenced_Function6292: ; 6292
ld a, [hVBlankCounter]
and $7
ret nz
@@ -1125,7 +1125,7 @@ TitleScreenScene: ; 62a3
dw TitleScreenEnd
; 62b7
.NextScene: ; Unreferenced
.Unreferenced_NextScene:
ld hl, wJumptableIndex
inc [hl]
ret
@@ -1329,7 +1329,7 @@ ResetClock: ; 6392
jp Init
; 639b
Function639b: ; unreferenced
Unreferenced_Function639b:
; If bit 0 or 1 of [wTitleScreenTimer] is set, we don't need to be here.
ld a, [wTitleScreenTimer]
and $3

View File

@@ -1597,8 +1597,7 @@ Function28b22: ; 28b22
ret
; 28b42
Function28b42: ; 28b42
; unreferenced
Unreferenced_Function28b42: ; 28b42
hlcoord 0, 16
ld a, "┘"
ld bc, 2 * SCREEN_WIDTH
@@ -2020,8 +2019,7 @@ SetTradeRoomBGPals: ; 28eff
ret
; 28f09
Function28f09: ; 28f09
; unreferenced
Unreferenced_Function28f09: ; 28f09
hlcoord 0, 0
ld b, 6
ld c, 18
@@ -2577,12 +2575,11 @@ Special_CableClubCheckWhichChris: ; 29f47
ret
; 29f54
UnusedGen1LinkCommsBorderGFX: ; 29f54
; unreferenced
Unreferenced_Gen1LinkCommsBorderGFX: ; 29f54
INCBIN "gfx/trade/unused_gen_1_border_tiles.2bpp"
; 29fe4
Function29fe4: ; unreferenced
Unreferenced_Function29fe4:
ld a, BANK(sPartyMail)
call GetSRAMBank
ld d, $0

View File

@@ -279,7 +279,7 @@ MainMenu_PrintCurrentTimeAndDay: ; 49e09
ret
.min
; unreferenced
; unused
db "min.@"
; 49e75

View File

@@ -418,8 +418,7 @@ UpdatePlayerStep: ; 4738
ret
; 4759
Function4759: ; 4759
; unreferenced
Unreferenced_Function4759: ; 4759
push bc
ld e, a
ld d, 0

View File

@@ -137,7 +137,7 @@ LoadObjectsRunCallback_02: ; 154d7
ret
; 154ea (5:54ea)
; unreferenced
; unused
ret
; 154eb

View File

@@ -797,7 +797,7 @@ SellMenu: ; 15eb3
ret
; 15ed3
.NothingToSell: ; unreferenced
.Unreferenced_NothingToSell:
ld hl, .NothingToSellText
call MenuTextBoxBackup
and a

View File

@@ -291,8 +291,7 @@ MobileMenuJoypad: ; 241ba
; 241d5
Function241d5: ; 241d5
; Unreferenced
Unreferenced_Function241d5: ; 241d5
call Place2DMenuCursor
.loop
call Move2DMenuCursor
@@ -725,8 +724,7 @@ _ExitMenu:: ; 243e8
ret
; 24423
Function24423: ; 24423
; Unreferenced
Unreferenced_Function24423: ; 24423
ld a, [VramState]
bit 0, a
ret z

View File

@@ -112,8 +112,8 @@ CoinString: ; 24b89
ShowMoney_TerminatorString: ; 24b8e
db "@"
Function24b8f: ; 24b8f
; unreferenced, related to safari?
Unreferenced_Function24b8f: ; 24b8f
; related to safari?
ld hl, Options
ld a, [hl]
push af

View File

@@ -281,8 +281,7 @@ FlyFunction_GetMonIcon: ; 8e9bc (23:69bc)
ret
; 8e9cc (23:69cc)
GetMonIcon2: ; 8e9cc
; unreferenced
Unreferenced_GetMonIcon2: ; 8e9cc
push de
ld a, [wd265]
call ReadMonMenuIcon

View File

@@ -1369,7 +1369,7 @@ InitMysteryGiftLayout: ; 105153 (41:5153)
jr .gfx_loop
; 105232 (41:5232)
.Load6GFX: ; unreferenced
.Unreferenced_Load6GFX:
ld b, 6
jr .gfx_loop

View File

@@ -279,7 +279,7 @@ WillObjectBumpIntoSomeoneElse: ; 7009
jr IsNPCAtCoord
; 7015
Function7015: ; unreferenced
Unreferenced_Function7015:
ld a, [hMapObjectIndexBuffer]
call GetObjectStruct
call .CheckWillBeFacingNPC
@@ -482,7 +482,7 @@ IsObjectMovingOffEdgeOfScreen: ; 70ed
ret
; 7113
Function7113: ; unreferenced
Unreferenced_Function7113:
ld a, [PlayerStandingMapX]
ld d, a
ld a, [PlayerStandingMapY]

View File

@@ -332,8 +332,7 @@ CopyTradeName: ; fcdf4
ret
; fcdfb
Functionfcdfb: ; fcdfb
; unreferenced
Unreferenced_Functionfcdfb: ; fcdfb
ld bc, 4
call CopyBytes
ld a, "@"
@@ -341,8 +340,7 @@ Functionfcdfb: ; fcdfb
ret
; fce05
Functionfce05: ; fce05
; unreferenced
Unreferenced_Functionfce05: ; fce05
ld bc, 3
call CopyBytes
ld a, "@"

Some files were not shown because too many files have changed in this diff Show More