Remove all address comments

This commit is contained in:
mid-kid
2018-06-24 16:09:41 +02:00
parent 131875d3e3
commit 1d9a68dbdd
616 changed files with 12133 additions and 20380 deletions

View File

@@ -1,5 +1,5 @@
HandleNewMap: ; 1045b0
HandleNewMap:
call Clearwc7e8
call ResetMapBufferEventFlags
call ResetFlashIfOutOfCave
@@ -7,7 +7,7 @@ HandleNewMap: ; 1045b0
call ResetBikeFlags
ld a, MAPCALLBACK_NEWMAP
call RunMapCallback
InitCommandQueue: ; 1045c4
InitCommandQueue:
farcall ClearCmdQueue
ld a, MAPCALLBACK_CMDQUEUE
call RunMapCallback
@@ -16,7 +16,7 @@ InitCommandQueue: ; 1045c4
ret
EnterMapConnection: ; 1045d6
EnterMapConnection:
; Return carry if a connection has been entered.
ld a, [wPlayerStepDirection]
and a
@@ -150,9 +150,8 @@ EnterMapConnection: ; 1045d6
.done
scf
ret
; 1046c6
LoadWarpData: ; 1046c6
LoadWarpData:
call .SaveDigWarp
call .SetSpawn
ld a, [wNextWarp]
@@ -163,7 +162,7 @@ LoadWarpData: ; 1046c6
ld [wMapNumber], a
ret
.SaveDigWarp: ; 1046df (41:46df)
.SaveDigWarp:
call GetMapEnvironment
call CheckOutdoorMap
ret nz
@@ -195,7 +194,7 @@ LoadWarpData: ; 1046c6
ld [wDigMapNumber], a
ret
.SetSpawn: ; 104718 (41:4718)
.SetSpawn:
call GetMapEnvironment
call CheckOutdoorMap
ret nz
@@ -227,7 +226,7 @@ LoadWarpData: ; 1046c6
ld [wLastSpawnMapNumber], a
ret
LoadMapTimeOfDay: ; 104750
LoadMapTimeOfDay:
ld hl, wVramState
res 6, [hl]
ld a, $1
@@ -239,7 +238,7 @@ LoadMapTimeOfDay: ; 104750
call .PushAttrMap
ret
.ClearBGMap: ; 104770 (41:4770)
.ClearBGMap:
ld a, HIGH(vBGMap0)
ld [wBGMapAnchor + 1], a
xor a ; LOW(vBGMap0)
@@ -267,7 +266,7 @@ LoadMapTimeOfDay: ; 104750
call ByteFill
ret
.PushAttrMap: ; 1047a3 (41:47a3)
.PushAttrMap:
decoord 0, 0
call .copy
ld a, [hCGB]
@@ -298,7 +297,7 @@ LoadMapTimeOfDay: ; 104750
ld [rVBK], a
ret
LoadGraphics: ; 1047cf
LoadGraphics:
call LoadTileset
call LoadTilesetGFX
xor a
@@ -310,12 +309,11 @@ LoadGraphics: ; 1047cf
farcall LoadOverworldFont
ret
LoadMapPalettes: ; 1047eb
LoadMapPalettes:
ld b, SCGB_MAPPALS
jp GetSGBLayout
; 1047f0
RefreshMapSprites: ; 1047f0
RefreshMapSprites:
call ClearSprites
farcall ReturnFromMapSetupScript
call GetMovementPermissions
@@ -333,7 +331,7 @@ RefreshMapSprites: ; 1047f0
ld [wPlayerSpriteSetupFlags], a
ret
CheckMovingOffEdgeOfMap:: ; 104820 (41:4820)
CheckMovingOffEdgeOfMap::
ld a, [wPlayerStepDirection]
cp STANDING
ret z
@@ -391,7 +389,7 @@ CheckMovingOffEdgeOfMap:: ; 104820 (41:4820)
ret
GetCoordOfUpperLeftCorner:: ; 10486d
GetCoordOfUpperLeftCorner::
ld hl, wOverworldMapBlocks
ld a, [wXCoord]
bit 0, a
@@ -436,4 +434,3 @@ GetCoordOfUpperLeftCorner:: ; 10486d
and $1
ld [wMetatileStandingX], a
ret
; 1048ba