Engine states view

0 : Initialisations 6 : Char select screen
1 : Logo 7 : Char story (optionnal)
2 : Intro 8 : Stage story (personnal idea)
3 : Menu screen 9 : Vs screen
4 : Option screen 10 : Battle
5 : Key config screen P : pause

All arrows means that there's a possible transitions between states.
Exemple of engine life (from one possible start to one possible end), when I put 'validation' it means player validation, enter key or esc key (sometime):
- State 0 : initialise vars, read config, read system.def, etc...
    at the end
- State 1 : Process the logo (if there's a logo)
    at the end or with validation or if there's no logo
- State 2 : Process the Intro (if there's one)
     at the end or with validation or if there's no logo
- State 3 : Process the menu screen
    at a selection (except option or exit)
- State 6 : Process the char select screen
    at a selection
- State 9 : Process the VS screen
    at the end or with validation
- State 10 : Process the battle
    at the end
- State 3 : Process the menu screen
    at 'exit' choice
- State 666 : exit (free memory and stuff like that)