get_tile_flags
Decode a tile's flags from RPG Maker MZ tilesets to reveal passability, overlay, and terrain details. Understand walkability and special tile properties at a glance.
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) |