Skip to Content
The Alchemy Project

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

NameDescription
Uint32tile : 24Its low halfword picks the four tiles fdWorldMapCopyMetatileTiles draws.
Uint32kind : 7the encounter region; encounters read it too
Uint32flags : 1Selects 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.