Mother 3/EFC block: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Overview==
{{subpage}}
The only EFC block in Mother 3 is the [[MOTHER_3:Battle_animations_entry_table|Battle animations entry table]].
 
The only EFC block in Mother 3 is the [[Mother 3/Battle animations entry table|Battle animations entry table]].


==Format==
==Format==
* <tt>00-03 (04)</tt> = "efc " header
* <tt>00-03 (04)</tt> = "efc " header
* <tt>04-0B (08)</tt> = Numbers that are entry related
* <tt>04-05 (02)</tt> = First list number entries number
* <tt>06-07 (02)</tt> = Second list entries number
* <tt>08-09 (02)</tt> = Third list entries number
* <tt>0A-0B (02)</tt> = ??? (Still in header)
* <tt>0C-.. (..)</tt> = Battle animations entry data
* <tt>0C-.. (..)</tt> = Battle animations entry data
* <tt>..-.. (04)</tt> = "~efc" footer
* <tt>..-.. (04)</tt> = "~efc" footer


[[Category:MOTHER 3 named data structures|EFC]]
==Entry lists==
[[Category:MOTHER 3|EFC]]
The first list has the short value of the tileset followed by the short value of the palette and the integer number of 4 bytes entries.
Each of these 4 bytes entries is divided in two, a two byte value of unknown purpose at the moment and the duration in frames.
 
The second list has 8 bytes entries.
It is still unknown what it does. It could be related to palette dimming, sounds and/or similar things.
 
The third list has entries made of 10 bytes of unknown purpose, a short value of subentries, 4 unknown bytes, and then the number of bytes a subentry is long followed by the subentry itself repeated for each subentry.
 
[[Category:Mother 3 named data structures|EFC]]
[[Category:Mother 3|EFC]]

Latest revision as of 02:17, 20 May 2024

This is a sub-page of Mother 3.

The only EFC block in Mother 3 is the Battle animations entry table.

Format

  • 00-03 (04) = "efc " header
  • 04-05 (02) = First list number entries number
  • 06-07 (02) = Second list entries number
  • 08-09 (02) = Third list entries number
  • 0A-0B (02) = ??? (Still in header)
  • 0C-.. (..) = Battle animations entry data
  • ..-.. (04) = "~efc" footer

Entry lists

The first list has the short value of the tileset followed by the short value of the palette and the integer number of 4 bytes entries. Each of these 4 bytes entries is divided in two, a two byte value of unknown purpose at the moment and the duration in frames.

The second list has 8 bytes entries. It is still unknown what it does. It could be related to palette dimming, sounds and/or similar things.

The third list has entries made of 10 bytes of unknown purpose, a short value of subentries, 4 unknown bytes, and then the number of bytes a subentry is long followed by the subentry itself repeated for each subentry.