Thanks for the help, NL! Another guy on the hack team used it in his set of events which I have decided to go along with:
[spoiler=New events]#define ConvoEvent(textID) "MUSI; TEXTSTART; TEXTSHOW textID; TEXTEND; REMA; MUNO; _0x228 0x7; ENDA"
#define Text(text) "TEXTSTART; TEXTSHOW text; TEXTEND; REMA"
#define ReinforcementEvent(unitPtr) "_SETVAL 0x2 (unitPtr|0x8000000); GOTO $9EE290; _0x228 0x7; ENDA"
#include EAstdlib.event
EventPointerTable(0x07,ThisChapter)
ORG 0x00E4718C
ThisChapter:
POIN TurnBasedEvents
POIN CharacterBasedEvents
POIN LocationBasedEvents
POIN MiscBasedEvents
POIN Dunno Dunno Dunno
POIN Tutorial
POIN TrapData TrapData
POIN Allied Enemies
POIN $0 $0 $0 $0 $0 $0
POIN BeginningScene EndingScene
TurnBasedEvents:
TurnEventPlayer(0x0,BeginningScene,1)
TurnEventPlayer(0x0,EndingScene,2)
Allied:
UNIT Eirika Mage Eirika Level(1,Ally,False) [1,3] 0x00 0x00 0x00 0x00 [Fire,Vulnerary,0x0,0x0] NoAI
UNIT Seth Myrmidon Eirika Level(1,Ally,False) [1,4] 0x00 0x00 0x00 0x00 [ironSword,Vulnerary,0x0,0x0] NoAI
Enemies:
UNIT ONeill Bandit ONeill Level(1,Enemy,False) [10,9] 0x00 0x00 0x00 0x00 [steelAxe,0x0,0x0,0x0] NoAI
UNIT Gilliam Bandit Gilliam 0x02 [9,7] 0x00 0x00 0x00 0x00 [ironAxe,0x0,0x0,0x0] NoAI
UNIT Franz Bandit Franz 0x02 [10,8] 0x00 0x00 0x00 0x00 [ironAxe,0x0,0x0,0x0] NoAI
UNIT
CharacterBasedEvents:
CharacterEventBothWays(5,LOLTALK,Eirika,Seth)
CHAR
LocationBasedEvents:
LOCA
MiscBasedEvents:
DefeatBoss(EndingScene)
AFEV
Dunno:
//DO NOT TOUCH
WORD $00
Tutorial:
//DO NOT TOUCH
WORD $00
TrapData:
ENDTRAP
ALIGN 4
BeginningScene:
ReinforcementEvent Allied
ENUN
ReinforcementEvent Enemies
ENUN
Text 0x090E
REMA
ENDA
LOLTALK:
Text 0x090F
REMA
_SETVAL 0x3 Thunder
_GIVEITEMTO Eirika
ENDA
EndingScene:
MoveToChapter 0x01
MESSAGE Events end at offset currentOffset
//The map for this offset is at 01000000
Running it gives me these:
[spoiler=New Errors]Errors with Gold's code when assembled to 0x00E4718C using the patch:
Finished.
Messages:
Events end at offset currentOffset
9 errors encountered:
File: Main Code Helpers.txt, Line: 128: Redefining ConvoEvent: #define ConvoEvent(textID) "MUSI; TEXTSTART; TEXTSHOW textID; TEXTEND; REMA; MUNO; _0x0228 0x7; ENDA"
File: Main Code Helpers.txt, Line: 129: Redefining ReinforcementEvent: #define ReinforcementEvent(unitPtr) "_SETVAL 0x2 (unitPtr|0x8000000); GOTO $9EE290; _0x0228 0x7; ENDA"
File: Convo Helpers.txt, Line: 15: Redefining Text: #define Text(text) "TEXTSTART; TEXTSHOW text; TEXTEND; REMA"
File Hope this works. (Gold).txt, Line 62, Column 1: No code named ReinforcementEvent found.
File Hope this works. (Gold).txt, Line 64, Column 1: No code named ReinforcementEvent found.
File Hope this works. (Gold).txt, Line 66, Column 1: No code named Text found.
File Hope this works. (Gold).txt, Line 71, Column 1: No code named Text found.
File Hope this works. (Gold).txt, Line 78, Column 1: No code named MoveToChapter found.
File Hope this works. (Gold).txt, Line 35, Column 1: Symbol Franz isn't in scope
So, what needs to be done from here?