diff options
| author | dannye <corrnondacqb@yahoo.com> | 2016-06-12 02:55:49 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2016-06-12 02:55:49 -0500 |
| commit | 604eb493c42b457f9e006e2cf67f29c15e0d1d0b (patch) | |
| tree | 6e64376d2d2594acdf97b0aee3d7449577853508 /home | |
| parent | Merge branch 'master' of https://github.com/pret/pokered into merge-pokered (diff) | |
| download | pokeyellow-604eb493c42b457f9e006e2cf67f29c15e0d1d0b.tar.gz pokeyellow-604eb493c42b457f9e006e2cf67f29c15e0d1d0b.tar.xz pokeyellow-604eb493c42b457f9e006e2cf67f29c15e0d1d0b.zip | |
Remove more address comments
Diffstat (limited to 'home')
| -rw-r--r-- | home/audio.asm | 6 | ||||
| -rw-r--r-- | home/copy.asm | 2 | ||||
| -rw-r--r-- | home/init.asm | 2 | ||||
| -rw-r--r-- | home/overworld.asm | 44 | ||||
| -rw-r--r-- | home/pic.asm | 2 | ||||
| -rw-r--r-- | home/serial.asm | 2 | ||||
| -rw-r--r-- | home/text.asm | 20 |
7 files changed, 39 insertions, 39 deletions
diff --git a/home/audio.asm b/home/audio.asm index 8157e758..e360aab2 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -92,7 +92,7 @@ UpdateMusicCTimes:: .loop push bc push hl - callba Audio1_UpdateMusic ; 2:509d + callba Audio1_UpdateMusic pop hl pop bc dec c @@ -227,7 +227,7 @@ InitMusicVariables:: push hl push de push bc - homecall Audio2_InitMusicVariables ; 8:59f8 + homecall Audio2_InitMusicVariables pop bc pop de pop hl @@ -237,7 +237,7 @@ InitSFXVariables:: push hl push de push bc - homecall Audio2_InitSFXVariables ; 8:5ab7 + homecall Audio2_InitSFXVariables pop bc pop de pop hl diff --git a/home/copy.asm b/home/copy.asm index 4f1d5017..d2228405 100644 --- a/home/copy.asm +++ b/home/copy.asm @@ -25,7 +25,7 @@ CopyData:: jr nz,.loop ret -.copybytes ; 00c1 +.copybytes ld a, [hli] ld [de], a inc de diff --git a/home/init.asm b/home/init.asm index 6aa14608..cd073279 100644 --- a/home/init.asm +++ b/home/init.asm @@ -49,7 +49,7 @@ rLCDC_DEFAULT EQU %11100011 or c jr nz, .loop - call ClearVram ; 1dc6 + call ClearVram ld hl, $ff80 ld bc, $fffe - $ff80 diff --git a/home/overworld.asm b/home/overworld.asm index 0b2f527f..9989891b 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -3,7 +3,7 @@ EnterMap:: ld a, $ff ld [wJoyIgnore], a call LoadMapData - callba ClearVariablesAfterLoadingMapData ; 3:407c + callba ClearVariablesAfterLoadingMapData ld hl, wd72c bit 0, [hl] ; has the player already made 3 steps since the last battle? jr z, .skipGivingThreeStepsOfNoRandomBattles @@ -51,7 +51,7 @@ OverworldLoopLessDelay:: and a jp nz, .moveAhead ; if the player sprite has not yet completed the walking animation call JoypadOverworld ; get joypad state (which is possibly simulated) - callba SafariZoneCheck ; 7:6321 + callba SafariZoneCheck ld a, [wSafariZoneGameOver] and a jp nz, WarpFound2 @@ -134,7 +134,7 @@ OverworldLoopLessDelay:: jp OverworldLoop .noDirectionButtonsPressed - call UpdateSprites ; 231c + call UpdateSprites ld hl, wFlags_0xcd60 res 2, [hl] xor a @@ -338,7 +338,7 @@ NewBattle:: ld a, [wd72e] bit 4, a jr nz, .noBattle - jpba InitBattle ; 3d:5ff2 + jpba InitBattle .noBattle and a ret @@ -481,7 +481,7 @@ WarpFound2:: ld [wMapPalOffset], a call GBFadeOutToBlack .notRockTunnel - callab CalculatePikachuSpawnState1 ; 3f:45fa + callab CalculatePikachuSpawnState1 call PlayMapChangeSound jr .done @@ -509,11 +509,11 @@ WarpFound2:: ld hl, wd736 res 0, [hl] res 1, [hl] - callab CalculatePikachuSpawnState2 ; 3f:465b + callab CalculatePikachuSpawnState2 jr .done .goBackOutside - callab CalculatePikachuSpawnState3 ; 3f:469a + callab CalculatePikachuSpawnState3 ld a, [wLastMap] ld [wCurMap], a call PlayMapChangeSound @@ -653,13 +653,13 @@ CheckMapConnections:: ld [wCurrentTileBlockMapViewPointer], a ; pointer to upper left corner of current tile block map section ld a, h ld [wCurrentTileBlockMapViewPointer + 1], a -.loadNewMap ; 06ce (0:06ce) +.loadNewMap ; load the connected map that was entered ld hl, wPikachuOverworldStateFlags set 4, [hl] ld a, $2 ld [wPikachuSpawnState], a - call LoadMapHeader ; 0dab (0:0dab) + call LoadMapHeader call PlayDefaultMusicFadeOutCurrent ; music ld b, SET_PAL_OVERWORLD call RunPaletteCommand @@ -756,7 +756,7 @@ HandleBlackOut:: ld hl, wd72e res 5, [hl] switchbank SpecialWarpIn ; also Bank(SpecialEnterMap) - callab ResetStatusAndHalveMoneyOnBlackout ; 3c:4274 + callab ResetStatusAndHalveMoneyOnBlackout call SpecialWarpIn call PlayDefaultMusicFadeOutCurrent jp SpecialEnterMap @@ -1297,7 +1297,7 @@ CheckForJumpingAndTilePairCollisions:: predef GetTileAndCoordsInFrontOfPlayer ; get the tile in front of the player push de push bc - callba HandleLedges ; 6:67f4 + callba HandleLedges ; check if the player is trying to jump a ledge pop bc pop de @@ -1480,7 +1480,7 @@ AdvancePlayerSprite:: push af ld a, $FF ld [wUpdateSpritesEnabled], a - ld hl, _AdvancePlayerSprite ; 3c:410c + ld hl, _AdvancePlayerSprite ld b, BANK(_AdvancePlayerSprite) call Bankswitch pop af @@ -1725,7 +1725,7 @@ CollisionCheckOnWater:: call CheckForJumpingAndTilePairCollisions jr c, .collision predef GetTileAndCoordsInFrontOfPlayer ; get tile in front of player (puts it in c and [wTileInFrontOfPlayer]) - callab IsNextTileShoreOrWater ; 3:6808 + callab IsNextTileShoreOrWater jr c, .noCollision ld a, [wTileInFrontOfPlayer] ; tile in front of player ld c, a @@ -1794,7 +1794,7 @@ LoadWalkingPlayerSpriteGraphics:: xor a ld [wd473], a ld b, BANK(RedSprite) - ld de, RedSprite ; $4180 + ld de, RedSprite jr LoadPlayerSpriteGraphicsCommon LoadSurfingPlayerSpriteGraphics2:: @@ -1811,7 +1811,7 @@ LoadSurfingPlayerSpriteGraphics2:: jr z, LoadSurfingPlayerSpriteGraphics .asm_0d7c ld b, BANK(SurfingPikachuSprite) - ld de, SurfingPikachuSprite ; 3f:6def + ld de, SurfingPikachuSprite jr LoadPlayerSpriteGraphicsCommon LoadSurfingPlayerSpriteGraphics:: @@ -1848,7 +1848,7 @@ LoadMapHeader:: jr asm_0dbd Func_0db5:: ; XXX - callba LoadUnusedBluesHouseMissableObjectData ; 3c:4a55 + callba LoadUnusedBluesHouseMissableObjectData asm_0dbd ld a, [wCurMapTileset] ld [wUnusedD119], a @@ -1935,7 +1935,7 @@ asm_0dbd ld [wNumSigns], a and a ; are there any signs? jr z, .loadSpriteData ; if not, skip this - call CopySignData ; 0eb3 (0:0eb3) + call CopySignData .loadSpriteData ld a, [wd72e] bit 5, a ; did a battle happen immediately before this? @@ -1946,9 +1946,9 @@ asm_0dbd ld a, [wd72e] bit 5, a ; did a battle happen immediately before this? jr nz, .skip_pika_spawn - callab SchedulePikachuSpawnForAfterText ; 3f:44fa + callab SchedulePikachuSpawnForAfterText .skip_pika_spawn - callab LoadWildData ; 3:4b62 + callab LoadWildData pop hl ; restore hl from before going to the warp/sign/sprite data (this value was saved for seemingly no purpose) ld a, [wCurMapHeight] ; map height in 4x4 tile blocks add a ; double it @@ -1962,7 +1962,7 @@ asm_0dbd ld a, [H_LOADEDROMBANK] push af switchbank MapSongBanks - ld hl, MapSongBanks ; 3f:4000 + ld hl, MapSongBanks add hl, bc add hl, bc ld a, [hli] @@ -2130,7 +2130,7 @@ SwitchToMapRomBank:: GetMapHeaderPointer:: ld a, [H_LOADEDROMBANK] push af - switchbank MapHeaderPointers ; 3f:41f2 + switchbank MapHeaderPointers push de ld a, [wCurMap] ld e, a @@ -2320,4 +2320,4 @@ LoadSprite:: xor a ld [hl], a ; zero byte 1, since it is not used pop hl - ret ; end of home/overworld.asm = 10b9 (0:10b9) + ret diff --git a/home/pic.asm b/home/pic.asm index d0645a8c..61a8001c 100644 --- a/home/pic.asm +++ b/home/pic.asm @@ -536,7 +536,7 @@ ReverseNybble:: ; resets sprite buffer pointers to buffer 1 and 2, depending on wSpriteLoadFlags ResetSpriteBufferPointers:: - ld a, [wSpriteLoadFlags] ; wd0a8 + ld a, [wSpriteLoadFlags] bit 0, a jr nz, .buffer2Selected ld de, sSpriteBuffer1 diff --git a/home/serial.asm b/home/serial.asm index 508148df..6f3c72ff 100644 --- a/home/serial.asm +++ b/home/serial.asm @@ -228,7 +228,7 @@ Serial_ExchangeLinkMenuSelection:: Serial_PrintWaitingTextAndSyncAndExchangeNybble:: call SaveScreenTilesToBuffer1 - callab PrintWaitingText ; 1:4b89 + callab PrintWaitingText call Serial_SyncAndExchangeNybble jp LoadScreenTilesFromBuffer1 diff --git a/home/text.asm b/home/text.asm index 9c661f21..866eca9f 100644 --- a/home/text.asm +++ b/home/text.asm @@ -70,7 +70,7 @@ Char4ETest:: pop hl add hl, bc push hl - jp PlaceNextChar_inc ; 17b6 + jp PlaceNextChar_inc .next cp $4F ; line @@ -235,7 +235,7 @@ Char55:: ld b, h ld c, l ld hl, Char55Text - call TextCommandProcessor ; 1919 + call TextCommandProcessor ld h, b ld l, c pop de @@ -244,7 +244,7 @@ Char55:: Char55Text:: ; equivalent to Char4B - TX_FAR _Char55Text ; a0c73 (28:4c73) + TX_FAR _Char55Text db "@" Char5F:: @@ -253,18 +253,18 @@ Char5F:: pop hl ret -Char58:: ; 1863 (0:1863) prompt +Char58:: ; prompt ld a, [wLinkState] cp LINK_STATE_BATTLING jp z, .next ld a, $EE Coorda 18, 16 -.next ; 1870 (0:1870) - call ProtectedDelay3 ; 1913 - call ManualTextScroll ; 388e +.next + call ProtectedDelay3 + call ManualTextScroll ld a, " " ; space Coorda 18, 16 -Char57:: ; 1aad (0:1aad) done +Char57:: ; done pop hl ld de, Char58Text dec de @@ -273,7 +273,7 @@ Char57:: ; 1aad (0:1aad) done Char58Text:: db "@" -Char51:: ; 1882 (0:1882) para +Char51:: ; para push de ld a, $EE Coorda 18, 16 @@ -324,7 +324,7 @@ Char4B:: ;fall through Char4C:: push de - call ScrollTextUpOneLine ; 18f1 + call ScrollTextUpOneLine call ScrollTextUpOneLine coord hl, 1, 16 pop de |
