This website requires JavaScript.
Explore
Help
Sign In
pokehacks
/
pokecrystal-board
Watch
0
Star
0
Fork
0
You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced
2024-11-16 11:27:33 -08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5a58f90ec6
pokecrystal-board
/
engine
/
math
/
sine.asm
5 lines
65 B
NASM
Raw
Normal View
History
Unescape
Escape
Split up banks 1-3 of main.asm
2016-03-27 09:47:28 -07:00
_Sine:
:
; 84d9
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-03 18:11:55 -08:00
; a = d * sin(e * pi/32)
Split up banks 1-3 of main.asm
2016-03-27 09:47:28 -07:00
ld
a
,
e
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-03 18:11:55 -08:00
calc_sine_wave
Reference in New Issue
Copy Permalink