Mario Pinball Land/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Mario Pinball Land.

General

IRAM Description Notes
0x0 Lives Decreases when leaving Ball Bonus screen
0x4 Score, 1s Max=FF (255)
0x5 Score, 1=256 Max=FF (65,280)
0x6 Score, 1=65,536 Max=FF (16,711,680)
0x7 Score, 1=16,777,216 Max=FF, Displayed max=5 (83,886,080)

Score only displays up to tens of millions, but tracks higher

0x8 Yellow Coins
0xC Blue Coins
0x10 Red Coins
0x14 Total Stars This is the value door requirements are checking
0x18 Yellow Coins obtained in current ball life
0x1A Red Coins obtained in current ball life
0x1C Blue Coins obtained in current ball life
0x1E Stars obtained in current ball life
0x22 Total Key Count This is the value being checked to unlock Time Attack Mode through gameplay

Time Attack is unlocked when this value legitimately hits 2 (can be edited to 1 from 0 to skip a key)

0x22 Held Item 13=None

0=Mega Mushroom(1)

1=Yoshi Egg(1)

2=Blue Pipe(1)

3=Invincibility Star(1)

4=Mini Mushroom(1)

5=Lightning(1)

6=Mega Mushroom(2)

7=Yoshi Egg(2)

8=Blue Pipe(2)

9=Invincibility Star(2)

A=Mini Mushroom(2)

B=Lightning(2)

C=Red Yoshi Egg

Using a double(2) item will give you the single(1) item and address value

0x30 Table/Area/Room ID Value is unique to every single table or room in the game

Includes all Toad shop variations

0x154 Game Clock Frames (Max=FF)

Used in Time Attack but also works in the background of Adventure

In Adventure, your time is also saved for next time you load your file and

works properly from start to finish.

Also used in Demo mode(cuts at 16bit hex 384)

0x155 Game Clock 1=4.25s (256 frames)
0x156 Game Clock 1=18m12.25s (65,536 Frames)
0x157 Game Clock 1=77.67hours (16,777,216 Frames) (FF=825.27 days)
0x158 Adventure World ID 0=Grassy Greens

1=Frosty Frontier

2=Fiery

3=The Fun Fair

4=Shifting Sands

0x16C Game Mode 0=Adventure

1=Time Attack

Editable while playing, immediate transition

0x178 Time Attack World ID 0=Grassy Greens

1=Frosty Frontier

2=Fiery

3=The Fun Fair

4=Shifting Sands

0x17C Demo Mode Flag 1=Demo, else 0, DB=title/logos(on game launch only)

Editing in demo will let you play as if it were normal Adventure mode

0x188 Red Coins Countdown Timer 32 bits usable, game only uses 16 bits
0x1EB Blue Pipe Countdown Timer Disappears at 0, starts at 75(hex)(117 decimal) (roughly -4 per second)

Estimated 30 seconds total

0xAB8 Dropped Coin 1 type 0=Yellow, 1=Blue, 2=Red
0xADF Dropped Coin 1 disappear countdown timer Starts around 75 in hex and counts down

Works just like the Blue Pipe timer

Doesn't work if manually set too high

0xAFC Dropped Coin 2 type When an earlier coin expires,

these values will move up to the previous coin address.

0xB13 Dropped Coin 2 disappear countdown timer ^
0xB20 Dropped Coin 3 type ^
0xB47 Dropped Coin 3 disappear countdown timer ^
0xB54 Dropped Coin 4 type ^
0xB7B Dropped Coin 4 disappear countdown timer ^
0xB88 Dropped Coin 5 type ^
0xBAF Dropped Coin 5 disappear countdown timer ^
0xBBC Dropped Coin 6 type ^
0xBE3 Dropped Coin 6 disappear countdown timer ^
0xBF0 Dropped Coin 7 type ^
0xC17 Dropped Coin 7 disappear countdown timer ^
0xC24 Dropped Coin 8 type ^
0xC4B Dropped Coin 8 disappear countdown timer A maximum of 8 coins can be dropped at once
0x25E2 1up Disappear Countdown Timer 16bit, 1up from the mole

Frosty Frontier at least...

0x3298 Music ID
0x5A0C Toad Minigame Clock Countdown Timer 16-bit
0x6348 Time Attack Mode Unlocked Flag 1=True, else 0
0x6354 Time Attack World Unlock bit3=Frosty Frontier Unlocked
0x6360 Time Attack World Unlock bit3=Fiery Unlocked
0x636C Time Attack World Unlock bit3=The Fun Fair Unlocked
0x6378 Time Attack World Unlock bit3=Shifting Sands Unlocked
0x637C Time Attack World Unlock bit3=Grassy Greens Unlocked

