Bubble Bobble (Sega Master System)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Bubble Bobble (Sega Master System).

Note that sizes are listed in decimal.

Offset  Size            Description
------- --------------- -----------
C000	1		Timer before Push Start Button appears/Bad end timer
C005	1		Timer between messages & letters in dialogue
C010	1		Pause flag in Menu (2E Unpaused, 2C Paused)
C12A	1		Hint pages left
C1AC	1		Game Over text blinks (level)
C1AF	1		Timer for Game Over to Name Set/Super Drunk merging/Bubblun to reach bottom/enemies appear
C467	8		Password
C467	1		Cheat button input flag
C469	15		Input cheat command RAM
C46B	1		Potion items left
C46C	1		Potion timer in milliseconds
C46D	1		Potion timer
C46E	1		Timer after C46D expires until score tally
C46F	1		Potion items collected by Bub
C470	1		Potion items collected by Bob
C482	1		Super Drunk Bottle 1 value?
C488	1		Potion item locations
C4C2	1		Super Drunk Bottle 2 value?
C502	1		Super Drunk Bottle 3 value?
C542	1		Super Drunk Bottle 4 value?
C582	1		Super Drunk Bottle 5 value?
C5C2	1		Super Drunk Bottle 6 value?
C602	1		Super Drunk Bottle 7 value?
C642	1		Super Drunk Bottle 8 value?
C682	1		Super Drunk Bottle 9 value?
C6C2	1		Super Drunk Bottle 10 value?
C702	1		Super Drunk Bottle 11 value?
C742	1		Super Drunk Bottle 12 value?
C867	2		Bub Y values
C869	2		Bob Y values
C873	2		Enemy 1 Y value
C875	2		Enemy 2 Y value
C877	2		Enemy 3 Y value
C879	2		Enemy 4 Y value
C87B	2		Enemy 5 Y value
C87D	2		Enemy 6 Y value
C87F	2		Enemy 7 Y value
C947?	1216		Level collision data?
CE77	1		Flag that changes item viewer menu/pause flag
CE7E	1		Timer on different screens/Levels
CE80	unknown		Bub main data (to ????)
CE81	1		Bub Y value
CE82	1		Bub X value
CE92	1		Bub sprite value
CE93	1		Bub jump delay
CE97	1		Joypad 1 input (01 up, 02 down, 04 left, 08 right, 50 button2, 60 button1)
CEA8	1		Height Bub can jump before falling
CEB0	1		Times Bub has died in current level
CEB5	1		Bub Extend value (E=01, X=02, T=04, E=08, N=10, D=20)
CEB7	1		Bub's lives
CEB8	4		Bub's score
CEC1	1		Lightning predicted time to hit wall after stunning bub/bob
CEEE	2		Bub sprite art value
CEF2	1		Bub flashing flag
CF00	unknown		Bob main data (to ????)
CF12	1		Bob sprite value
CF13	1		Bob jump delay
CF17	1		Joypad 2 input
CF30	1		Times Bob has died in current level
CF35	1		Bob Extend value (E=01, X=02, T=04, E=08, N=10, D=20)
CF37	1		Bob's lives
CF38	4		Bob's score (to CF3B)
CF52	5		HELP ME! data (to CF56) | CF53 How long Super enemies stay on screen before disappearing again (HELP ME!),
			CF54 Both bubble pass over timer (HELP ME!), CF55, Bubble pass over timer (HELP ME!),
			CF56 Super enemy Y value (HELP ME!)
