-
Notifications
You must be signed in to change notification settings - Fork 1
Room List format
mblanche2807 edited this page Jul 1, 2020
·
5 revisions
Each room is represented on 3 bytes.
Offset | Size | Content |
---|---|---|
0x0 | 1 byte | Number of rooms in the map |
0x1 | 10 bytes | Room 1 |
... | ... | Room n |
Offset | Size | Content |
---|---|---|
0x0 | 1 byte | room coordinates (7-4 : X coordinate ; 3-0 Y coordinate). Start at 1. X from left to right, Y from up to down |
0x1 | 1 byte | room ID : ID of the room randomly chosen corresponding to the type of room |
0x2 | 1 byte | door flags and room type (7 : up, 6 : down, 5 : left, the type4 : right, 3 : enemies are alive, 2-0 : room type) |
0x3 | 7 bytes | set to 1 at the beginning and ensures if the square is as the original or not |
Value | Type | Number of it | Range of IDs |
---|---|---|---|
0 | Basic. | 7 | 1-7 |
1 | Item | 0 | undetermined |
2 | Boss | 0 | undetermined |
4 | Start | 1 | 0 |
Vasic rooms can (randomly) contain hearts, chests, keys, ennemis, etc..