Default when Time Attack mode is unlocked

0x6522 Mario Ball Size 13=Normal

1C=Mega

C=Mini

0x6526 Current Item Effect Countdown Timer 16-bit

Doesn't include Star or Normal Yoshi Egg

Includes Red Yoshi Egg, Mega/Mini Mushrooms

0x652A Star Invincibility Effect Countdown Timer 16-bit

Includes Red Yoshi Egg

0x6530 Transitions of Current Room D=None

3=World Select

A=Down(can be death)

B=Start Credits(in Adventure), Time Attack Win

0=UpLeft

1=Up

2=UpRight

There's more but it's room-specific

0x3298 Flag used in Key Taking cutscenes 1=Stops ball from transitioning to another area, else 0


Grassy Greens

IRAM Description Notes
0x50 Event Flags bit2=Star Get, 3 Goombas(Room 1)
0x54 Event Flags bit2=Star Get, 3 Bumblers
0x5C Event Flags bit0=Bonus Tower(egg) complete

bit1=Mole 1up taken

bit2=Star Get, 3 Koopas

0x60 Event Flags bit2=Star Get, Bumbler Hive(Left)

Once this is true, the 2 other Hive addresses become true

This is the address giving +1 star count to Grassy Greens

0x64 Event Flags bit2=Star Get, Bumbler Hive(Right)

Once this is true, the 2 other Hive addresses become true

This address does not give star count to Grassy Greens

0x68 Event Flags bit2=Star Get, Bumbler Hive(Windmill)

Once this is true, the 2 other Hive addresses become true

This address does not give star count to Grassy Greens

0x6C Event Flags bit2=Star Get, 4 Koopas (Red Shroom Room)
0xD8 Key Event Flags bit0=Petey Piranha Key Dropped

bit1=Petey Piranha Key Taken

bit2=Petey Piranha Key in keyhole at Fiery

0x128 Event Flags bit2=Star Get, 8 Red Coins
0x2EB4 Petey Piranha Boss Health Counts up, (full)0,1,2,3(dead)

Used in all instances where you fight Petey Piranha


The Fun Fair

IRAM Description Notes
0x38 Event Flags bit2=Star Get, 4 Boos
0x40 Event Flags bit2=Star Get, Bob-Oms Toad Minigame
0x44 Event Flags bit2=Star Get, Bullets Toad Minigame
0x48 Event Flags bit2=Star Get, Chomps Toad Minigame
0xE4 Key Event Flags bit0=Big Boo Key Dropped

bit1=Big Boo Key Taken

bit2=Big Boo Key in keyhole at Fiery

0x134 Event Flags bit0=Star Get, 8 Red Coins
0x594 Big Boo Boss Health Counts up, (full)0,1,2,3(dead)

Used in all instances where you fight Big Boo


Frosty Frontier

IRAM Description Notes
0x70 Event Flags bit2=Star Get, 2 Shy Guy Skaters(Room 1)
0x74 Event Flags bit2=Star Get, 4 Snowmen
0x7C Event Flags bit0=Hole In Ice(Room 2)

bit1=Mole 1up taken

bit2=Star Get, 4 Penguins(Room 2)

0x80 Event Flags bit2=Star Get, 3 Cheep Cheeps(fish)

bit7=Ship Tipped(3 chests)

0x84 Event Flags bit0=Bonus Tower(egg) complete

bit2=Star Get, 4 Shy Guy Skaters Color Match

0x88 Event Flags bit2=Star Get, Small Igloo Mole
0xDC Key Event Flags bit0=Cheep Cheep Pufferfish Key Dropped

bit1=Cheep Cheep Pufferfish Key Taken

bit2=Cheep Cheep Pufferfish Key in keyhole at Fiery

0x12C Event Flags bit0=Star Get, 8 Red Coins
0x89C Cheep Cheep Pufferfish Boss Health Counts up, (full)0,1,2,3(dead)

Used in all instances where you fight the Cheep Cheep Pufferfish


Shifting Sands

IRAM Description Notes
0x8C Event Flags bit2=Star Get, 2 Short Pokeys(cacti)
0x90 Event Flags bit2=Star Get, 4 Klepto Birds

bit7=Sphinx Opened Pyramid

0x94 Event Flags bit1=Mole 1up taken

bit2=Star Get, 2 Tall Pokeys(cacti)

0x98 Event Flags bit0=Bonus Tower(egg) complete

bit2=Star Get, Lakitu Spinies

