jep-hack/home/sine.asm
Zeta_Null 2f8a41f833 First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
2023-09-10 12:35:35 -04:00

10 lines
164 B
NASM

Cosine:: ; unreferenced
; a = d * cos(a * pi/32)
add %010000 ; cos(x) = sin(x + pi/2)
; fallthrough
Sine::
; a = d * sin(a * pi/32)
ld e, a
homecall _Sine
ret