Wrecking Crew/RAM map

From Data Crystal
< Wrecking Crew
Revision as of 14:34, 24 January 2024 by Hawk (talk | contribs) (→‎top)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Wrecking Crew.

Object Data

Mario:
300 - State (2: climbing) 
308 - Direction? (bits 1: right, 2: left, 4: down, 8: up)
309 - Mario X Coordinate
30B - ? (related to hammer swing)
30E - possibility of going up / down 
- 00: none
- 01: can go down
- 02: can go up
- 03: can go up/down
30F - Row (high bits), Column (low bits)
315 - Mario Y Coordinate

Spike:
320 - Spike State
329 - Spike X Coordinate
32F - Spike Row/Column
335 - Spike Y Coordinate

Enemy Data: 0x18 bytes each. (340, 358, 370, 388, 3A0, 3B8, 3D0 (reserved for fireball?))
340 - Enemy #1 State
349 - Enemy #1 X Coordinate
34F - Enemy #1 Row/Column
355 - Enemy #1 Y Coordinate
3DD - Countdown for fireball

500 to 57F -> Current Map layout
-0: only floor
-1: ladder
-2: left column
-3: right column
-9: empty
-10: empty (previously collapsible ladder)
-16: only floor (previously 2-hit wall)
-48: only floor (previously bomb)
-80: only floor (previously bottom of collapsible ladder)
-146: 2-hit wall
-177: bomb
-161: 3-hit wall with 1 hit left
-162: 3-hit wall with 2 hits left
-163: 3-hit wall
-193: 1-hit wall
209: collapsible ladder
225: door

881 - Score