struct WORLD_MAP_METATILE
One 32-pixel metatile of the World Map: its tile and its encounter region; RamMapBlocks holds WORLD_MAP_VIEW_METATILES by WORLD_MAP_VIEW_METATILES of them.
Declared in field.h.
Fields
| Name | Description | |
|---|---|---|
Uint32 | tile : 24 | Low halfword: the metatile tiles. |
Uint32 | region : 6 | Passed to fdWorldMapUpdateRegionTint; region / 10 picks the graphics set. |
Uint32 | unused : 1 | No code names it. |
Uint32 | beach : 1 | A beach: fdWorldMapGetBattleEnvironment fights on it from WorldMapTerrainBehaviorTable's beach bank. |
Description
One 32-pixel metatile of the World Map: its tile and its encounter region;
RamMapBlocks holds WORLD_MAP_VIEW_METATILES by WORLD_MAP_VIEW_METATILES of
them.
struct WORLD_MAP_METATILE
Referenced by fdWorldMapDrawMetatileColumn(), fdWorldMapDrawMetatileRow(), fdWorldMapGetBattleEnvironment(), fdWorldMapLoadGraphics(), fdWorldMapPreloadCurrentTileBlock() and fdWorldMapWriteLayerMetatileTile().
Definition at line 254 of file field.h.
Fields in detail
tile
Uint32 tile : 24
Low halfword: the metatile tiles.
region
Uint32 region : 6
Passed to fdWorldMapUpdateRegionTint; region / 10
picks the graphics set.
unused
Uint32 unused : 1
No code names it.
beach
Uint32 beach : 1
A beach: fdWorldMapGetBattleEnvironment fights on it
from WorldMapTerrainBehaviorTable's beach bank.