summaryrefslogtreecommitdiff
path: root/home/names2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/names2.asm')
-rw-r--r--home/names2.asm6
1 files changed, 2 insertions, 4 deletions
diff --git a/home/names2.asm b/home/names2.asm
index cb53154c..73aabb1c 100644
--- a/home/names2.asm
+++ b/home/names2.asm
@@ -47,8 +47,7 @@ GetName::
.otherEntries
; 2-7 = other names
ld a, [wPredefBank]
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
ld a, [wNameListType]
dec a
add a
@@ -95,6 +94,5 @@ GetName::
pop bc
pop hl
pop af
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
ret