Chip 'n Dale Rescue Rangers/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{| border="2" cellpadding="5" style="border-collapse: collapse;text-align: left;"
{| border="2" cellpadding="5" style="border-collapse: collapse;text-align: left;"
|'''Address'''  ||'''Entry size''' || '''# of entries''' || '''Description''' || '''Notes'''
|'''Address'''  ||'''Entry size''' || '''# of entries''' || '''Description''' || '''Notes'''
|-
|$10||1 byte||1||||
|-
|-
|$4D||1 byte||1||Current object slot||
|$4D||1 byte||1||Current object slot||
Line 20: Line 22:
|-
|-
|$5E||1 byte||2||Chip/Dale invincibility timer||
|$5E||1 byte||2||Chip/Dale invincibility timer||
|-
|$95||1 byte||1||||
|-
|$E4||1 byte||4||Fibonacci LFSR||Used for (& altered by) random events
|-
|-
|}
|}
Line 57: Line 63:
|$0570||1 byte||16||Other flags||
|$0570||1 byte||16||Other flags||
*<b>40</b>: Able to be damaged
*<b>40</b>: Able to be damaged
|-
|$0580||1 byte||16||||
|}
|}

Revision as of 15:05, 31 May 2019

Chip tiny.png The following article is a RAM map for Chip 'n Dale Rescue Rangers.

Zero Page

Address Entry size # of entries Description Notes
$10 1 byte 1
$4D 1 byte 1 Current object slot
$54 1 byte 2 Chip/Dale action
  • 00: Normal (still/walking/under box)
  • 01: Jumping/falling
  • 02:
  • 03: Picking up object
  • 04: Throwing object
  • 05: Ducking under box
  • 06:
  • 07:
  • 08:
  • 09: Taking damage
  • 0A: Dead
$5E 1 byte 2 Chip/Dale invincibility timer
$95 1 byte 1
$E4 1 byte 4 Fibonacci LFSR Used for (& altered by) random events

Object Data

Address Entry size # of entries Description Notes
$0400 1 byte 16
$0410 1 byte 16 Animation frame #
$0420 1 byte 16 Animation ID List of IDs
$0430 1 byte 16 Animation counter
$0440 1 byte 16
$0450 1 byte 16
$04D0 1 byte 16 Status flags
  • 80: Exists
  • 40: Causes damage
$04E0 1 byte 16 Action ID
$04F0 1 byte 16
$0500 1 byte 16
$0510 1 byte 16
$0520 1 byte 16
$0530 1 byte 16
$0570 1 byte 16 Other flags
  • 40: Able to be damaged
$0580 1 byte 16