aboutsummaryrefslogtreecommitdiffstats
path: root/home/names.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-06-30 12:47:22 -0400
committerGitHub <noreply@github.com>2025-06-30 12:47:22 -0400
commit56c405de09ce267c4cfbc68a15c37b2ff51c635a (patch)
tree47d25c237e9af824f7a57295a2d2e298b194a8e6 /home/names.asm
parentDistinguish single trainer pics section from Pokemon pics (diff)
downloadpokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.gz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.tar.xz
pokeyellow-56c405de09ce267c4cfbc68a15c37b2ff51c635a.zip
Replace hardware_constants.asm with hardware.inc (#511)
Diffstat (limited to 'home/names.asm')
-rw-r--r--home/names.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/names.asm b/home/names.asm
index 7330a065..5848cb19 100644
--- a/home/names.asm
+++ b/home/names.asm
@@ -4,7 +4,7 @@ GetMonName::
push af
ld a, BANK(MonsterNames)
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ ld [rROMB], a
ld a, [wNamedObjectIndex]
dec a
ld hl, MonsterNames
@@ -20,7 +20,7 @@ GetMonName::
pop de
pop af
ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ ld [rROMB], a
pop hl
ret