Remove HRAM label address comments

This commit is contained in:
Rangi 2018-08-25 14:39:24 -04:00
parent 1c0fff7668
commit 7aa1c1f388
8 changed files with 22 additions and 22 deletions

View File

@ -1619,7 +1619,7 @@ Functioncd913:
ld hl, BATTLEANIMSTRUCT_10 ld hl, BATTLEANIMSTRUCT_10
add hl, bc add hl, bc
ld e, [hl] ld e, [hl]
ld hl, hTransferVirtualOAM ; $ff80 ld hl, hTransferVirtualOAM
add hl, de add hl, de
ld e, l ld e, l
ld d, h ld d, h
@ -2116,7 +2116,7 @@ asm_cdbfa:
ld hl, BATTLEANIMSTRUCT_0F ld hl, BATTLEANIMSTRUCT_0F
add hl, bc add hl, bc
ld e, [hl] ld e, [hl]
ld hl, hTransferVirtualOAM ; $ff80 ld hl, hTransferVirtualOAM
add hl, de add hl, de
ld e, l ld e, l
ld d, h ld d, h
@ -3356,7 +3356,7 @@ Functionce306:
ld hl, BATTLEANIMSTRUCT_0F ld hl, BATTLEANIMSTRUCT_0F
add hl, bc add hl, bc
ld e, [hl] ld e, [hl]
ld hl, hTransferVirtualOAM ; $ff80 ld hl, hTransferVirtualOAM
add hl, de add hl, de
ld e, l ld e, l
ld d, h ld d, h

View File

@ -500,7 +500,7 @@ DummyGame_InterpretJoypad_AnimateCursor:
cp $7 cp $7
jr nc, .quit jr nc, .quit
call JoyTextDelay call JoyTextDelay
ld hl, hJoypadPressed ; $ffa3 ld hl, hJoypadPressed
ld a, [hl] ld a, [hl]
and A_BUTTON and A_BUTTON
jr nz, .pressed_a jr nz, .pressed_a

View File

@ -400,7 +400,7 @@ NamingScreenJoypadLoop:
ret ret
.ReadButtons: .ReadButtons:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and A_BUTTON and A_BUTTON
jr nz, .a jr nz, .a
@ -1083,7 +1083,7 @@ INCBIN "gfx/icons/mail_big.2bpp"
ret ret
.process_joypad .process_joypad
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and A_BUTTON and A_BUTTON
jr nz, .a jr nz, .a

View File

@ -39,7 +39,7 @@ SaveMenu_CopyTilemapAtOnce:
ret ret
.CopyTilemapAtOnce: .CopyTilemapAtOnce:
ld [hSPBuffer], sp ; $ffd9 ld [hSPBuffer], sp
ld sp, hl ld sp, hl
ldh a, [hBGMapAddress + 1] ldh a, [hBGMapAddress + 1]
ld h, a ld h, a

View File

@ -70,7 +70,7 @@ _DepositPKMN:
ret ret
.HandleJoypad: .HandleJoypad:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and B_BUTTON and B_BUTTON
jr nz, .b_button jr nz, .b_button
@ -328,7 +328,7 @@ _WithdrawPKMN:
ret ret
.Joypad: .Joypad:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and B_BUTTON and B_BUTTON
jr nz, .b_button jr nz, .b_button
@ -1660,7 +1660,7 @@ BillsPC_StatsScreen:
ret ret
StatsScreenDPad: StatsScreenDPad:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and A_BUTTON | B_BUTTON | D_RIGHT | D_LEFT and A_BUTTON | B_BUTTON | D_RIGHT | D_LEFT
ld [wMenuJoypad], a ld [wMenuJoypad], a

View File

@ -561,7 +561,7 @@ Function11c3c2:
Function11c3ed: Function11c3ed:
ld hl, wcd20 ; wcd20 ld hl, wcd20 ; wcd20
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and $8 and $8
jr nz, .asm_11c426 jr nz, .asm_11c426
@ -726,7 +726,7 @@ Function11c52c:
Function11c53d: Function11c53d:
ld hl, wcd21 ld hl, wcd21
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and START and START
@ -935,7 +935,7 @@ Function11c658:
Function11c675: Function11c675:
ld hl, wMobileCommsJumptableIndex ld hl, wMobileCommsJumptableIndex
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and A_BUTTON and A_BUTTON
jr nz, .a jr nz, .a
@ -1507,7 +1507,7 @@ Function11c9bd:
Function11c9c3: Function11c9c3:
ld hl, wcd2a ld hl, wcd2a
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and $1 and $1
jr nz, .asm_11c9de jr nz, .asm_11c9de
@ -1650,7 +1650,7 @@ Function11caad:
Function11cab3: Function11cab3:
ld hl, wcd2a ld hl, wcd2a
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and $1 and $1
jr nz, .asm_11cace jr nz, .asm_11cace
@ -1743,7 +1743,7 @@ Function11cb52:
Function11cb66: Function11cb66:
ld hl, wcd2a ld hl, wcd2a
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and $1 and $1
jr nz, .asm_11cb81 jr nz, .asm_11cb81
@ -1898,7 +1898,7 @@ Function11ccef:
call Function11cfb5 call Function11cfb5
Function11cd04: Function11cd04:
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and a and a
ret z ret z
@ -1934,7 +1934,7 @@ Function11cd20:
Function11cd54: Function11cd54:
ld hl, wcd2c ld hl, wcd2c
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and A_BUTTON and A_BUTTON
jr nz, .asm_11cd6f jr nz, .asm_11cd6f
@ -2039,7 +2039,7 @@ Function11ce2b:
ld hl, Unknown_11ceb9 ld hl, Unknown_11ceb9
add hl, bc add hl, bc
ld de, hJoypadPressed ; $ffa3 ld de, hJoypadPressed
ld a, [de] ld a, [de]
and START and START
jr nz, .start jr nz, .start

View File

@ -6748,7 +6748,7 @@ Function117764:
xor a xor a
.asm_117770 .asm_117770
ld [wcd24], a ld [wcd24], a
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and SELECT and SELECT
jr nz, Function117764_select jr nz, Function117764_select

View File

@ -522,7 +522,7 @@ Function171b4b:
jp Function171c66 jp Function171c66
Function171b85: Function171b85:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and $2 and $2
jp nz, Function171b9f jp nz, Function171b9f
@ -569,7 +569,7 @@ Function171bbd:
jp Function171c66 jp Function171c66
Function171bcc: Function171bcc:
ld hl, hJoyPressed ; $ffa7 ld hl, hJoyPressed
ld a, [hl] ld a, [hl]
and $2 and $2
jp nz, Function171bdc jp nz, Function171bdc