Changes

Jump to navigation Jump to search
m
Redefine attachments and add more information
Line 186: Line 186:  
| 0xFC
 
| 0xFC
 
| 0x4
 
| 0x4
| Number of properties at 0x3E00
+
| Number of attachment badges
 
|-
 
|-
 
| 0x100
 
| 0x100
Line 326: Line 326:  
| 0x3E00
 
| 0x3E00
 
| 0x20
 
| 0x20
| Unknown property
+
| Attachment badge property
 
|-
 
|-
 
|  
 
|  
 
| 0x20
 
| 0x20
| Optional unknown properties
+
| Optional attachment badge properties
 
|}
 
|}
   Line 376: Line 376:     
The position is calculated using the 3DS screen as a reference (400x240).
 
The position is calculated using the 3DS screen as a reference (400x240).
 +
 +
==== Attachment badge properties ====
 +
This property sets the union of a badge with an attachment.
 +
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x4
 +
| Unknown (usually zero?)
 +
|-
 +
| 0x4
 +
| 0x4
 +
| Unknown (usually 1?)
 +
|-
 +
| 0x8
 +
| 0x4
 +
| Unknown
 +
|-
 +
| 0xC
 +
| 0x4
 +
| Index of badge selected
 +
|-
 +
| 0x10
 +
| 0x4
 +
| Index of attachment to be attached
 +
|-
 +
| 0x14
 +
| 0x4
 +
| Width position of attachment (float32)
 +
|-
 +
| 0x18
 +
| 0x4
 +
| Height position of attachment (float32)
 +
|-
 +
| 0x1C
 +
| 0x4
 +
| Unknown (usually zero?)
 +
|}
    
== Attachment (atb) ==
 
== Attachment (atb) ==
An attachment file stores the data of an immovable object and its image.
+
An attachment file stores the data of an object with badges attached and its image.
    
{| class="wikitable"
 
{| class="wikitable"
Line 658: Line 700:     
== Fixed Object (fob) ==
 
== Fixed Object (fob) ==
A fixed object file stores the data of the terrain and its image.
+
A fixed object file stores the data of an immovable object and its image.
    
{| class="wikitable"
 
{| class="wikitable"
106

edits

Navigation menu