summaryrefslogtreecommitdiff
path: root/engine/pokemon
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-06-12 23:29:15 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-06-12 23:29:15 -0400
commitfbe82a7fe0f310ade7436d4d8f352ee04e05a1ec (patch)
treed474f9d2ee1876cdee83564ddd2e44986eb8a4a4 /engine/pokemon
parent6130fc5cd6b002f827d307c64a432e960629cb9b (diff)
Note which labels are only needed for locating banks (relevant to issue #485)
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/breeding.asm8
-rw-r--r--engine/pokemon/party_menu.asm2
2 files changed, 5 insertions, 5 deletions
diff --git a/engine/pokemon/breeding.asm b/engine/pokemon/breeding.asm
index e32d1a3a6..cc32122a7 100644
--- a/engine/pokemon/breeding.asm
+++ b/engine/pokemon/breeding.asm
@@ -445,7 +445,7 @@ GetEggMove: ; 170e4
ld a, BANK(EggMovePointers)
call GetFarHalfword
.loop
- ld a, BANK(EggMoves)
+ ld a, BANK("Egg Moves")
call GetFarByte
cp -1
jr z, .reached_end
@@ -479,18 +479,18 @@ GetEggMove: ; 170e4
ld a, BANK(EvosAttacksPointers)
call GetFarHalfword
.loop3
- ld a, BANK(EvosAttacks)
+ ld a, BANK("Evolutions and Attacks")
call GetFarByte
inc hl
and a
jr nz, .loop3
.loop4
- ld a, BANK(EvosAttacks)
+ ld a, BANK("Evolutions and Attacks")
call GetFarByte
and a
jr z, .inherit_tmhm
inc hl
- ld a, BANK(EvosAttacks)
+ ld a, BANK("Evolutions and Attacks")
call GetFarByte
ld b, a
ld a, [de]
diff --git a/engine/pokemon/party_menu.asm b/engine/pokemon/party_menu.asm
index 11edc0412..da9ae7e10 100644
--- a/engine/pokemon/party_menu.asm
+++ b/engine/pokemon/party_menu.asm
@@ -416,7 +416,7 @@ PlacePartyMonEvoStoneCompatibility: ; 5022f
ld h, [hl]
ld l, a
ld de, wStringBuffer1
- ld a, BANK(EvosAttacks)
+ ld a, BANK("Evolutions and Attacks")
ld bc, 10
call FarCopyBytes
ld hl, wStringBuffer1