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.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Motocross Maniacs/Notes
Jump to navigation
Jump to search
Motocross Maniacs | |
Internal Name | xxx |
Region Code | xxx |
Type | Grayscale Game |
SGB Support | xxx |
Cartridge Type | xxx |
License Code | xxx |
ROM Size | xxx |
ROM Checksum | xxx |
SRAM Size | xxx |
Header Checksum | xxx |
Level data
General idea
Track definitions
A track is simply a sequence of objects, such as ramps, bumps, etc. Below is the level 1 track: floor, small triangular ramp, floor, etc. In the ROM data, a track is a sequence of 3-byte words YY XX ZZ: * ZZ = objectID * YY XX = coordinates from top left of the level Below is level 1 data, with each 3-byte word highlighted. The first floor object (ID=x0F) is at (x00,x00), the second small triangular ramp object (ID=x0E) is at (x0A,x01), etc.
Object definitions
An object is an array of metatiles, where each metatile is itself a 2x2 array of regular 8x8px tiles. Below is a small triangular ramp object: it's made of 4 metatiles (each in a different color), and each metatile is made of 4 tiles. In the ROM data, a track object is a sequence of bytes XX YY AA BB.... * XX YY define the metatile array's dimensions, XX rows, YY columns. * AA BB... are the metatileIDs that will fill the array, one line at a time. Below are the first two objects of level 1: a floor object, followed by a small triangular ramp object. * The floor object is a row of x0A metatiles with ID x09. * The small triangular ramp object is a 2x2 array of metatiles x0A, x0B, xC and x0D.