mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-03-21 17:45:52 -05:00
Some checks failed
CI / build (push) Has been cancelled
* 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>
22 lines
209 B
NASM
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
|