Problem with events on chapter 1 (FE8)

I have a problem with a FE8 event, i made a chapter on the chapter 1 position,
then i have a event that make that appear 3 NPCs (2 knights character
0x64 and 1 other character, i tested with ephraim and cormgar) But when
they appear and a blue character is on area with x position < 5 then
the chapter end, but i didn’t make that event! my only location events
are 3 chests and nothing more, is very weird and i don’t know why it
happends.

The code is this:

[code]//Made by Camtech075 of SerenesForest
//Modified by Nintenlord

#include EAstdlib.event

EventPointerTable(0x0A,ThisChapter)

ORG 0xF11000
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:
TurnEventPlayer(0x00,reft1,5)
TurnEventPlayer(0x01,reft5,7)
TurnEventPlayer(0x02,reft12,12)
TurnEventPlayer(0x03,alliesR,18)
END_MAIN

CharacterBasedEvents:
CharacterEvent(0x3A,jerryEv,Grall,Jerry)
CharacterEvent(0x3B,EndingScene,Neil,Ethrian)
END_MAIN
/Wilford/
LocationBasedEvents:
Chest(SteelAxe,20,12)
Chest(Elixir,21,12)
Chest(SteelSword,22,12)
END_MAIN

MiscBasedEvents:
CauseGameOverIfLordDies
END_MAIN

Dunno:
//DO NOT TOUCH
WORD $00

Tutorial:
//DO NOT TOUCH
WORD $00

TrapData:
ENDTRAP

ALIGN 4

Units:
UNIT Crawl 0x7E Crawl Level(4,Ally,True) [12,19] DunnoFlag1 0x00 0x00 Bandit_Move [Hatchet,0x00,0x00,0x00] NoAI
UNIT Neil Pirate Crawl Level(2,Ally,True) [13,19] DunnoFlag1 0x00 0x00 Bandit_Move [IronAxe,0x00,0x00,0x00] NoAI
UNIT Grall Soldier Crawl Level(4,Ally,True) [14,19] DunnoFlag1 0x00 0x00 Bandit_Move [IronLance,Javelin,0x00,0x00] NoAI
UNIT Empty

