I am testing the Event Assembler on FE 8, but it crash the rom for some reason.
Here is the code:
#include EAstdlib.event EventPointerTable(0x04,ThisChapter) ORG 0xEFB2E0 ThisChapter: POIN TurnBasedEvents POIN CharacterBasedEvents POIN LocationBasedEvents POIN MiscBasedEvents POIN Dunno Dunno Dunno POIN Tutorial POIN TrapData TrapData POIN Units Units POIN $0 $0 $0 $0 $0 $0 POIN BeginningScene EndingScene TurnBasedEvents: END_MAIN CharacterBasedEvents: END_MAIN LocationBasedEvents: END_MAIN MiscBasedEvents: CauseGameOverIfLordDies END_MAIN Dunno: //DO NOT TOUCH WORD $00 Tutorial: //DO NOT TOUCH WORD $00 TrapData: ENDTRAP ALIGN 4 Units: UNIT Forde Cavalier 0x00 Level(1,Ally,False) [5,8] DropItem 0x00 0x02 Forde_Move [SilverSword,0x00,0x00,0x00] NoAI UNIT Empty Bad: UNIT Bandit Cavalier 0x00 Level(1,Enemy,False) [9,9] DropItem 0x00 0x00 Bandit_Move [IronSword,0x00,0x00,0x00] NoAI UNIT Empty BeginningScene: _SETVAL 0x2 (Bad|0x8000000); CALL $9EE290; _0x0228 0x7; ENUN _SETVAL 0x2 (Units|0x8000000); CALL $9EE290; _0x0228 0x7; ENUN ENDA EndingScene: MNCH 0x01 ENDA Forde_Move: REDA [6,3] 0x5 0x00 0x00 0x20 REDA [7,4] 0x1 0x00 0x00 0x00 Bandit_Move: REDA [9,9] 0x5 0x00 0x00 0x20 MESSAGE Events end at offset currentOffset
What i am doing wrong?