diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:50:30 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-05 10:50:30 -0500 |
commit | d3e81422d50f937b91df19e058c25ac7288f6063 (patch) | |
tree | 6de026ed81054668b3885d780fd047fc69fca0ef /home/math.asm | |
parent | abaf9fee7c73e708ef8c3e7a1ed710bfc9ec6f6e (diff) |
Sync home and macro code with pokeyellow
Diffstat (limited to 'home/math.asm')
-rw-r--r-- | home/math.asm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/home/math.asm b/home/math.asm index b081b540..59eda606 100644 --- a/home/math.asm +++ b/home/math.asm @@ -26,15 +26,7 @@ Divide:: push hl push de push bc - ldh a, [hLoadedROMBank] - push af - ld a, BANK(_Divide) - ldh [hLoadedROMBank], a - ld [MBC1RomBank], a - call _Divide - pop af - ldh [hLoadedROMBank], a - ld [MBC1RomBank], a + homecall _Divide pop bc pop de pop hl |