Map Tile Placement Format

From Terranigma Wiki
Jump to navigation Jump to search

The game places tiles depending on event flags.

Relevant addresses are listed in the following table:

Name JP G0
Offset Table D80000 DA0000
Entries D80200 DA0200
Values D809E0 DA09E0

Entries Format

Offset Length Description
0 2 Map ID (the current entry only applies to that map)
2 2 Event Flag check (Base offset is 7E0740 and not 7E06C0)
4 2 Source Offset
6 2 Count (0 copies 1 byte)
8 2 Destination Offset

Entries are parsed till 0xFFFF