summaryrefslogtreecommitdiff
path: root/home/update_sprites.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/update_sprites.asm')
-rw-r--r--home/update_sprites.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/update_sprites.asm b/home/update_sprites.asm
index 0c32dad8..5bb9ee12 100644
--- a/home/update_sprites.asm
+++ b/home/update_sprites.asm
@@ -4,7 +4,8 @@ UpdateSprites::
ret nz
ldh a, [hLoadedROMBank]
push af
- switchbank _UpdateSprites
+ ld a, BANK(_UpdateSprites)
+ call BankswitchCommon
ld a, $ff
ld [wUpdateSpritesEnabled], a
call _UpdateSprites