0x9C Event Flags bit2=Star Get, Cobrat(snakes) going for drain
0xA0 Event Flags bit2=Star Get, 3 Shy Guys (5-pillar room)
0xA4 Event Flags bit2=Star Get, 4 Shy Guys (1-pillar room)
0xAC Event Flags bit2=Star Get, Cobrat(snakes) inside drain
0xE8 Key Event Flags bit0=King Tut Key Dropped

bit1=King Tut Key Taken

bit2=King Tut Key in keyhole at Fiery

0x138 Event Flags bit0=Star Get, 8 Red Coins
0x89C King Tut Boss Health Counts up, (full)0,1,2,3(dead)

Used in all instances where you fight King Tut


Fiery (Final Stage)

IRAM Description Notes
0xB0 Event Flags bit0=Keys Opened Gate

bit2=Star Get, 3 Fly Guys(Room 1)

0xB8 Event Flags bit2=Star Get, 5 Fly Guys(Room 2)
0xBC Event Flags bit1=Mole 1up taken

bit2=Star Get, 2 Armored Koopas

0xC0 Event Flags bit2=Star Get, 3 Armored Koopas
0xC4 Event Flags bit0=Petey Piranha(Fiery) Dead

bit2=Star Get, Petey Piranha(Fiery)

0xC8 Event Flags bit0=Big Boo(Fiery) Dead

bit2=Star Get, Big Boo(Fiery)

0xCC Event Flags bit0=King Tut(Fiery) Dead

bit2=Star Get, King Tut(Fiery)

0xD0 Event Flags bit0=Bonus Tower(egg) complete
0xD4 Event Flags bit0=Cheep Cheep Pufferfish(Fiery) Dead

bit2=Star Get, Cheep Cheep Pufferfish(Fiery)

0xE0 Key Event Flags bit0=Bowser Defeated (locks door to his room)

bit1=[NOT USED] Fifth Key (doesn't exist)

bit2=[NOT USED] Fifth Key in keyhole at Fiery (doesn't exist)

0x130 Event Flags bit0=Star Get, 8 Red Coins
0x644 Bowser Boss Health Counts up, (full)0,1,2,3(Bowser balled up)

Used in all instances where you fight Bowser


Adventure Leaderboard

IRAM Description Notes
0x62F0 Rank 1 Score 32-bit
0x62F4 Rank 1 Star Count
0x62F8 Rank 1 Initial Character 1
0x62F9 Rank 1 Initial Character 2
0x62FA Rank 1 Initial Character 3
0x62FC Rank 1 Star Spin Status
0x6300 Rank 2 Score 32-bit
0x6304 Rank 2 Star Count
0x6308 Rank 2 Initial Character 1
0x6309 Rank 2 Initial Character 2
0x630A Rank 2 Initial Character 3
0x630C Rank 2 Star Spin Status
0x6310 Rank 3 Score 32-bit
0x6314 Rank 3 Star Count
0x6318 Rank 3 Initial Character 1
0x6319 Rank 3 Initial Character 2
0x631A Rank 3 Initial Character 3
0x631C Rank 3 Star Spin Status
0x6320 Rank 4 Score 32-bit
0x6324 Rank 4 Star Count
0x6328 Rank 4 Initial Character 1
0x6329 Rank 4 Initial Character 2
0x632A Rank 4 Initial Character 3
0x632C Rank 4 Star Spin Status
0x6330 Rank 5 Score 32-bit
0x6334 Rank 5 Star Count
0x6338 Rank 5 Initial Character 1
0x6339 Rank 5 Initial Character 2
0x633A Rank 5 Initial Character 3
0x633C Rank 5 Star Spin Status


Time Attack Leaderboard

IRAM Description Notes
0x6340 Grassy Greens Best Time 32-bit, Works like Game Clock
0x6344 Grassy Greens Initials Character 1
0x6345 Grassy Greens Initials Character 2
0x6346 Grassy Greens Initials Character 3
0x634C Frosty Frontier Best Time 32-bit, Works like Game Clock
0x6350 Frosty Frontier Initials Character 1
0x6351 Frosty Frontier Initials Character 2
0x6352 Frosty Frontier Initials Character 3
0x6358 Fiery Best Time 32-bit, Works like Game Clock
0x635C Fiery Initials Character 1
0x635D Fiery Initials Character 2
0x635E Fiery Initials Character 3
0x6364 The Fun Fair Best Time 32-bit, Works like Game Clock
0x6368 The Fun Fair Initials Character 1
0x6369 The Fun Fair Initials Character 2
0x636A The Fun Fair Initials Character 3
0x6370 Shifting Sands Best Time 32-bit, Works like Game Clock
0x6374 Shifting Sands Initials Character 1
0x6375 Shifting Sands Initials Character 2
0x6376 Shifting Sands Initials Character 3