Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
Matt Greer edited this page May 7, 2021 · 2 revisions

Rooms

An e-reader level can have at most 4 rooms.

Object Header

Each room's object section starts with an 11 byte header which contains general info about the room

0: timer, hundreds digit
1: timer, tens and ones digits
2,3: 16 bit unknown value, set to zero for now
4: bottom nibble: width of the level, top nibble: unknown
5: background color
6: top nibble: scroll settings, bottom nibble: unknown
7: top 3 bits: level entry action, bottom 5 bits: graphics set
8: top nibble: graphics set
9: top nibble: extra color (?), bottom nibble: extra effect (?)
10: background graphics

width of level

(this value + 1) * 16 tiles

NOTE: 16 tiles is one tile wider than the screen width

example: if set to 1, then the width of the level is 32 tiles, which is two screens plus two more tiles