View Single Post
Old June 4th, 2012 (9:17 AM). Edited December 8th, 2014 by Hopeless Masquerade.
Hopeless Masquerade's Avatar
Hopeless Masquerade Hopeless Masquerade is online now
Angel of Death
Crystal TierEO
Join Date: Mar 2010
Age: 18
Gender: Female
Nature: Impish
Posts: 2,570
Originally Posted by Team Fail View Post
Yeah. Mine just goes into the game. There's a regional difference right there. I'll add that to the OP.

On another note, I took a look at the RAM, and I've identified the use of some offsets

Offset - Purpose
02000010 to 02000014 - Timer? (Goes up by one each frame)
02000018 to 0200001C - Key state

> 0000FC00 - Nothing
> 0000FC01 - A button
> 0000FC02 - B button
> 0000FC04 - Select
> 0000FC08 - Start
> 0000FC20 - Left
> 0000FC10 - Right
> 0000FC40 - Up
> 0000FC80 - Down
> 0000FD00 - R button
> 0000FE00 - L button

020001CC to 020001D0 - Another timer?
02000E54 to 02000E5B - Player's sprite frame
02000E5C to 02000E60 - Altitude of player. Signed integer.

For example, if the player is jumping, and his altitude is 23A, it would look like this: 0000023A.
However, if the A button is being pressed, if would look like this: FFFFF23A.

This because when it is filled with F's instead of 0's, it is negative (it's a signed integer).
The Angel of Death
Reply With Quote