diff options
| author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-11-05 23:50:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 23:50:03 -0500 |
| commit | d3f13528754b985e892385dbd88c3c9a95681f1b (patch) | |
| tree | 4a18885606996ff59bb714afb5db9a548e2f94a7 /home/math.asm | |
| parent | Port some formatting from pokeyellow (diff) | |
| parent | Sync more with pokeyellow (diff) | |
| download | pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.gz pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.tar.xz pokeyellow-d3f13528754b985e892385dbd88c3c9a95681f1b.zip | |
Merge pull request #301 from Rangi42/master
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 |
