[FE8][Solved] Blackscreen when inserting chapter events

EDIT: Solution: I was trying to INVIS units that weren’t loaded

I’m not entirely sure why I’m getting this error, but when I insert the event for chapter 3 it causes the game to blackscreen upon starting the chapter.

What happens when I try to play the chapter after inserting the events:

http://i.imgur.com/dlbeww0.gifv

[code]#include EAstdlib.event

EventPointerTable(0x14,ThisChapter)

ORG 0x113E600

ThisChapter:
POIN TurnBasedEvents
POIN CharacterBasedEvents
POIN LocationBasedEvents
POIN MiscBasedEvents
POIN Dunno Dunno Dunno
POIN Tutorial
POIN TrapData TrapData
POIN Good Bad
POIN $0 $0 $0 $0 $0 $0
POIN BeginningScene EndingScene

Good:
UNIT

Bad:
UNIT

TurnBasedEvents:
//Probably some reinforcement stuff
END_MAIN

CharacterBasedEvents:
//Recruit talk for Marques with Axel
//Recruit talk for Marques with Darius
END_MAIN

LocationBasedEvents:
//Chests and doors
CHES 0x0 0x13880077 [7,13] 0x14
CHES 0x0 Thunder [5,12] 0x14
_SETVAL 0xB 0x80012// [XX,YY] coordinates of top left corner
//_0x2720 0xFFFF// trigger tile change, not working for some reason
END_MAIN

MiscBasedEvents:
CauseGameOverIfLordDies
DefeatBoss(EndingScene)
END_MAIN

Dunno:
//DO NOT TOUCH
WORD $00

Tutorial:
//DO NOT TOUCH
WORD $00

TrapData:
END_MAIN

ALIGN 4

BeginningScene:
//Hide/show the right units
INVIS 0x1
INVIS 0x19
REVEAL Ephraim
REVEAL Innes
INVIS Moulder
INVIS Vanessa
REVEAL Garcia
REVEAL Forde

//Load Enemies
_LOAD1 0x1 Enemies

//Owen Sawyer load
_LOAD1 0x1 OwenSawyer

//Eagle/Eli load and move to Owen and Sawyer
_LOAD1 0x1 EE

//They talk about finding Darius and Axel

//Darius and Axel load and move towards the group
Load1 0x1 DA

//Darius and Axel talk to Owen and Sawyer

//Scene changes to inside fort

//Reece and Marques talk

//Chapter starts
EVBIT_T 0x7
ENDA

EndingScene:
//General post chapter conversation
//Conditional stuff based on if Marques lived or not
MNCH 0x4
EVBIT_T 0x7
ENDA
//Events

//Scripted Fights

//Manual Movement

//Units
OwenSawyer:
UNIT 0xF 0x1 0x00 Level(1,Ally,False) [0,17] 0x00 0x00 0x01 OwenLoad [0x0] NoAI
UNIT 0x0B 0x25 0xF Level(1,Ally,False) [0,17] 0x00 0x00 0x01 SawyerLoad [0x0] NoAI
UNIT

OwenLoad:
REDA [0,17] 0x10 0x0 0x0 0x0 0x0

SawyerLoad:
REDA [1,17] 0x10 0x0 0x0 0x0 0x0
//Everyone who isn’t owen/sawyer/the starting enemies

Enemies:
UNIT 0x48 0x3F 0x0 Level(7,Enemy,0) [15,2] 0x0 0x0 1 BossLoad [0x1F,0x28] [0x3,0x3,0x9,0x20] //Guard AI, Boss
//Load Marques
//Load Other Enemies
UNIT

BossLoad:
REDA [15,2] 0x10 0x0 0x0 0x0 0x0

EE:
UNIT 0x10 0x05 0xF Level(1,Ally,0) [1,13] 0x00 0x00 1 EagLoad [0x0] NoAI //Eagle
UNIT 0x0A 0x3F 0xF Level(5, Ally, 0) [0,13] 0x00 0x00 1 EliLoad [SteelAxe,Vulnerary] NoAI //Eli
UNIT

EagLoad:
REDA [1,16] 0x10 0x0 0x0 0x0 0x0

EliLoad:
REDA [0,16] 0x10 0x0 0x0 0x0 0x0

DA:
UNIT 0x03 0x9 0xF Level(5,Ally,0) [0,12] 0x00 0x00 1 DariusLoad [0x14,0x1C] NoAI //Darius
UNIT 0x1C 0x4E 0xF Level(1,Ally,0) [1,12] 0x00 0x00 1 AxelLoad [0x14,Vulnerary] NoAI //Axel
UNIT

DariusLoad:
REDA [2,16] 0x10 0x0 0x0 0x0 0x0

AxelLoad:
REDA [2,17] 0x10 0x0 0x0 0x0 0x0

BGStart:
EVBIT_CHECK 0x8 //some kind of check if it should fade in? Can’t find any doc on evbits
IFEQUAL 0x80D2 0xC 0x0
FADI 16
ENIF 0x80D2
_0x1A21
_0x2140 0xFFFF 0x0 0x0 //show bg
FADU 16
ENDA

BGEnd:
EVBIT_CHECK 0x8 //another check for fading
IFEQUAL 0x80BD 0xC 0x0
FADI 16
ENIF 0x80BD
TEXTSTART //Apparently is not just used for starting text
_0x2220 //No idea
FADU 16
ENDA

MESSAGE Events end at offset currentOffset[/code]

Granted I wrote the events kinda quickly so there might be some glaring error I overlooked but I can’t figure it out so I’m posting my issue here

EDIT: Tried inserting the events into other chapters, same issue, so it’s unfortunately not just chapter 3 giving me the sass, it’s the events giving me the sass, somehow.

EDIT 2: Tried inserting the events into a fresh, untouched ROM, still blackscreening, so I have not a clue what to do about this.

did you overwrite the map?

Nah turned out it was because you can’t INVIS units that haven’t been loaded.

1 Like

Basically this.

I did a dumb and C&P’d units that were INVIS’d last chapter and forgot to fix it