Hey guys, I need some help. For The Ultimate Armada, I am hoping to get a giant Pokey boss that attacks by throwing its body segments at you(like Koopa shells). Now, to my knowledge, this is not possible to do in normal SMBX but I am wondering if it is possible to do in LunaDLL, and, if it is, have somebody help me code it.
More Detail Into How I Want the Boss to Work
The boss begins with the Pokey emerging from the ground(I can do this part myself).

The Pokey then shoots out its bottom-most segment in Mario's direction.

It gets smaller and smaller as it shoots out its segments.

The process continues until Mario is able to jump on its head.
The Pokey then goes back into the ground, and re-emerges with one extra body segment than before. Stomp on its head 3 times and you win!
(Credit to mariobros12 for the giant Pokey graphic.)
If this is possible to do with or without LunaDLL, or impossible altogether, please let me know. Any help with this is appreciated and will be credited. Thank you!