Differences
This shows you the differences between two versions of the page.
ff3:ff3us:doc:asm:fmt:map_propriety [2017/04/08 03:04] 184.161.239.46 ↷ Links adapted because of a move operation |
ff3:ff3us:doc:asm:fmt:map_propriety [2019/02/12 11:10] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Location Properties ====== | ||
- | aka. Map Properties | ||
- | ===== Offset ===== | ||
- | |||
- | ^ Description | ||
- | | Base offset (SNES) | ||
- | | Blocks | ||
- | | Block size | $21 | | ||
- | | Total size | $357F | | ||
- | |||
- | The [[ff3: | ||
- | |||
- | ==== RAM ==== | ||
- | |||
- | Routine at '' | ||
- | |||
- | |||
- | |||
- | |||
- | ===== Data ===== | ||
- | |||
- | ^ Offset | ||
- | | $00 | Location Name Index || | ||
- | | $01 | Layer Effects Flags || | ||
- | | ::: | $01 | enable X-Zone (doesn' | ||
- | | ::: | $02 | enable Warp (spell and item) | | ||
- | | ::: | $04 | wavy BG3 | | ||
- | | ::: | $08 | wavy BG2 | | ||
- | | ::: | $10 | wavy BG1 | | ||
- | | ::: | $20 | enable spotlights | ||
- | | ::: | $80 | load timer graphics | ||
- | | $02 | $7F | Battle Background | ||
- | | ::: | $80 | BG3 in Foreground | ||
- | | $03 | - || | ||
- | | $04 | [[ff3: | ||
- | | $05 | $7F | battle proprieties | ||
- | | ::: | $80 | enable random battles | ||
- | | $06 | $03 | Window Mask Settings | ||
- | | ::: | $80 | set for colosseum guy's house (unused) | | ||
- | | $07 | 7-bit: Graphics (4) + BG3 GFX + [[ff3: | ||
- | | $08 | ::: || | ||
- | | $09 | ::: || | ||
- | | $0A | ::: || | ||
- | | $0B | ::: || | ||
- | | $0C | ::: || | ||
- | | $0D | 10-bit: Tilemaps (3) || | ||
- | | $0E | ::: || | ||
- | | $0F | ::: || | ||
- | | $10 | ::: || | ||
- | | $11 | Sprite Overlay Index || | ||
- | | $12 | BG2 Shift, left || | ||
- | | $13 | BG2 Shift, up || | ||
- | | $14 | BG3 Shift, left || | ||
- | | $15 | BG3 Shift, up || | ||
- | | $16 | BG2/BG3 Scroll Mode || | ||
- | | $17 | BG1/BG2 Dimensions | ||
- | | ::: | $03 | BG2 Map Height Index | | ||
- | | ::: | $0C | BG2 Map Width Index | | ||
- | | ::: | $30 | BG1 Map Height Index | | ||
- | | ::: | $C0 | BG1 Map Width Index | | ||
- | | $18 | BG3 Dimensions | ||
- | | ::: | $0F | < | ||
- | | ::: | $30 | BG3 Map Height Index | | ||
- | | ::: | $C0 | BG3 Map Width Index | | ||
- | | $19 | Palette Index || | ||
- | | $1A | [[ff3: | ||
- | | $1B | BG Animations | ||
- | | ::: | $E0 | [[ff3: | ||
- | | ::: | $1F | [[ff3: | ||
- | | $1C | [[ff3: | ||
- | | $1D | - || | ||
- | | $1E | Map Width ($00 loops) | ||
- | | $1F | Map Height | ||
- | | $20 | BG2/BG3 Color Math Mode || | ||
- | |||
- | ==== Bit Shifted Data ==== | ||
- | |||
- | === 7-bit: Graphics (4) + BG3 GFX + Tilesets (2) === | ||
- | < | ||
- | byte 6 byte 5 byte 4 byte 3 byte 2 byte 1 | ||
- | aaaaaaab bbbbbbcc ccccdddd dddeeeee eeffffff fggggggg | ||
- | _______ _______ _______ _______ ______ ______ _______ | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | </ | ||
- | |||
- | === 10-bit: Tilemaps (3) === | ||
- | < | ||
- | byte 4 byte 3 byte 2 byte 1 | ||
- | --cccccc ccccbbbb bbbbbbaa aaaaaaaa | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
- | ==== BG Dimensions ==== | ||
- | |||
- | < | ||
- | 4-bit BG Dimensions (HEIGHTxWIDTH) | ||
- | |||
- | Size Values: | ||
- | Height Values (2-bit): | ||
- | Width Values (2-bit): | ||
- | |||
- | 0 256x256 | ||
- | 1 512x256 | ||
- | 2 1024x256 | ||
- | 3 2048x256 | ||
- | </ |