YI Memory Map
Displaying 50 out of 286 addresses.
View: moderated | waiting (30)
SRAM Address | Length | Type | Description | Details |
---|---|---|---|---|
$7000E6 | 2 bytes | Misc. | Egg cursor Y position When spitting an enemy this is used subtracted with constant $0200 to set enemy y-speed |
|
$7000E8 | 2 bytes | Misc. | Frame counter for holding the Down button to cancel egg throw (up to $0007 then it cancels) | |
$7000EA | 2 bytes | Flag | $FFFF = Egg cursor locked with L/R, $0000 = not locked | |
$7000EC | 2 bytes | Flag | Egg aiming flag: $FFFF: Have eggs, can aim $0000: No eggs, can't aim $0002: In water, can't aim |
|
$7000EE | 2 bytes | Misc. | Egg cursor angle, ranges from $0000 = lowest, to $2E00 = highest | |
$7000F0 | 2 bytes | Misc. | Angular velocity of egg cursor (fixed point) | |
$7000F2 | 2 bytes | Misc. | How much Yoshi is stumbling during fuzzied state, starts at $00 and increments or decrements by $02 until threshold point, then begins stumbling: $001A: stumble forward threshold $FFE6: stumble backward threshold |
|
$7000F4 | 2 bytes | Misc. | Direction Yoshi is currently leaning during fuzzied state, relative to Yoshi's current facing: $0002: forward $FFFE: backwards |
|
$7000F6 | 2 bytes | Misc. | Yoshi idle animation state: $0000: Stepping in place $0002: Blinking $0004: Scratching nose $0006: Turning around |
|
$7000F8 | 2 bytes | Misc. | Running animation state: alternates between $0000 and $0002 while running pre/post-run: $0000 - $0012, increments by $02 |
|
$7000FA | 2 bytes | Misc. | Current ground type Yoshi is on: $0000: Ground $0001: Water $0002: ???? $0003: Ice $0004: Snow $0005: Mud |
|
$7000FC | 2 bytes | Misc. | Player collision with MAP16 terrain, format: 0000000L lRrTtBMb L = left, head l = left, body R = right, head r = right, body T = top, left half t = top, right half B = bottom, left third M = bottom, middle third b = bottom, right third |
|
$7000FE | 2 bytes | Misc. | Player collision with water, same format as $7000FC | |
$700100 | 2 bytes | Misc. | Player collision with cross section tiles, same format as $7000FC | |
$700102 | 2 bytes | Flag | $0001 when on a Spiky Stake ($0000 means not) | |
$700104 | 2 bytes | Misc. | Current door exit type: $0000: Regular door / boss door $0100: Sewer pipe hole (like in 4-E) $FFFF: Bandit mini-game door |
|
$700106 | 1 byte | Misc. | Pipe entrance/exit transition type: $02 = Going right $04 = Going left $06 = Going down $08 = Going up |
|
$700107 | 1 byte | Misc. | Pipe entrance/exit transition type: $00 = Vertical, going in pipe $40 = Vertical, coming out of pipe $80 = Horizontal, going in pipe $C0 = Horizontal, coming out of pipe |
|
$700108 | 2 bytes | Misc. | Distance Yoshi has travelled so far in vertical/horizontal pipe entrance transition, in pixels & subpixels ($ppss), fade & exit begins at $1F00 for both (NOTE: for horizontal it's basically a constant $0080 increase) | |
$70010A | 2 bytes | Misc. | Yoshi's vertical pipe entrance animation state: $0001-$0006: going down a pipe $0001-$0009: going up a pipe |
|
$70010C | 2 bytes | Misc. | Yoshi's vertical pipe entrance acceleration: $0100 = 1 subpixel, low byte is subsubpixels | |
$70010E | 2 bytes | Misc. | Before entering pipe: Yoshi's horizontal distance from vertical pipe entrance During pipe entrance transition: Current horizontal position of pipe entrance |
|
$700110 | 2 bytes | Misc. | While walking on mud/snow: Mirror of $7000F8, used for generating mud/snow particles While sliding on mud: Distance slid, wraps around at $1FFF, used to generate mud splashes |
|
$700112 | 2 bytes | Misc. | Car transformation wheel extension height, increments by 2, maxes at $0030 | |
$700114 | 2 bytes | Misc. | Address of ROM graphics (bank $52) to DMA into VRAM at $4200-$43FF: -Yoshi's tongue -Yoshi egg during Super Star Mario -Yoshi during bubble transformation |
|
$700118 | 2 bytes | Sprite Tilemap | Pointer to "above" layer's OAM in OAM buffer | |
$70011A | 2 bytes | Sprite Tilemap | Sprite priority # for "above" layer (sprites that show above Yoshi) | |
$70011C | 2 bytes | Misc. | Center of Yoshi X position (Yoshi X + Yoshi width / 2) | |
$70011E | 2 bytes | Misc. | Center of Yoshi Y position (Yoshi Y position + Yoshi height / 2) | |
$700120 | 2 bytes | Misc. | Yoshi's hitbox half width | |
$700122 | 2 bytes | Misc. | Yoshi's hitbox half height | |
$700124 | 2 bytes | Player Tilemap | Yoshi's OAM palette, ----ccc- part of yxppccct (OAM low table byte 4) | |
$700126 | 2 bytes | Player Tilemap | Yoshi's OAM priority, --pp---- part of yxppccct (OAM low table byte 4) | |
$700128 | 32 bytes | Player Tilemap | Yoshi & star counter graphics DMA queue, first 6 entries are Yoshi, last 2 are star counter number graphics, 4 bytes per: Bytes 1-3: Long source address to DMA from; aa aa bb (a = address, b = bank) for top row DMA Byte 4: high byte of address + 2, for bottom row DMA |
|
$70014E | 2 bytes | Misc. | Transformation state: $0000: Not transforming |
|
$700150 | 2 bytes | Misc. | Mouth state: $00: doing nothing $01: tongue horizontally growing or spitting $02: tongue horizontally retracting $03: tongue vertically growing or spitting $04: tongue vertically retracting $07, $0B, $0F, $13, $17, $1B, $1F, $23: States of swallowing non-egg sprites (star, nipper seed, coin, etc.) $2F, $33, $37, $3B, $3F, $43, $47, $4B: States of swallowing egg-forming sprites |
|
$700152 | 2 bytes | Player Physics | Tongue X length in pixels | |
$700154 | 2 bytes | Player Physics | Tongue Y height in pixels | |
$700156 | 2 bytes | Player Physics | Yoshi's X tongue position, relative to camera | |
$700158 | 2 bytes | Player Physics | Yoshi's Y tongue position, relative to camera | |
$70015A | 2 bytes | Misc. | Yoshi's X tongue position | |
$70015C | 2 bytes | Misc. | Yoshi's Y tongue position | |
$70015E | 2 bytes | Misc. | Blocked Tongue States (e.g. tonguing walls) Values $00 to $0F |
|
$700160 | 2 bytes | Misc. | Inedible Tongue state (e.g. tonguing sprites like piranhas / chomp rocks) Starts at $0014 and decrements until $0002. Zeroes out when tongue retracts. |
|
$700162 | 2 bytes | Misc. | When Yoshi catches an enemy or item (e.g. melon, egg) with his tongue, this is set to the sprite slot value. The value stays so until Yoshi either eats or spits out the enemy or has used the item. This SRAM gets cleared immediatley if the enemy or item in question is inedible. | |
$700168 | 2 bytes | Misc. | Current sprite slot index (+1) being tongued/in mouth - sign bit turns on when unable to swallow | |
$70016A | 2 bytes | Misc. | Type of ammunition in mouth: $0001: Fire melon $0002: Bubble $0003: Green watermelon $0004: Ice melon |
|
$70016C | 2 bytes | Misc. | Timer for duration of spitting a projectile, starts at $0000 and increments up to: Watermelon seed: $0008 Fire melon: $002A Ice melon: $0038 Bubble: $0018 |
|
$70016E | 2 bytes | Misc. | Timer for intentional game freeze while tonguing a watermelon | |
$700170 | 2 bytes | Misc. | Ammunition count in mouth: Bubble decrements 10 each spit, watermelon decrements 1 each spit, ice and fire melons decrement 10 each spit |
|