get_tile_flags
Decode a tile's flag word to reveal passability, star/ladder/bush/counter/damage flags, and terrain tag. Read-only inspection from Tilesets.json.
Instructions
Decode a tileset's flag word for a single tile id into a legible view: 4-direction passability (down/left/right/up — true = walkable that way), the [*] 'star' overlay bit, ladder/bush/counter/damage-floor flags, and terrain tag (0–7). Read-only inspection of data/Tilesets.json flags[]. Note passability here is for the tile in isolation; a real cell's passability layers its stacked tiles — use check_passability for that. Returns { tilesetId, tileId, tile, flags }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tileId | Yes | The raw tile id whose flags to decode | |
| tilesetId | Yes | Tileset id (from Tilesets.json / the map) |