I am trying to mod FE7 and have a new event script I am trying to put into the game using Event Assembler. I have done this already with a different script, but did not get any errors. Here is the error message:
Finished.
Messages:
Tutorials disabled
46 errors encountered:
File Chap2 Events.txt, Line 11, Column 1: Code POIN's offset $D801EA is not divisible by 4
File Chap2 Events.txt, Line 12, Column 1: Code POIN's offset $D801EE is not divisible by 4
File Chap2 Events.txt, Line 13, Column 1: Code POIN's offset $D801F2 is not divisible by 4
File Chap2 Events.txt, Line 14, Column 1: Code POIN's offset $D801F6 is not divisible by 4
File Chap2 Events.txt, Line 15, Column 1: Code POIN's offset $D801FA is not divisible by 4
File Chap2 Events.txt, Line 16, Column 1: Code POIN's offset $D80202 is not divisible by 4
File Chap2 Events.txt, Line 17, Column 1: Code POIN's offset $D80212 is not divisible by 4
File Chap2 Events.txt, Line 18, Column 1: Code POIN's offset $D80222 is not divisible by 4
File Chap2 Events.txt, Line 21, Column 1: Code UNIT's offset $D8022A is not divisible by 4
File Chap2 Events.txt, Line 24, Column 1: Code UNIT's offset $D8023A is not divisible by 4
File Chap2 Events.txt, Line 27, Column 1: Code TURN's offset $D8024A is not divisible by 4
File Chap2 Events.txt, Line 28, Column 1: Code TURN's offset $D8025A is not divisible by 4
File Chap2 Events.txt, Line 29, Column 1: Code END_MAIN's offset $D8026A is not divisible by 4
File Chap2 Events.txt, Line 32, Column 1: Code END_MAIN's offset $D8026E is not divisible by 4
File Chap2 Events.txt, Line 35, Column 1: Code END_MAIN's offset $D80272 is not divisible by 4
File Chap2 Events.txt, Line 38, Column 1: Code AFEV's offset $D80276 is not divisible by 4
File Chap2 Events.txt, Line 39, Column 1: Code ASME's offset $D80282 is not divisible by 4
File Chap2 Events.txt, Line 40, Column 1: Code TURN's offset $D8028E is not divisible by 4
File Chap2 Events.txt, Line 41, Column 1: Code END_MAIN's offset $D8029E is not divisible by 4
File Chap2 Events.txt, Line 44, Column 1: Code END_MAIN's offset $D802A2 is not divisible by 4
File Chap2 Events.txt, Line 47, Column 1: Code LOU1's offset $D802A6 is not divisible by 4
File Chap2 Events.txt, Line 48, Column 1: Code ENUN's offset $D802AE is not divisible by 4
File Chap2 Events.txt, Line 49, Column 1: Code OOBB's offset $D802B2 is not divisible by 4
File Chap2 Events.txt, Line 50, Column 1: Code ENDA's offset $D802B6 is not divisible by 4
File Chap2 Events.txt, Line 54, Column 1: Code UNIT's offset $D802BE is not divisible by 4
File Chap2 Events.txt, Line 55, Column 1: Code UNIT's offset $D802CE is not divisible by 4
File Chap2 Events.txt, Line 56, Column 1: Code UNIT's offset $D802DE is not divisible by 4
File Chap2 Events.txt, Line 58, Column 1: Code UNIT's offset $D802EE is not divisible by 4
File Chap2 Events.txt, Line 60, Column 1: Code UNIT's offset $D802FE is not divisible by 4
File Chap2 Events.txt, Line 61, Column 1: Code UNIT's offset $D8030E is not divisible by 4
File Chap2 Events.txt, Line 62, Column 1: Code UNIT's offset $D8031E is not divisible by 4
File Chap2 Events.txt, Line 63, Column 1: Code UNIT's offset $D8032E is not divisible by 4
File Chap2 Events.txt, Line 64, Column 1: Code UNIT's offset $D8033E is not divisible by 4
File Chap2 Events.txt, Line 65, Column 1: Code UNIT's offset $D8034E is not divisible by 4
File Chap2 Events.txt, Line 68, Column 1: Code FADI's offset $D8035E is not divisible by 4
File Chap2 Events.txt, Line 69, Column 1: Code BACG's offset $D80362 is not divisible by 4
File Chap2 Events.txt, Line 70, Column 1: Code FADU's offset $D80366 is not divisible by 4
File Chap2 Events.txt, Line 71, Column 1: Code TEX1's offset $D8036A is not divisible by 4
File Chap2 Events.txt, Line 72, Column 1: Code REMA's offset $D80372 is not divisible by 4
File Chap2 Events.txt, Line 73, Column 1: Code ENDA's offset $D80376 is not divisible by 4
File Chap2 Events.txt, Line 77, Column 1: Code UNIT's offset $D8037E is not divisible by 4
File Chap2 Events.txt, Line 78, Column 1: Code UNIT's offset $D8038E is not divisible by 4
File Chap2 Events.txt, Line 79, Column 1: Code ENDA's offset $D8039E is not divisible by 4
File Chap2 Events.txt, Line 82, Column 1: Code TEX1's offset $D803A6 is not divisible by 4
File Chap2 Events.txt, Line 83, Column 1: Code REMA's offset $D803AE is not divisible by 4
File Chap2 Events.txt, Line 84, Column 1: Code ENDA's offset $D803B2 is not divisible by 4
No data written to output.
Here is the script I am trying to put in:
#define DISABLE_TUTORIALS #include EAstdlib.event EventPointerTable(0x09,Pointers) //After the ending offset of the previous chapter plus a bit more. //You can use event assembler to check. ORG 0xD801EA Pointers: POIN Turn_events POIN Character_events POIN Location_events POIN Misc_events POIN TrapData TrapData POIN Bad Bad Bad Bad POIN Good Good Good Good POIN Opening_event Ending_event Good: UNIT Bad: UNIT Turn_events: TurnEventPlayer(0x0,Opening_event,1) TurnEventPlayer(0x0,SpawnEveryTurn,2,7) End_MAIN Character_events: End_MAIN Location_events: End_MAIN Misc_events: CauseGameOverIfLordDies DefeatAll(Ending_event) TurnEventPlayer(0x0,StoppedComing,8) End_MAIN TrapData: End_MAIN Opening_event: LOU1 LoadAllUnits ENUN OOBB ENDA //Loads Characters that had been loaded in on pervious chapters LoadAllUnits: UNIT 0x01 0x01 0x01 Level(1, Ally, 0) [1,19] [1,19] [0x03, 0x6B] NoAI //Eliwood- Eliwood Lord UNIT 0x02 0x03 0x01 Level(1, Ally, 0) [0,19] [0,19] [0x1F, 0x6B] NoAI //Hector- Hector Lord UNIT 0x1A 0x2A 0x00 Level(1, Ally, 0) [2,19] [2,19] [0x03, 0x14, 0x6B] NoAI //Marcus- Paladin UNIT Lyn 0x02 0x00 Level(1, Ally, 0) [2,20] [2,20] [SteelSword, Vulnerary] NoAI UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [2,18] [7,12] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,11] [7,11] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [8,11] [8,11] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,10] [8,10] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [3,9] [3,9] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT Ending_event: FADI 10 BACG 0x1D FADU 10 TEX1 0x819 REMA ENDA // Events SpawnEveryTurn: UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [7,0] [7,0] [0x28] PursueWithoutHeed //Bandit- Brigand UNIT 0x3E 0x39 0x00 Level(1, Enemy, 0) [6,0] [6,0] [0x28] PursueWithoutHeed //Bandit- Brigand ENDA StoppedComing: TEX1 0x818 REMA ENDA // Manual Movement // Scripted Fights // Units // Shop Data