The current URL is datacrystal.tcrf.net.
Crystal Beans from Dungeon Explorer/Map Structs
This is a sub-page of Crystal Beans from Dungeon Explorer.
Map | |
Game | Crystal Beans From Dungeon Explorer |
Start Address | 0x02EEBB |
End Address | 0x030E78 |
# of Entries | 478 |
Entry Length | 17 |
Total Length | 8126 (0x1FBE) |
Back to the ROM map |
These structures describe the location of the graphics pointers, the objects to be loaded and the room location within the full level map.
Format
GfxDataPtrs*
- Length: 3 (0x3)
- Offset within entry: 0x0-0x2
- Range of values: ?
24-bits pointer to the Map:GfxDataPtrs for the level containing the room.
BoundLeft
- Length: 1 (0x1)
- Offset within entry: 0x3
- Range of values: ?
The left bound of the room with the level map.
BoundRight
- Length: 1 (0x1)
- Offset within entry: 0x4
- Range of values: ?
The right bound of the room with the level map. Add 16 (2/3 of viewport width) to get full bound.
BoundTop
- Length: 1 (0x1)
- Offset within entry: 0x5
- Range of values: ?
The top bound of the room with the level map.
BoundBottom
- Length: 1 (0x1)
- Offset within entry: 0x6
- Range of values: ?
The bottom bound of the room with the level map. Add 11 (2/3 of viewport height) to get full bound.
ObjDefs*
- Length: 3 (0x3)
- Offset within entry: 0x7-0x9
- Range of values: ?
24-bits pointer to the the object definitions for the objects appearing in the room.
ObjTypes*
- Length: 3 (0x3)
- Offset within entry: 0xA-0xC
- Range of values: ?
24-bits pointer to 2 consecutive arrays of bytes terminated by 0xFF. The first gives the type for the hostile objects, the second one, the type of friendly objects. Mainly used to load the objects graphics and palettes.
Unknown 1
- Length: 2 (0x2)
- Offset within entry: 0xD-0xE
- Range of values: ?
Unknown 2
- Length: 2 (0x2)
- Offset within entry: 0xF-0x10
- Range of values: ?