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 39ba1f55..9c8ca00c 100644
--- a/home/names2.asm
+++ b/home/names2.asm
@@ -41,8 +41,7 @@ GetName::
.otherEntries
;2-7 = OTHER ENTRIES
ld a, [wPredefBank]
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
ld a, [wNameListType] ;VariousNames' entryID
dec a
add a
@@ -89,6 +88,5 @@ GetName::
pop bc
pop hl
pop af
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ call BankswitchCommon
ret