I am currently learning to insert maps created in Tiled through .event files using tmx2ea.
The configuration of properties I prefer to do it manually in the .event file that is generated, which shows this:
//Map Installer generated by TMX2EA.exe
#include eastdlib.event
SetChapterData(ChapterID,ObjectType,0,PaletteID,TileConfig,map_id,Map,0,0,0)
Map:
#incbin "Test_1_data.dmp"
The map I am trying to replace is the one in the FE7 tutorial, replacing the previous fields with the following:
ChapterID: 0x00
ObjectType: 0x10
PaletteID: 0xEA
TileConfig: 0x12
map_id: 0x04
The rest of the values can be maintained by default and Map
as I read in the tutorial, should refer to the changes in the map, and therefore take the value 0x00
.
The problem I have is that when making the assembly, I get the following error:
File Test_1.event, Line 5, Column 15: Didn't reach end, currently at LeftParenthesis(()
I am practically sure that it is because some of the data is not well introduced, but after several tests I have not been able to find out which one it is.