Clean up XXX comments for unused content

This commit is contained in:
xCrystal
2018-01-02 13:24:05 +01:00
parent f27f79488a
commit 9a3088e50c
36 changed files with 68 additions and 97 deletions

View File

@@ -1,8 +1,7 @@
; Functions to fade the screen in and out.
Function48c:: ; 48c
; XXX
Unreferenced_Function48c:: ; 48c
; TimeOfDayFade
ld a, [TimeOfDayPal]
ld b, a

View File

@@ -384,7 +384,7 @@ CheckIndoorMap:: ; 22f4
ret
; 2300
; XXX
; unused
cp INDOOR
ret z
cp GATE
@@ -2075,7 +2075,6 @@ GetAnyMapHeaderPointer:: ; 0x2bed
; inputs:
; b = map group, c = map number
; XXX de = ???
; outputs:
; hl points to the map header
@@ -2247,7 +2246,7 @@ GetMapEnvironment:: ; 2c8a
ret
; 2c98
ret ; XXX
ret ; unused
; 2c99
GetAnyMapEnvironment:: ; 2c99

View File

@@ -316,7 +316,7 @@ CheckObjectTime:: ; 18f5
ret
; 194d
; XXX
; unused
ld [hMapObjectIndexBuffer], a
call GetMapObject
call CopyObjectStruct
@@ -383,7 +383,7 @@ CopyPlayerObjectTemplate:: ; 19a6
ret
; 19b8
; XXX
Unreferenced_Function19b8:
call GetMapObject
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, bc

View File

@@ -398,8 +398,7 @@ LinkDataReceived:: ; 908
ret
; 919
Function919:: ; 919
; XXX
Unreferenced_Function919:: ; 919
ld a, [wLinkMode]
and a
ret nz

View File

@@ -1015,8 +1015,7 @@ Text_PlaySound:: ; 1500
ret
; 1522
Function1522:: ; 1522
; XXX
Unreferenced_Function1522:: ; 1522
; TX_CRY
push de
ld e, [hl]

View File

@@ -99,7 +99,7 @@ SafeUpdateSprites:: ; 2e31
ld [hOAMUpdate], a
ret
; XXX
; unused
scf
ret
; 2e50