Allies:
UNIT Ethrian EphraimLord 0x00 Level(6,NPC,True) [0,6] DunnoFlag1 0x00 0x00 Bandit_Move [Vulnerary,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x64 Knight 0x00 Level(14, NPC, True) [0,6] DunnoFlag1 0x00 0x00 Bandit_Move [IronLance,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x64 Knight 0x00 Level(16, NPC, True) [0,7] DunnoFlag1 0x00 0x00 Bandit_Move [IronLance,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT Empty

Recruit:
UNIT Jerry Thief 0x00 Level(1,Enemy,False) [23,11] DunnoFlag1 0x00 0x00 Bandit_Move [SlimSword,Lockpick,Elixir,0x00] [0x06,0x05,0x09,0x00]
UNIT Empty

Bad:
//Persiguen
UNIT 0x65 Soldier 0x00 Level(8,Enemy,True) [10,16] DropItem 0x00 0x00 Bandit_Move [IronLance,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Brigand 0x00 Level(4, Enemy, True) [18,16] DropItem 0x00 0x00 Bandit_Move [IronAxe,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Fighter 0x00 Level(5, Enemy, True) [6,7] DropItem 0x00 0x00 Bandit_Move [IronAxe,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Soldier 0x00 Level(11, Enemy, True) [9,10] DropItem 0x00 0x00 Bandit_Move [SlimLance,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Fighter 0x00 Level(5, Enemy, True) [18,10] DropItem 0x00 0x00 Bandit_Move [IronAxe,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Mercenary 0x00 Level(4, Enemy, True) [18,5] DropItem 0x00 0x00 Bandit_Move [SlimSword,Vulnerary,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Mercenary 0x00 Level(6, Enemy, True) [9,8] DropItem 0x00 0x00 Bandit_Move [SteelSword,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
//Atacan en rango
UNIT 0x65 Mage 0x00 Level(6, Enemy, True) [22,18] DunnoFlag1 0x00 0x00 Bandit_Move [Fire,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Myrmidon 0x00 Level(4, Enemy, True) [5,18] DunnoFlag1 0x00 0x00 Bandit_Move [SlimSword,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Mage 0x00 Level(6, Enemy, True) [6,10] DunnoFlag1 0x00 0x00 Bandit_Move [Fire,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Archer 0x00 Level(7, Enemy, True) [10,12] DunnoFlag1 0x00 0x00 Bandit_Move [IronBow,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Mage 0x00 Level(10, Enemy, True) [24,7] DunnoFlag1 0x00 0x00 Bandit_Move [Fire,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Shaman 0x00 Level(20, Enemy, True) [21,9] DunnoFlag1 0x00 0x00 Bandit_Move [Flux,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Shaman 0x00 Level(20, Enemy, True) [20,5] DunnoFlag1 0x00 0x00 Bandit_Move [Flux,0x00,0x00,0x00] [0x00,0x03,0x09,0x00]
//Unidades mas fuertes
UNIT 0x65 Knight 0x00 Level(6, Enemy, True) [20,15] DunnoFlag1 0x00 0x00 Bandit_Move [Axereaver,Javelin,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Knight 0x00 Level(8, Enemy, True) [22,15] DunnoFlag1 0x00 0x00 Bandit_Move [Axereaver,Javelin,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT 0x65 Sage 0x00 Level(1, Enemy, True) [11,14] DunnoFlag1 0x00 0x00 Bandit_Move [Physic,0x00,0x00,0x00] [0x0F,0x04,0x00,0x00]
UNIT 0x65 Warrior 0x00 Level(1, Enemy, True) [1,15] DropItem 0x00 0x00 Bandit_Move [DevilAxe,SteelBow,0x00,0x00] [0x00,0x03,0x09,0x00]
//Boss
UNIT Breguet Druid 0x00 Level(20, Enemy, True) [22,7] DropItem 0x00 0x00 Bandit_Move [Flux,AngelicRobe,0x00,0x00] [0x00,0x03,0x09,0x00]
UNIT Empty

reftl5:
UNIT 0x65 Myrmidon 0x00 Level(10, Enemy, True) [0,6] DropItem 0x00 0x00 Bandit_Move [IronSword,BlueGem,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Myrmidon 0x00 Level(10, Enemy, True) [0,7] DunnoFlag1 0x00 0x00 Bandit_Move [IronSword,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT Empty

reftL12:
UNIT 0x65 Shaman 0x00 Level(7, Enemy, True) [23,11] DunnoFlag1 0x00 0x00 Bandit_Move [Flux,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Shaman 0x00 Level(8, Enemy, True) [0,6] DunnoFlag1 0x00 0x00 Bandit_Move [Flux,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT 0x65 Shaman 0x00 Level(9, Enemy, True) [0,7] DunnoFlag1 0x00 0x00 Bandit_Move [Flux,0x00,0x00,0x00] [0x00,0x0A,0x00,0x00]
UNIT Empty

BeginningScene:
FlashCursor(12,18,60)
_LOAD1 0x0 Bad
ENUN
_LOAD1 0x0 Units
ENUN
MOVE 0x00 Crawl [12,18]
MOVE 0x00 Neil [13,18]
MOVE 0x00 Grall [14,18]
ENDA

EndingScene:
Text(0xE04)
MNCH 0x02
ENDA

jerryEv:
MUS1 0x30
Text(0xE02)
CUSA (Jerry)
ENDA
reft1:
_LOAD1 0x0 Recruit
ENUN
ENDA

reft5:
_LOAD1 0x0 reftl5
ENUN
ENDA

reft12:
_LOAD1 0x0 reftL12
ENUN
ENDA

alliesR:
CAM1 [3,6]
FlashCursor(1,6,60)
_LOAD1 0x0 Allies
ENUN
MOVE 0x00 Ethrian [1,6]
Text(0xE03)
ENDA

Bandit_Move:
REDA [0,0] 0x5 0x00 0x00 0x20

MESSAGE Events end at offset currentOffset[/code]

You can’t use event ids 0x01, 0x02, and 0x03 (and some others) for events since they’re tied to specific actions like killing a boss or seizing. 0x03 is for seizing I believe, so if that event is the one getting called, it’s probably just ending the chapter. At least that’s what I think is happening if I remember correctly how that event id works.

I usually just start from event id 0x07 and go up from there since I think the first 0x00-0x06 are used by something important.

That works !! thanks :smiley: