pokegold-spaceworld/home/math.asm
DrippingYellow ce247cc761
Some checks failed
CI / build (push) Has been cancelled
Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more (#112)
* Sporadic constantifying and function naming

* Added bank 14

* Delete .DS_Store files

* Delete EOL whitespace

* Use Tab indents instead of four spaces

* Identify some routines

* Identify more stuff

* Identified party and box structs

* Identified wBattleMon and wEnemyMon structs

* Macro'd landmarks, cleaned up comments

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2025-01-16 12:12:38 -06:00

22 lines
209 B
NASM

INCLUDE "constants.asm"
SECTION "home/math.asm", ROM0
Multiply::
push hl
push bc
callfar _Multiply
pop bc
pop hl
ret
Divide::
push hl
push de
push bc
homecall _Divide
pop bc
pop de
pop hl
ret