diff options
author | Marcus Huderle <huderlem@gmail.com> | 2015-03-14 13:18:41 -0700 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2015-03-14 13:18:41 -0700 |
commit | 3c6d4b7d7ec93f5ace4dd7dfcac704c0f3a50e96 (patch) | |
tree | 1986fb4fb510d2d8e673acc6c68503bbd5785e80 /wram.asm | |
parent | bc491702b9aaa5b42db349c944248186d841ebe1 (diff) |
Dump MoveBallPosition routine.
Diffstat (limited to 'wram.asm')
-rwxr-xr-x | wram.asm | 41 |
1 files changed, 33 insertions, 8 deletions
@@ -13,18 +13,43 @@ wOAMBuffer:: ; d000 ; buffer for OAM data. Copied to OAM by DMA ds 4 * 40 - ds $414 + ds $413 -wBallXPos:: ; 0xd4b4 +wBallXPos:: ; 0xd4b3 ; x coordinate of the center of the pokeball - ds 1 - ds 1 -wBallYPos:: ; 0xd4b6 +; little-endian word +; Most-significant byte is the pixel, and least-significant byte is fraction of a pixel + ds 2 + +wBallYPos:: ; 0xd4b5 ; y coordinate of the center of the pokeball - ds 1 - ds 1 +; little-endian word +; Most-significant byte is the pixel, and least-significant byte is fraction of a pixel + ds 2 + +wPreviousBallXPos:: ; 0xd4b7 +; x coordinate of the center of the pokeball in the previous frame +; little-endian word +; Most-significant byte is the pixel, and least-significant byte is fraction of a pixel + ds 2 + +wPreviousBallYPos:: ; 0xd4b9 +; y coordinate of the center of the pokeball in the previous frame +; little-endian word +; Most-significant byte is the pixel, and least-significant byte is fraction of a pixel + ds 2 + +wBallXVelocity:: ; 0xd4bb +; little-endian word +; This is added to wBallXPos every frame. + ds 2 + +wBallYVelocity:: ; 0xd4bd +; little-endian word +; This is added to wBallYPos every frame. + ds 2 - ds $b + ds 4 wBallSpin:: ; 0xd4c3 ds 1 |