diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:51:02 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:51:02 -0500 |
commit | 6fe56af2cd63abaf30040cc5031e3db5358cf638 (patch) | |
tree | b024aa8480912ebf2667184068466ee7f354012c /home/update_sprites.asm | |
parent | ed03fc4f4a3287a01647e528abba27aac1937de0 (diff) |
Organize home and macro code
Diffstat (limited to 'home/update_sprites.asm')
-rw-r--r-- | home/update_sprites.asm | 3 |
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 |