Dynamic Shadow Script (8 frame function)

Hi guys ^^


I use a  @galv  script:


http://galvs-scripts.com/category/rmvxa-scripts/audiovisual-effects/#post-662


with other addition movement frame by modern algebra


http://rmrk.net/index.php?topic=50452.0


The Galv script, however, bad runs with more than 4 frame.
Its possible make this script  for use character with 8 frame?
At the moment the situation is this:


Senza titolo-1.png

Original thread: https://forums.rpgmakerweb.com/threads/dynamic-shadow-script-8-frame-function.73322/