ff3:ff3us:doc:asm:fmt:map_propriety

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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              ^  Value    ^ 
-| Base offset (SNES)        |  $ED8F00  | 
-| Blocks                    |  $019F    | 
-| Block size                |  $21      | 
-| Total size                |  $357F    | 
- 
-The [[ff3:ff3us:doc:asm:list:maps|Location]] index corresponds to the block index. 
- 
-==== RAM ==== 
- 
-Routine at ''$C0/1CAD'' will load location properties for the current location and store in RAM ''$0520''. See [[ff3:ff3us:doc:asm:ram:field_ram| Field RAM]]. 
- 
- 
- 
- 
-===== Data ===== 
- 
-^  Offset   ^ Description       ^^ 
-|  $00  | Location Name Index                   || 
-|  $01  | Layer Effects Flags                   || 
-|  :::  |  $01  | enable X-Zone (doesn't do anything) | 
-|  :::  |  $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:ff3us:doc:asm:fmt:map_tile_properties | Tile Properties]] Index                 || 
-|  $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:ff3us:doc:asm:fmt:map_tile_sets| Tilesets]] (2)           || 
-|  $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  | <unused> (copied to RAM)      | 
-|  :::  |  $30  | BG3 Map Height Index          | 
-|  :::  |  $C0  | BG3 Map Width Index           | 
-|  $19  | Palette Index                         || 
-|  $1A  | [[ff3:ff3us:doc:asm:fmt:palette_animation_data |Palette Animation Index]]     || 
-|  $1B  | BG Animations                         || 
-|  :::  |  $E0  | [[ff3:ff3us:doc:asm:fmt:bg3_animation_data|BG3 Animation Index]]       | 
-|  :::  |  $1F  | [[ff3:ff3us:doc:asm:fmt:map_animation_data|BG1/BG2 Animation Index]]       | 
-|  $1C  | [[ff3:ff3us:doc:asm:list:music |Music Track]] || 
-|  $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) === 
-<code> 
-byte 6   byte 5   byte 4   byte 3   byte 2   byte 1 
-aaaaaaab bbbbbbcc ccccdddd dddeeeee eeffffff fggggggg 
-_______ _______ _______ _______ ______ ______ _______ 
-                                |      |____ g: BG1/BG2 Graphics 1 
-                                |___________ f: BG1/BG2 Graphics 2 
-                           |__________________ e: BG1/BG2 Graphics 3 
-                     |__________________________ d: BG1/BG2 Graphics 4 
-               |__________________________________ c: BG3 Graphics Index 
-         |__________________________________________ b: BG1 Tileset Index 
-   |__________________________________________________ a: BG2 Tileset Index 
-    
-</code> 
- 
-=== 10-bit: Tilemaps (3) === 
-<code> 
-byte 4   byte 3   byte 2   byte 1 
---cccccc ccccbbbb bbbbbbaa aaaaaaaa 
-   __________ __________ __________ 
-                |          |______ a: BG1 Tilemap Index 
-                |_________________ b: BG2 Tilemap Index 
-       |____________________________ c: BG3 Tilemap Index 
-</code> 
-==== BG Dimensions ==== 
- 
-<code> 
-4-bit BG Dimensions (HEIGHTxWIDTH) 
- 
-          Size Values:  256  512 1024 2048  
-Height Values (2-bit):    0    1    2    3 
- Width Values (2-bit):    0    4    8    C 
- 
-0  256x256  4  256x512  8  256x1024  C  256x2048 
-1  512x256  5  512x512  9  512x1024  D  512x2048 
-2 1024x256  6 1024x512  A 1024x1024  E 1024x2048 
-3 2048x256  7 2048x512  B 2048x2048  F 2048x2048 
-</code> 
  • ff3/ff3us/doc/asm/fmt/map_propriety.txt
  • Last modified: 5 years ago
  • (external edit)