summaryrefslogtreecommitdiff
path: root/home/update_sprites.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-11-05 23:50:03 -0500
committerGitHub <noreply@github.com>2020-11-05 23:50:03 -0500
commitd3f13528754b985e892385dbd88c3c9a95681f1b (patch)
tree4a18885606996ff59bb714afb5db9a548e2f94a7 /home/update_sprites.asm
parentabaf9fee7c73e708ef8c3e7a1ed710bfc9ec6f6e (diff)
parente16dec874a239c162680b169391d3c0c7ee1fc70 (diff)
Merge pull request #301 from Rangi42/master
Sync home and macro code with pokeyellow
Diffstat (limited to 'home/update_sprites.asm')
-rw-r--r--home/update_sprites.asm10
1 files changed, 1 insertions, 9 deletions
diff --git a/home/update_sprites.asm b/home/update_sprites.asm
index 80ea14d3..5530c2a4 100644
--- a/home/update_sprites.asm
+++ b/home/update_sprites.asm
@@ -2,13 +2,5 @@ UpdateSprites::
ld a, [wUpdateSpritesEnabled]
dec a
ret nz
- ldh a, [hLoadedROMBank]
- push af
- ld a, BANK(_UpdateSprites)
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
- call _UpdateSprites
- pop af
- ldh [hLoadedROMBank], a
- ld [MBC1RomBank], a
+ homecall _UpdateSprites
ret