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.

Mega Man IV/RAM map/Sprite Flags: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
m (Xkeeper moved page Mega Man IV:RAM map:Sprite Flags to Mega Man IV/RAM map/Sprite Flags: normalize subpages and titles)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpage|game=Mega Man 4:RAM map}}
'''LSB to MSB'''
'''LSB to MSB'''
{| border="1" cellpadding="3"
{| border="1" cellpadding="3"
Line 5: Line 7:
| 0-1 || Object Wall Bits || See note
| 0-1 || Object Wall Bits || See note
|-
|-
| 2 || 1=Invisible 0=Visible ||
| 2 || 1= Invisible 0= Visible ||
|-
|-
| 3 || If set, objects are not erased when moving out of screen. || See note
| 3 || If set, objects are not erased when moving out of screen. || See note
|-
|-
| 4 || Apply X Scrolling when drawing sprites? || [ 1= Yes ] Probably always set???
| 4 || Apply X Scrolling when drawing sprites? || [ 1= Yes, 0= No ] Probably always set???
|-
|-
| 5 || Sprite BG Priority || [ 0= No Sprite BG Priority, 1= Sprite BG Priority ]
| 5 || Sprite BG Priority || [ 1= Sprite BG Priority, 0= No Sprite BG Priority ]
|-
|-
| 6 || Direction || [ 0= Face Left, 1= Face Right]
| 6 || Direction || [ 1= Face Right, 0= Face Left ]
|-
|-
| 7 || Object is weapon: hit enemy? || [ 0= Doesn't hit enemies, 1= Hit enemies ]
| 7 || Object is weapon: hit enemy? || [ 1= Hit enemies, 0= Doesn't hit enemies ]
|-
|-
| || Object is enemy: is on visible screen? || [ 0= Enemy not on visible screen, 1= Enemy on visible screen ]
| || Object is enemy: is on visible screen? || [ 1= Enemy on visible screen, 0= Enemy not on visible screen ]
|-
|-
|}
|}

Latest revision as of 02:42, 24 January 2024

This is a sub-page of Mega Man IV/RAM map.

LSB to MSB

Bit Function Details
0-1 Object Wall Bits See note
2 1= Invisible 0= Visible
3 If set, objects are not erased when moving out of screen. See note
4 Apply X Scrolling when drawing sprites? [ 1= Yes, 0= No ] Probably always set???
5 Sprite BG Priority [ 1= Sprite BG Priority, 0= No Sprite BG Priority ]
6 Direction [ 1= Face Right, 0= Face Left ]
7 Object is weapon: hit enemy? [ 1= Hit enemies, 0= Doesn't hit enemies ]
Object is enemy: is on visible screen? [ 1= Enemy on visible screen, 0= Enemy not on visible screen ]


Note:
0-1: If value is 1, 2, 3, the Object have solids parts. If Mega Man hits a non solid parts, he ends up on top. Here are the solid parts.???

1: Top
2: All
3: Top, Left, Right (if hit object by under, Mega Man is replaced at a certain position from the block (the right, left or top)

3:

(Both Horizontally and Vertically (??? I think if 01 or more in $0390, they are erased, but not $ff and higher)
If object can hurt Mega Man, they can touch him, if they are in another screen.