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
2025-09-08 08:13:02 -07:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
aec3802587c8cd6955cce119d56a4e4970e83ba5
pokecrystal-board
/
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 12:47:28 -04:00
_Sine:
:
; 84d9
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-03 21:11:55 -05:00
; a = d * sin(e * pi/32)
Split up banks 1-3 of main.asm
2016-03-27 12:47:28 -04:00
ld
a
,
e
Macro factors out sine code, just like sine data, since it's used 5 times
2018-02-03 21:11:55 -05:00
calc_sine_wave
Reference in New Issue
Copy Permalink