This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
pokecrystal
mirror of
https://github.com/pret/pokecrystal.git
Watch
1
Star
1
Fork
You've already forked pokecrystal
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e475ce6fda
pokecrystal
/
engine
/
math
/
sine.asm
5 lines
58 B
NASM
Raw
Normal View
History
Unescape
Escape
Remove all address comments
2018-06-24 14:09:41 +00:00
_Sine:
:
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-04 02:11:55 +00:00
; a = d * sin(e * pi/32)
Split up banks 1-3 of main.asm
2016-03-27 16:47:28 +00:00
ld
a
,
e
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-04 02:11:55 +00:00
calc_sine_wave