In my mugen (Legacy Screenpack), while picking a match in training or to watch matches it gets to the vs screen and as it goes dark it closes mugen. This happens every once in a while and i don't know what the problem is.
DEF File
Spoiler, click to toggle visibilty
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 14
columns = 23
wrapping = 1 ;1 to let cursor wrap around
pos = 30,3 ;Position to draw to
showemptyboxes = 0 ;1 to show empty boxes
moveoveremptyboxes = 0 ;1 to allow cursor to move over empty boxes
cell.size = 50,50 ;x,y size of each cell (in pixels)
cell.bg.scale = .250,.250
cell.spacing = 1;Space between each cell
cell.bg.spr = ;Note: Don't use animation for cells
cell.random.spr = 10,1 ;Icon for random select (don't use animation)
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,13
p1.cursor.active.anim = 2
p1.cursor.active.scale = 1,1
p1.cursor.done.anim = 4
p1.cursor.done.scale = 1,1
p1.cursor.move.snd = 100,5
p1.cursor.done.snd = 100,3
p1.random.move.snd = 100,5
p2.cursor.startcell = 13,9
p2.cursor.active.anim = 3
p2.cursor.active.scale = 1,1
p2.cursor.done.anim = 4
p2.cursor.done.scale = 1,1
p2.cursor.blink = 1 ;1 to blink p2's cursor if overlapping p1's
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,3
p2.random.move.snd = 100,0
random.move.snd.cancel = 0;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,4
cancel.snd = 100,2
portrait.offset = 0,1
portrait.scale = .250,.250
title.offset = 320,-100 ;Position of title (Arcade Mode, etc)
title.font = 0,0,0, 0,0,0 ;Font of title (-1 for none)