If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Mother 3/EFC block: Difference between revisions
< Mother 3
Jump to navigation
Jump to search
Lorenzooone (talk | contribs) (→Format) |
Lelegofrog (talk | contribs) mNo edit summary |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{subpage}} | |||
The only EFC block in Mother 3 is the [[ | |||
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 ( | * <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: | ==Entry lists== | ||
[[Category: | 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.