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
e018a9d005
pokecrystal
/
engine
/
routines
/
sine.asm
5 lines
65 B
NASM
Raw
Normal View
History
Unescape
Escape
Split up banks 1-3 of main.asm
2016-03-27 16:47:28 +00:00
_Sine:
:
; 84d9
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