A patent application from Tetsuya Nomura and Crisis Core director Hajime Tabata's solution made a puzzle magic battle system.
In this theoretical system a puzzle battle starts whenever a player selects magic. See the tree outline? It's called a magic army. You need to configure the falling blocks to fit the frame before time runs out to cast the spell. Like Tetris blocks can be rotated and stacked. Magic effectiveness is determined by overlapping and extra blocks sticking outside of the frame. While this spell's frame is a tree another attack like cometeo can have a meteor frame.