ref: 7aa1c1f38840ba7873f05b762cebd6bd65941f79
parent: 1c0fff7668dffccbc498bdaddfe4dcdf6fb08c7e
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Aug 25 10:39:24 EDT 2018
Remove HRAM label address comments
--- a/engine/battle_anims/functions.asm
+++ b/engine/battle_anims/functions.asm
@@ -1619,7 +1619,7 @@
ld hl, BATTLEANIMSTRUCT_10
add hl, bc
ld e, [hl]
- ld hl, hTransferVirtualOAM ; $ff80
+ ld hl, hTransferVirtualOAM
add hl, de
ld e, l
ld d, h
@@ -2116,7 +2116,7 @@
ld hl, BATTLEANIMSTRUCT_0F
add hl, bc
ld e, [hl]
- ld hl, hTransferVirtualOAM ; $ff80
+ ld hl, hTransferVirtualOAM
add hl, de
ld e, l
ld d, h
@@ -3356,7 +3356,7 @@
ld hl, BATTLEANIMSTRUCT_0F
add hl, bc
ld e, [hl]
- ld hl, hTransferVirtualOAM ; $ff80
+ ld hl, hTransferVirtualOAM
add hl, de
ld e, l
ld d, h
--- a/engine/games/dummy_game.asm
+++ b/engine/games/dummy_game.asm
@@ -500,7 +500,7 @@
cp $7
jr nc, .quit
call JoyTextDelay
- ld hl, hJoypadPressed ; $ffa3
+ ld hl, hJoypadPressed
ld a, [hl]
and A_BUTTON
jr nz, .pressed_a
--- a/engine/menus/naming_screen.asm
+++ b/engine/menus/naming_screen.asm
@@ -400,7 +400,7 @@
ret
.ReadButtons:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and A_BUTTON
jr nz, .a
@@ -1083,7 +1083,7 @@
ret
.process_joypad
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and A_BUTTON
jr nz, .a
--- a/engine/menus/savemenu_copytilemapatonce.asm
+++ b/engine/menus/savemenu_copytilemapatonce.asm
@@ -39,7 +39,7 @@
ret
.CopyTilemapAtOnce:
- ld [hSPBuffer], sp ; $ffd9
+ ld [hSPBuffer], sp
ld sp, hl
ldh a, [hBGMapAddress + 1]
ld h, a
--- a/engine/pokemon/bills_pc.asm
+++ b/engine/pokemon/bills_pc.asm
@@ -70,7 +70,7 @@
ret
.HandleJoypad:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and B_BUTTON
jr nz, .b_button
@@ -328,7 +328,7 @@
ret
.Joypad:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and B_BUTTON
jr nz, .b_button
@@ -1660,7 +1660,7 @@
ret
StatsScreenDPad:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and A_BUTTON | B_BUTTON | D_RIGHT | D_LEFT
ld [wMenuJoypad], a
--- a/mobile/fixed_words.asm
+++ b/mobile/fixed_words.asm
@@ -561,7 +561,7 @@
Function11c3ed:
ld hl, wcd20 ; wcd20
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and $8
jr nz, .asm_11c426
@@ -726,7 +726,7 @@
Function11c53d:
ld hl, wcd21
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and START
@@ -935,7 +935,7 @@
Function11c675:
ld hl, wMobileCommsJumptableIndex
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and A_BUTTON
jr nz, .a
@@ -1507,7 +1507,7 @@
Function11c9c3:
ld hl, wcd2a
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and $1
jr nz, .asm_11c9de
@@ -1650,7 +1650,7 @@
Function11cab3:
ld hl, wcd2a
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and $1
jr nz, .asm_11cace
@@ -1743,7 +1743,7 @@
Function11cb66:
ld hl, wcd2a
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and $1
jr nz, .asm_11cb81
@@ -1898,7 +1898,7 @@
call Function11cfb5
Function11cd04:
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and a
ret z
@@ -1934,7 +1934,7 @@
Function11cd54:
ld hl, wcd2c
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and A_BUTTON
jr nz, .asm_11cd6f
@@ -2039,7 +2039,7 @@
ld hl, Unknown_11ceb9
add hl, bc
- ld de, hJoypadPressed ; $ffa3
+ ld de, hJoypadPressed
ld a, [de]
and START
jr nz, .start
--- a/mobile/mobile_45.asm
+++ b/mobile/mobile_45.asm
@@ -6748,7 +6748,7 @@
xor a
.asm_117770
ld [wcd24], a
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and SELECT
jr nz, Function117764_select
--- a/mobile/mobile_5c.asm
+++ b/mobile/mobile_5c.asm
@@ -522,7 +522,7 @@
jp Function171c66
Function171b85:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and $2
jp nz, Function171b9f
@@ -569,7 +569,7 @@
jp Function171c66
Function171bcc:
- ld hl, hJoyPressed ; $ffa7
+ ld hl, hJoyPressed
ld a, [hl]
and $2
jp nz, Function171bdc