Difference between revisions of "Kirby's Dream Land:RAM map"

From Data Crystal
Jump to: navigation, search
(made the page not as bloated. also added a few addresses)
(Added some pretty big new data I found and fixed the table formatting)
Line 2: Line 2:
 
{{stub}}
 
{{stub}}
  
Address   Function
+
{| class="wikitable"
+
! Address
  0xC000   The graphical Y position of the left half of Kirby's sprite
+
! width=40% | Function
  0xC001    The graphical X position of the left half of Kirby's sprite
+
|-
0xC002    The ID of the tile that should be displayed as the left half of Kirby
+
|<pre>
0xC003    Something to do with variants or effects for the sprite being displayed as Kirby's left half
+
  0xC000 - 0xC09C
0xC004    The graphical Y position of the right half of Kirby's sprite
+
</pre>
  0xC005    The graphical X position of the right half of Kirby's sprite
+
|On-Screen Sprite Info, 4 bytes each(y position, x position, tile #, and other attributes)
0xC006    Something to do with Kirby's animation
+
|-
0xD053    Visual Scroll X. This does not affect collision detection or where sprites are drawn on the screen
+
|<pre>
0xD055   Visual Scroll Y. This does not affect collision detection or where sprites are drawn on the screen
+
  0xCA00 - 0xCAA3 
0xD05C   Kirby's Actual X position relative the screen. Setting the value past $4C may cause issues with the game's collision detection.
+
</pre>
0xD05D   Kirby's Actual Y position relative to the screen
+
|Tile Data for the current level
0xD066   Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling.
+
|-
0xD070   Score (10000s place)
+
|<pre>
0xD071   Score (1000s place)
+
  0xD053
0xD072   Score (100s place)
+
</pre>
0xD073   Score (10s place)
+
|Visual Scroll X. This does not affect collision detection or where sprites are drawn on the screen
0xD080   Background Brightness/Contrast
+
|-
0xD081   Sprite Brightness/Contrast
+
|<pre>
0xD086   Kirby's Health Bar
+
0xD055
0xD089   Lives
+
</pre>
0xD093   Boss's Health Bar
+
|Visual Scroll Y. This does not affect collision detection or where sprites are drawn on the screen
0xDE02   Something to do with parts of the music
+
|-
 +
|<pre>
 +
0xD05C
 +
</pre>
 +
|Kirby's Actual X position relative the screen. Setting the value past $4C may cause issues with the game's collision detection.
 +
|-
 +
|<pre>
 +
0xD05D
 +
</pre>
 +
|Kirby's Actual Y position relative to the screen
 +
|-
 +
|<pre>
 +
0xD066
 +
</pre>
 +
|Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling.
 +
|-
 +
|<pre>
 +
0xD070
 +
</pre>
 +
|Score (10000s place)
 +
|-
 +
|<pre>
 +
0xD071
 +
</pre>
 +
|Score (1000s place)
 +
|-
 +
|<pre>
 +
0xD072
 +
</pre>
 +
|Score (100s place)
 +
|-
 +
|<pre>
 +
0xD073
 +
</pre>
 +
|Score (10s place)
 +
|-
 +
|<pre>
 +
0xD080
 +
</pre>
 +
|Background Brightness/Contrast
 +
|-
 +
|<pre>
 +
0xD081
 +
</pre>
 +
|Sprite Brightness/Contrast
 +
|-
 +
|<pre>
 +
0xD086
 +
</pre>
 +
|Kirby's Health Bar
 +
|-
 +
|<pre>
 +
0xD089
 +
</pre>
 +
|Lives
 +
|-
 +
|<pre>
 +
0xD093
 +
</pre>
 +
|Boss's Health Bar
 +
|-
 +
|<pre>
 +
0xDE02
 +
</pre>
 +
|Something to do with parts of the music
 +
|-
  
 
{{Internal Data|game=Kirby's Dream Land}}
 
{{Internal Data|game=Kirby's Dream Land}}

Revision as of 14:43, 3 February 2021


Address Function
 0xC000 - 0xC09C
On-Screen Sprite Info, 4 bytes each(y position, x position, tile #, and other attributes)
 0xCA00 - 0xCAA3  
Tile Data for the current level
 0xD053
Visual Scroll X. This does not affect collision detection or where sprites are drawn on the screen
0xD055
Visual Scroll Y. This does not affect collision detection or where sprites are drawn on the screen
 
0xD05C
Kirby's Actual X position relative the screen. Setting the value past $4C may cause issues with the game's collision detection.
0xD05D
Kirby's Actual Y position relative to the screen
0xD066
Kirby's Inhale Timer. Set at $00 and incrementing at every frame when inhaling. Freezes when stopping inhaling.
0xD070
Score (10000s place)
0xD071
Score (1000s place)
0xD072
Score (100s place)
0xD073
Score (10s place)
0xD080
Background Brightness/Contrast
0xD081
Sprite Brightness/Contrast
0xD086
Kirby's Health Bar
0xD089
Lives
0xD093
Boss's Health Bar
0xDE02
Something to do with parts of the music
Internal Data for Kirby's Dream Land

ROM MapRAM MapText TableNotesTutorials