Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
This article has a talk page!

Castlevania (NES)/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
|0x00F7 || Player 1 Controller || Similar to [https://datacrystal.romhacking.net/wiki/Metroid:RAM_map#Zero_Page_.28.240000.29 Metroid's 0x0014].
|0x00F7 || Player 1 Controller || Similar to [https://datacrystal.romhacking.net/wiki/Metroid:RAM_map#Zero_Page_.28.240000.29 Metroid's 0x0014].
|-
|-
|0x0159 || Simon's current image || $00=standing, $01-03 = walk, $04 = jump/crouch, $05-07 = whip, $12 = hurt
|0x0159 || Simon's current image || $00=standing,
||$01-03 = walk,$04 = jump/crouch,
$05-07 = whip,
$12 = hurt
|-
|-
|0x0160 || Simon's screen position (in room) ||
|0x0160 || Simon's screen position (in room) ||

Revision as of 17:09, 3 September 2017

Chip tiny.png The following article is a RAM map for Castlevania (NES).

So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?


RAM Function Details
0x001A Timer Increments by 1 each frame. Resets each time you "change stage?"
0x001E Title Screen timer(time until attract mode) Counts down from FF to 00.
0x0022 Paused $01 = yes
0x0028 Current Stage
0x002A Number of Lives
0x002E Camera's X position
0x003E Is Simon on stairs $00 = yes, $01 = no
0x003F Simon's Y position (in level)
0x0040 Simon's X position (in level)
0x0042 1's and 10's place of Time in BCD
0x0043 100's and 1000's place of Time in BCD
0x0044 Life Meter (Graphic) 2 bars = +$08, Max = $40(64)
0x0045 Life Meter (Actual) 2 bars = +$08, Max = $40(64)
0x0070 Whip length Set to $00, $01, or $02.
0x0071 Number of Hearts $00 to $63 (99 in decimal).
0x00F7 Player 1 Controller Similar to Metroid's 0x0014.
0x0159 Simon's current image $00=standing, $01-03 = walk,$04 = jump/crouch,

$05-07 = whip, $12 = hurt

0x0160 Simon's screen position (in room)
0x0162 Simon's screen position (in room) not 0x0160.
0x038C Simon's X position (in screen)
0x0450 Direction Simon looks $00 = right, $01 = left