struct WORLD_MAP_METATILE
One 32-pixel metatile of the world map: its tile, its kind (WORLD_MAP_ENCOUNTER_REGION) and a flag.
Declared in field_world_map.c.
Fields
| Name | Description | |
|---|---|---|
Uint32 | tile : 24 | Its low halfword picks the four tiles fdWorldMapCopyMetatileTiles draws. |
Uint32 | kind : 7 | the encounter region; encounters read it too |
Uint32 | flags : 1 | Selects the second row of WorldMapBattleEnvironments (fdWorldMapGetBattleEnvironment); a WORLD_MAP_ENCOUNTER_REGION_SNOWFIELD metatile takes the third row whatever this bit says. |
Description
One 32-pixel metatile of the world map: its tile, its kind
(WORLD_MAP_ENCOUNTER_REGION) and a flag.
struct WORLD_MAP_METATILE
Definition at line 21 of file field_world_map.c.
Fields in detail
tile
Uint32 tile : 24
Its low halfword picks the four tiles
fdWorldMapCopyMetatileTiles draws.
kind
Uint32 kind : 7
the encounter region; encounters read it too
flags
Uint32 flags : 1
Selects the second row of WorldMapBattleEnvironments
(fdWorldMapGetBattleEnvironment); a
WORLD_MAP_ENCOUNTER_REGION_SNOWFIELD metatile takes
the third row whatever this bit says.