Ms. Pac-Man (NES, Tengen)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Ms. Pac-Man (NES, Tengen).

RAM Map

Addr    Size    Description
----    ----    -----------
0000       1    Sprite slot #1
                * 00 - Nothing
                * 01 - Ms. Pac-Man/Pac-Man
                * 02 - Ghost (regular)
                * 03 - Ghost (blue)
                * 04 - Fruit
                * 05 - Ghost points
                * 06 - Fruit points
                * 07 - Ghost (eyes)
                * 08 - GAME OVER text
                * 09 - READY! text
                * 0A - Baby Pac-Man
                * 0B - Top half of Clapperboard
                * 0C - Cutscene Stork
                * 0D - Cutscene Baby Pac-Man
                * 0E - Cutscene Heart
                * 0F - Cutscene Ms. Pac-Man?
                * 10 - Cutscene Ghost?
0001       1    Sprite slot #2
0002       1    Sprite slot #3
0003       1    Sprite slot #4
0004       1    Sprite slot #5
0005       1    Sprite slot #6
0006       1    Sprite slot #7
0007       1    Sprite slot #8
0008       1    Sprite slot #9
0009       1    Sprite slot #10 (default: Sue in 2 player)
000A       1    Sprite slot #11 (default: Sue in 1 player and Pinky in 2 player)
000B       1    Sprite slot #12 (default: Pinky in 1 player and Inky in 2 player)
000C       1    Sprite slot #13 (default: Inky in 1 player and Blinky in 2 player)
000D       1    Sprite slot #14 (default: Blinky in 1 player, and the READY! text/GAME OVER text/fruit in 2 player)
000E       1    Sprite slot #15 (default: the READY! text/GAME OVER text/fruit in 1 player, and Ms. Pac-Man in 2 player)
000F       1    Sprite slot #16 (default: Ms. Pac-Man in 1 player, and Pac-Man in 2 player)
0010       1    Sprite animation frame #1
0011       1    Sprite animation frame #2
0012       1    Sprite animation frame #3
0013       1    Sprite animation frame #4
0014       1    Sprite animation frame #5
0015       1    Sprite animation frame #6
0016       1    Sprite animation frame #7
0017       1    Sprite animation frame #8
0018       1    Sprite animation frame #9
0019       1    Sprite animation frame #10 (Sue 2P)
001A       1    Sprite animation frame #11 (Sue 1P/Pinky 2P)
001B       1    Sprite animation frame #12 (Pinky 1P/Inky 2P)
001C       1    Sprite animation frame #13 (Inky 1P/Blinky 2P)
001D       1    Sprite animation frame #14 (Blinky 1P/Fruit 2P)
001E       1    Sprite animation frame #15 (Fruit 1P/Ms. Pac-Man 2P)
001F       1    Sprite animation frame #16 (Ms. Pac-Man 1P/Pac-Man 2P)
0029       1    Ghost timer until leaving box (Sue 2P)
002A       1    Ghost timer until leaving box (Sue 1P/Pinky 2P)
002B       1    Ghost timer until leaving box (Pinky 1P/Inky 2P)
002C       1    Ghost timer until leaving box (Inky 1P/Blinky 2P)
002D       1    Ghost timer until leaving box (Blinky 1P)
0039       1    Ghost palette (Sue 2P) (normally 01)
003A       1    Ghost palette (Sue 1P/Pinky 2P) (normally 01/03)
003B       1    Ghost palette (Pinky 1P/Inky 2P) (normally 03/02)
003C       1    Ghost palette (Inky 1P/Blinky 2P) (normally 02/00)
003D       1    Ghost palette (Blinky 1P) (normally 00)
0040       1    Sprite direction #1
                * 00 - Right
                * 01 - Up
                * 02 - Left
                * 03 - Down
0041       1    Sprite direction #2
0042       1    Sprite direction #3
0043       1    Sprite direction #4
0044       1    Sprite direction #5
0045       1    Sprite direction #6
0046       1    Sprite direction #7
0047       1    Sprite direction #8
0048       1    Sprite direction #9
0049       1    Sprite direction #10 (Sue 2P)
004A       1    Sprite direction #11 (Sue 1P/Pinky 2P)
004B       1    Sprite direction #12 (Pinky 1P/Inky 2P)
004C       1    Sprite direction #13 (Inky 1P/Blinky 2P)
004D       1    Sprite direction #14 (Blinky 1P/Fruit 2P)
004E       1    Sprite direction #15 (Fruit 1P/Ms. Pac-Man 2P)
004F       1    Sprite direction #16 (Ms. Pac-Man 1P/Pac-Man 2P)
0050       1    Sprite X position #1
0051       1    Sprite X position #2
0052       1    Sprite X position #3
0053       1    Sprite X position #4
0054       1    Sprite X position #5
0055       1    Sprite X position #6
0056       1    Sprite X position #7
0057       1    Sprite X position #8
0058       1    Sprite X position #9
0059       1    Sprite X position #10 (Sue 2P)
005A       1    Sprite X position #11 (Sue 1P/Pinky 2P)
005B       1    Sprite X position #12 (Pinky 1P/Inky 2P)
005C       1    Sprite X position #13 (Inky 1P/Blinky 2P)
005D       1    Sprite X position #14 (Blinky 1P/Fruit 2P)
005E       1    Sprite X position #15 (Fruit 1P/Ms. Pac-Man 2P)
005F       1    Sprite X position #16 (Ms. Pac-Man 1P/Pac-Man 2P)
0060       1    Sprite Y position #1
0061       1    Sprite Y position #2
0062       1    Sprite Y position #3
0063       1    Sprite Y position #4
0064       1    Sprite Y position #5
0065       1    Sprite Y position #6
0066       1    Sprite Y position #7
0067       1    Sprite Y position #8
0068       1    Sprite Y position #9
0069       1    Sprite Y position #10 (Sue 2P)
006A       1    Sprite Y position #11 (Sue 1P/Pinky 2P)
006B       1    Sprite Y position #12 (Pinky 1P/Inky 2P)
006C       1    Sprite Y position #13 (Inky 1P/Blinky 2P)
006D       1    Sprite Y position #14 (Blinky 1P/Fruit 2P)
006E       1    Sprite Y position #15 (Fruit 1P/Ms. Pac-Man 2P)
006F       1    Sprite Y position #16 (Ms. Pac-Man 1P/Pac-Man 2P)
00B9       1    Death flag
00C4       2    Blue ghost timer
00D0       3    Score digits (little-endian)
00D4       1    Lives
0100       3    High score digits (little-endian)
0108       1    Lives (P2 during Competitive/Cooperative mode)
0121       1    Level select/Level skip
                Increments for every button pressed in order of the combination while paused
                If a wrong button is pressed, it goes back to 00; will be 1E by the end
0123       1    Type option in options menu
                * 00 - 1 Player
                * 01 - 2 Player Alternating
                * 02 - 2 Player Competitive
                * 03 - 2 Player Cooperative
0124       1    Pac Booster option in options menu
                * 00 - Off
                * 01 - Use A or B
                * 02 - Always On
0125       1    Game Difficulty option in options menu
                * 00 - Normal
                * 01 - Easy
                * 02 - Hard
                * 03 - Crazy
0126       1    Maze Selection option in options menu
                * 00 - Arcade
                * 01 - Mini
                * 02 - Big
                * 03 - Strange
0127       1    Starting Level option in options menu
0383       1    Remaining dots in the level (level ends when 00)