Hiya, new to FE Hacking here and some things wrong with my game.
Everything was fine but I changed a couple of things and now... this has happened.
If I go and attack an enemy the tiles get screwed up and turn Rainbow coloured.
If I step on any of the other blue tiles outside my normal range, the game crashes
After the second turn when reinforcements arrive, the game also crashes.****
It also seems to have changed one of my text conversations for some reason to this:
"[MoveFarFarLeft][.][0xB8][OpenFarFarLeft][0xBC][OpenFarFarLeft]<[OpenMidRight][0xA4][X]"
This is the code for the game, the only thing I changed was the ending event which used to be:
"Ending_event:
End_Game
ENUN
ENDA"
**** After I changed this the game stopped crashing at those points but I can still move around the map in the same way for some reason, it just wont crash.
I knew that was wrong but changing it doesn't seem to have fixed the problem
#define DISABLE_TUTORIALS
#include EAstdlib.event
EventPointerTable(0x06,Pointers)
ORG 0xD80000
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 Batta Brigand Batta Level(2, Ally, 0) [1,0] [1,3] [0x2A] NoAI
UNIT Carjiga Brigand 0x00 Level(1, NPC, 0) [0,5] [2,3] [IronAxe] NoAI
UNIT
NomadTroopers:
UNIT 0xC8 NomadTrooper 0x00 Level(1, Enemy, 0) [12,6] [11,7] [IronBow, SteelSword, Vulnerary] [0x00,0x02,0x02,0x00]
UNIT 0xC8 NomadTrooper 0x00 Level(1, Enemy, 0) [11,6] [10,7] [SteelBow, IronSword, Vulnerary] [0x00,0x02,0x02,0x00]
UNIT
LausSoldier:
UNIT 0x78 Soldier Batta Level(1, Enemy, 0) [12,0] [11,0] [Javelin, IronLance] [0x00,0x03,0x00,0x20]
UNIT
GloryBoys:
UNIT 0x5F 0x28 0x00 Level(2, Enemy, 0) [5,5] [6,6] [0x01, HandAxe] [0x00,0x02,0x02,0x00]
UNIT 0x62 0x0E 0x00 Level(1, Enemy, 0) [5,5] [6,5] [0x01] [0x00,0x02,0x02,0x00]
UNIT
Bad:
UNIT Guy NomadTrooper_F 0x00 Level(2, Enemy, 0) [13,9] [13,9] [IronSword, ShortBow] [0x00,0x03,0x00,0x20]
UNIT
NomadTroopersSouth:
UNIT 0xE6 NomadTrooper 0x00 Level(1, Enemy, 0) [6,9] [6,9] [IronBow, SteelSword, Vulnerary] [0x00,0x02,0x02,0x00]
UNIT 0xE6 NomadTrooper 0x00 Level(1, Enemy, 0) [6,9] [7,9] [SteelBow, IronSword, Vulnerary] [0x00,0x02,0x02,0x00]
UNIT
YoungRider:
UNIT 0x67 Nomad_F 0x00 Level(4, Enemy, 0) [0,6] [0,4] [IronBow] [0x00,0x02,0x02,0x00]
UNIT 0x67 Nomad_F 0x00 Level(4, Enemy, 0) [0,6] [0,5] [IronBow] [0x00,0x02,0x02,0x00]
UNIT 0x67 Nomad 0x00 Level(4, Enemy, 0) [0,6] [0,6] [IronBow] [0x00,0x02,0x02,0x00]
UNIT
TheCavalry:
UNIT Glass Mercenary Batta Level(3, NPC, 0) [0,4] [0,4] [IronSword] NoAI
UNIT 0xD6 Bishop Batta Level(1, NPC, 0) [0,5] [0,5] [Lightning] [0x0E,0x04,0x00,0x00]
UNIT
FirstGuards:
UNIT 0x7C Fighter 0x00 Level(3, Enemy, 0) [12,0] [10,0] [SteelAxe, Heal] [0x00,0x02,0x02,0x00]
UNIT 0x7D Myrmidon 0x00 Level(3, Enemy, 0) [12,0] [10,1] [IronSword, Vulnerary] [0x00,0x02,0x02,0x00]
UNIT 0x50 Swordmaster 0x00 Level(1, Enemy, 0) [12,0] [11,1] [SlimSword,Runesword] [0x00,0x03,0x09,0x00]
UNIT
FirstWaveUnit:
UNIT 0x9B Myrmidon 0x00 Level(4, Enemy, 0) [13,7] [11,9] [IronSword] [0x00,0x03,0x09,0x00]
UNIT 0x9B Mercenary 0x00 Level(5, Enemy, 0) [13,7] [11,8] [IronBlade] [0x00,0x03,0x09,0x00]
UNIT 0x9B Myrmidon 0x00 Level(4, Enemy, 0) [13,7] [12,8] [IronSword] [0x00,0x03,0x09,0x00]
UNIT 0x67 Archer 0x00 Level(3, Enemy, 0) [12,6] [14,8] [IronBow] [0x00,0x03,0x09,0x00]
UNIT 0x67 Mage_F 0x00 Level(3, Enemy, 0) [12,6] [11,6] [Fire] [0x00,0x03,0x09,0x00]
UNIT 0x67 Mage 0x00 Level(3, Enemy, 0) [12,6] [10,6] [Fire] [0x00,0x03,0x09,0x00]
UNIT 0x67 Nomad_F 0x00 Level(1, Enemy, 0) [13,5] [12,2] [IronBow] [0x00,0x03,0x09,0x00]
UNIT 0x67 Nomad_F 0x00 Level(1, Enemy, 0) [13,5] [12,4] [IronBow] [0x00,0x03,0x09,0x00]
UNIT 0x67 Nomad 0x00 Level(1, Enemy, 0) [13,5] [14,3] [IronBow] [0x00,0x03,0x09,0x00]
UNIT
Turn_events:
TurnEventPlayer(0x0,Opening_event,1)
TurnEventEnemy(0x0,FirstGuardsArrive,2)
TurnEventNPC(0x12,CavalryArrives,2,0)
TurnEventEnemy(0x0,FirstWave, 3)
TurnEventEnemy(0x0,MagePursue, 4)
TurnEventPlayer(0x0,NomadSpawn, 5)
TurnEventPlayer(0x14,LausMove, 4)
TurnEventEnemy(0x0,SwordsmanGo, 7}
End_MAIN
SwordsmanGo:
CHAI 0x9B [0x00,0x02,0x02,0x00]
ENUN
ENDA
NomadSpawn:
LOU1 NomadTroopersSouth
ENUN
LOU1 YoungRider
ENUN
ENDA
LausMove:
TEX1 0x822
REMA
TurnNPC(0x78)
ENUN
MOVE 0x78 [7,2]
ENUN
ENDA
MagePursue:
CHAI [13,3] [0x00,0x02,0x02,0x00]
CHAI [13,4] [0x00,0x02,0x02,0x00]
ENUN
ENDA
FirstGuardsArrive:
LOU1 FirstGuards
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x81B
REMA
MOVE [11,1] [12,5]
ENUN
LOU1 LausSoldier
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x81C
REMA
MOVE [0x78] [10,2]
ENUN
ENDA
FirstWave:
MOVE [12,5] [13,8]
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x81D
REMA
MOVE [13,8] [12,7]
ENUN
LOU1 NomadTroopers
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x81E
REMA
LOU1 FirstWaveUnit
ENUN
TEX1 0x81F
REMA
MOVE [10,7] [14,6]
MOVE [11,7] [14,5]
ENUN
DISA [14,6]
DISA [14,5]
ENUN
TEX1 0x820
REMA
MOVE [12,2] [9,0]
MOVE [12,4] [11,0]
MOVE [14,3] [12,0]
ENUN
DISA [9,0]
DISA [11,0]
DISA [12,0]
TEX1 0x821
REMA
MOVE [11,6] [13,3]
MOVE [10,6] [13,4]
MOVE [10,8] [9,7]
MOVE [11,8] [10,7]
MOVE [12,8] [10,8]
MOVE [14,8] [14,5]
ENUN
ENDA
LausTalk:
FADI 10
BACG 0x1C
FADU 10
MUSC 0x42
TEX1 0x823
REMA
TurnAlly(0x78)
ENUN
ENDA
Character_events:
CharacterEventBothWays(0x07,LausTalk,Batta,0x78)
End_MAIN
CavalryArrives:
LOU1 TheCavalry
ENUN
MUSC 0x44
FADI 10
BACG 0x1C
FADU 10
TEX1 0x819
REMA
MOVENEXTTO Glass Batta
MOVENEXTTO 0xD6 Batta
ENUN
MUSC 0x42
FADI 10
BACG 0x1C
FADU 10
TEX1 0x81A
REMA
TurnAlly(Glass)
TurnAlly(0xD6)
ENUN
ENDA
Location_events:
End_MAIN
Misc_events:
CauseGameOverIfLordDies
End_MAIN
TrapData:
End_MAIN
Opening_event:
OOBB
LOU1 Bad
ENUN
LOU1 Good
ENUN
FADI 10
BACG 0x1C
MUSC 0x3F
FADU 10
TEX1 0x815
REMA
MUSC 0x32
LOU1 GloryBoys
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x816
REMA
MOVE [6,6] [4,2]
ENUN
FADI 10
BACG 0x1C
FADU 10
TEX1 0x817
REMA
MOVE [2,3] [1,2]
ENUN
DISA [1,2]
TEX1 0x818
REMA
MOVE [1,3] [0,5]
ENUN
ENDA
Ending_event:
End_MAIN
// Events
// Manual Movement
// Scripted Fights
// Units
// Shop Data
MESSAGE Events end at offset currentOffset
Pls help me pls idk wat to do thank you