If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Super Mario Kart/RAM map: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{rammap|game=Super Mario Kart}} | {{rammap|game=Super Mario Kart}} | ||
Locations of variables in RAM, | Locations of variables in RAM, | ||
for the US version of Super Mario Kart for the Super NES | for the US version of Super Mario Kart for the Super NES. These were ascertained for Player 1 using bowser on 150cc mode (shouldn't make a difference, though) | ||
<pre> | <pre> | ||
Player kart position, 2 bytes unsigned each: | Player kart position, 2 bytes unsigned each: |
Revision as of 04:25, 22 June 2006
The following article is a RAM map for Super Mario Kart.
Locations of variables in RAM, for the US version of Super Mario Kart for the Super NES. These were ascertained for Player 1 using bowser on 150cc mode (shouldn't make a difference, though)
Player kart position, 2 bytes unsigned each: 7E1058 = how far south 7E0088 = how far east So the 'origin' of the map is in the North West (top left) How many coins, 1 byte unsigned: 7E0E00 Player kart facing angle, 2 bytes unsigned: 7E0095 north = 0 east = 64 south = 128 west = 192 Player kart speed, 2 bytes signed: speed to the east = 7E1022 speed to the south = 7E1024 Skidding/spin out of control, 2 bytes signed: 7E10AA Not skidding = 0 Skidding a little to the right = -1 to about -12000 Skidding a little to the left = 1 to about 12000 Spinning out of control = more than about +/- 16500 Items, 2 unsigned bytes: (7E0D70, 7E0C69) nothing = (0,60) mushroom = (0,52) feather = (1,52) star = (2,56) banana = (3,56) green shell = (4,48) red shell = (5,52) coin = (7,56) lightning = (8,56) selecting/spinning = (0-8,?) Height in hop/jump/ramp, 2 bytes unsigned: 7E101F on ground = 0 above ground = 1+ Status, 1 byte unsigned: 7E10A0 on the ground = 0 jump/hop/ramp = 2 fallen off edge = 4 in lava = 6 in deep water = 8 Surface type, 1 byte unsigned: 7E10AE unused power up square = 20 deep water = 34 mario circuit road / ghost valley road / used power up square / rainbow road = 64 bowser castle = 68 doughnut plains course = 70 koopa beech sand = 74 choco island track = 76 ghost valley rough bit / bowser castle rough bit / ice = 78 choco island bridges = 80 choco island slightly rough bit of track = 82 mario circuit crud = 84 choco island off road = 86 snow = 88 koopa beech bushes / doughnut plains grass = 90 shallow-water = 92 mud puddle = 94 Gopher attatched to kart: 7E1061 No = 0 Yes = 152 / 153 Mushroom shrunk, unsigned 1 byte: 7E1030 no = 0 yes = 128