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

@@ -33,7 +33,7 @@ HandleCmdQueue::
jr nz, .loop
ret
Unreferenced_GetNthCmdQueueEntry:
GetNthCmdQueueEntry: ; unreferenced
ld hl, wCmdQueue
ld bc, CMDQUEUE_ENTRY_SIZE
call AddNTimes
@@ -158,7 +158,7 @@ CmdQueue_Null:
ret
CmdQueue_Type1:
call ret_2f3e
call Function2f3e
ret
CmdQueue_Type4:

View File

@@ -399,7 +399,7 @@ SetMinTwoStepWildEncounterCooldown:
Dummy_CheckScriptFlags3Bit5:
call CheckBit5_ScriptFlags3
ret z
call ret_2f3e
call Function2f3e
ret
RunSceneScript:
@@ -928,8 +928,7 @@ CountStep:
scf
ret
; unused
.unreferenced
.whiteout ; unreferenced
ld a, PLAYEREVENT_WHITEOUT
scf
ret

View File

@@ -402,7 +402,7 @@ UpdatePlayerStep:
set PLAYERSTEP_CONTINUE_F, [hl]
ret
Unreferenced_Function4759:
Function4759: ; unreferenced
push bc
ld e, a
ld d, 0

View File

@@ -113,12 +113,12 @@ EnableTextAcceleration:
ret
ActivateMapAnims:
ld a, $1
ld a, TRUE
ldh [hMapAnims], a
ret
SuspendMapAnims:
xor a
xor a ; FALSE
ldh [hMapAnims], a
ret

View File

@@ -274,7 +274,7 @@ WillObjectBumpIntoSomeoneElse:
ld e, [hl]
jr IsNPCAtCoord
Unreferenced_Function7015:
Function7015: ; unreferenced
ldh a, [hMapObjectIndexBuffer]
call GetObjectStruct
call .CheckWillBeFacingNPC
@@ -473,7 +473,7 @@ IsObjectMovingOffEdgeOfScreen:
scf
ret
Unreferenced_Function7113:
Function7113: ; unreferenced
ld a, [wPlayerStandingMapX]
ld d, a
ld a, [wPlayerStandingMapY]