User Tools


This is an old revision of the document!


Level Commands

The level commands define the top-level control of the game. They are used to load levels, textures, collision data, objects, warps, etc. and determine how everything is connected. The first byte of the level command is the command type and the second byte is the length of the command in bytes.

Level Layout Commands

0x00

Load raw data to RAM segment and jump

00 10 00 [XX] [YY YY YY YY] [ZZ ZZ ZZ ZZ] [AA AA AA AA]

X RAM segment number
Y ROM address start
Z ROM address end
A Segment offset of jump target

Used for loading level scripts and then jumping to an offset in them

See Also

References