CF6E	2		Bob sprite art value (to CF6F)
CF72	1		Bob flashing flag
CF81	1		Y value of icon in main menu
CF82	1		X value of icon in main menu
CF92	1		Main Menu text selection
CF97	1		Button pressed to navigate main menu (01 - up, 02 - down)
CF98	1		Hold button timer for CF97
CF99	1		Button cooldown for menu
D080	1		Enemies data (to ????)
D081	1		Enemy 1 Y value
D082	1		Enemy 1 X value
D0C1	1		Enemy 2 Y value
D0C2	1		Enemy 2 X value
D101	1		Enemy 3 Y value
D102	1		Enemy 3 X value
D141	1		Enemy 4 Y value
D142	1		Enemy 4 X value
D181	1		Enemy 5 Y value
D182	1		Enemy 5 X value
D1C1	1		Enemy 6 Y value
D1C2	1		Enemy 6 X value
D201	1		Enemy 7 Y value
D202	1		Enemy 7 X value
D5C1	1		Password balloon Y value
D5C2	1		Password balloon X value
D5D3	1		Speed of balloon holding down D-Pad
D5DD	1		Password balloon X position value
D5DE	1		Password balloon Y position value
D5DF	1		Password balloon password X position value
D5E0	1		Select letter flag
D5E3	1		Letters RAM value remembers entered
D5E4	1		Password back flag (00 - start again, 01 where D5E3 ended)
D601	1		Password balloon password Y position
D602	1		Password balloon password X position
D700	1		Level 70/175 Bubble enemy flag
DAC0	1		Hint/Item viewer page number
DAC2	2		Level 40 timer standing still (to DAC3)
DAC6	unknown		Super Mighta/Hidegon battle RAM (to ????)
DAC7	1		Timer after being hit before moving again/bubbled
DAC8	1		Timer before Super Mighta/Drunk Magic Attack
DAC9	1		Super Mighta/Hidegon/Drunk's health
DB00	1		Level select value/Level
DB01	1		??? (+1 level clear, +1 extra life, -? lose a life)
DB05	1		Pause flag (03 off, 07 on)
DB0C	1		Bracelet trigger byte?
DB10	1		Bubbles on screen (no more than 0F)
DB37	1		Total bubbles burst
DB38	1		Water bubbles burst
DB39	1		Fire Bubbles burst
DB3A	1		Free
DB3C	1		Enemies killed by fire bubbles
DB3D	1		Total bubbles blown
DB3E	1		Total jumps
DB3F	1		Total fell through holes
DB40	2		Bub total distance covered (to DB41)
DB46	1		Death flag (00 no, 01 yes)
DB4D	1		Enemies killed by water bubbles
DB4E	1		Enemies killed by lightning bubbles
DB4F	1		Extend bubbles remaining
DB51	1		Extend life given trigger
DB53	1		BvB trigger/Chakun Heart trigger
DB59	1		Remaining enemies
DB8E	1		Normal item trigger flag (02 appear, 03 disappear, 06 obtained, 07 disappear obtained, FF potion disappear)
DB90	1		Fire bubble flag (00 no, 48 yes)
DB91	1		Lightning bubble flag (00 no, 48 yes)
DB92	1		Water bubble flag (00 no, 48 yes)
DB93	1		Special bubble flag (00 no, 01 yes)
DBA4	2		Timer before Hurry Up! (to DBA5)
DBA8	2		Timer before BvB appears (to DBA9)
DBAA	1		Items from defeated enemies
DBAC	2		Timer after killing enemies before moving on to the next level (to DBAD)
DBB5	1		Spawned Normal Items obtained
DBB7	2		Timer before Normal item despawn (to DBB8)
DBBB	1		Special item spawned
DBBC	1		Special item trigger flag (02 appear, 03 disappear)
DBBF	1		Timer before special item despawn (to DBC0)
DBEA	1		Sprites flag? (00 moves, 02 freezes sprite art in place)
DBC1	1		Special items obtained
DBC2	1		Secret door appear flag
DBC4	1		Level 125/135/141 door trigger flag
DBC6	1		Item to spawn after Super Mighta/Hidegon is defeated
DBC7	1		Hurry Ups appeared
DBC8	1		Levels cleared (activates book of blizzards)
DBCA	2		Clock timer (to DBCB)
DBCD	1		Lightning cross lightning trigger
DBD6	1		Special bubble flag
DBD9	1		Level 115 door flag
DBDB	1		Hurry Up Y location
DBDC	1		BvB trigger
DBE2	1		Staff/Chest flag to drop big item
DBE4	1		Big item Y position
DBE6	1		Normal Item points value
DBE7	1		Special Item points value
DBEB	2		Bell flashing timer
DBED	1		Bell activation flag
DBEE	1		Rounds left for Crystal Ball
DBF5	51		Endings dialogue
DC3B	1		Rounds left for Peacock Feather
DC52	1		Demo level flag
DC53	1		Demo timer
DC6A	1		Super Mighta/Hidegon flag (00 SH Battle, 01 SM Battle, 80 SH appears, 81 SM appears)
DC6B	2		Music/Sound flag (to DC6C)
DC7C	1		Level you Game Over on
DC82	1		Remaining items in secret room/Cola trigger flag/Password trigger flag?
DC83	1		Orbs picked up?
DC84	1		Secret Room door when everything is obtained
DC85	1		Secret Room timer in milliseconds
DC86	1		Secret Room timer
DC8B	1		Max level you can return to
DC8C	1		Menu pause flag
DC93	1		How many times players have died
DC94	1		Pink Candies obtained
DC95	1		Blue Candies obtained
DC96	1		Yellow Candies obtained
DC97	1		Shoes obtained
DC98	1		Continues used
DC99	1		Umbrellas obtained
DC9A	1		??? (related to Yellow Lamp)
DC9B	1		Lamps obtained
DC9C	1		Chakun Hearts obtained
DC9D	1		Water Crosses obtained
DC9E	1		Lightning Crosses obtained
DC9F	1		Fire Crosses obtained
DCA0	1		Books of Earthquakes obtained
DCA1	1		Crowns obtained
DCA2	1		Free
DCA3	1		Lightning Bubbles popped
DCA4	1		How many levels Magic Hat is active
DCA5	1		BvB times appeared
DCA6	1		Free
DCA7	1		Secret Rooms entered
DCA8	1		Times hit/killed by projectiles
DCA9	1		Enemies defeated
DCAA	1		No. of Extends
DCAC	1		Red E's obtained
DCAD	1		X's obtained
DCAE	1		T's obtained
DCAF	1		Green E's obtained
DCB0	1		N's obtained
DCB1	1		D's obtained
DCB2	3		Secret room mechanism pointer
DCB5	1		Bonnie Bo's killed by lightning
DCB8	1		Enemies killed by fire bubbles in 1 level
DCB9	2		Normal items obtained
DCBB	1		no. of enemies burst out of bubbles
DCBD	1		Lives Lost in level (resets after level cleared)
DCBE	1		Extra Lives gained in level (resets after level cleared)
DCC0	1		How many levels Magic Stick is active
DCC1	1		Levels cleared (Activates Magic Stick)
DCC2	1		Game Over 100's 10's point value
DCC4	1		Password trigger flag?
DCC7	1		Secret Room entered byte
DCC8	1		Umbrella trigger byte
DCD1	1		Music flag
DDCB	2		Channel 1 Music (to DDCC)
DDCD	2		Channel 2 Music (to DDCE)
DDCF	2		Channel 3 Music (to DDD0)