You can have him behave however you want, but here are some ideas I had for the AI. -------------------------------- PHASE 1 ---------------------------------- He attacks using this pattern: 1: He flies to one of the top corners and fires a beam directly down and flies almost all the way to the other corner. 2. He teleports to the center and fires two missiles at the player. He also does this three times. 3. He uses a random robot master weapon from one of the 8 robots you fought at the start. 4. He flies to a random place near the top of the screen, then flies around while dropping bombs. 5. He slams down into the ground, releasing a shockwave. -------------------------------- PHASE 2 ---------------------------------- 1. He runs from one side of the screen to the other, shooting three fireballs along the way. 2. Charges up, then fires two charged buster shots that bob up and down. 3. Jumps up and shoots a lightning bolt. 4. Repeats the above attacks 4 times. 5. Runs to the other side while jumping and shooting buster shots (kind of like Proto Man) 6. Charges up, then fires a lightning bolt and four bouncing fireballs. -------------------------------- PHASE 3 ---------------------------------- 1. Flies around while sometimes dropping fireballs. 2. Spins while shooting out buster shots. 3. Dashes to a random place, then shoots some buster shots. 4. Activates the Power Gear; for ten seconds, he leaves a trail of fire as he flies around, and all his attacks are improved. IF it is already active at this point, he instead shoots some buster shots and a fireball. Improved 1. Fireballs are larger and some may bounce. Improved 2. As he spins, fire flies out. Improved 3. He does 3 dashes.
The people I credited are listed at the bottom. Transitions between phases: Phase One to Phase Two: The capsule breaks, and he jumps out and falls to the ground. After he lands, he slowly gets up, then does his "shocked" stance from cutscenes, then raises his arms and begins to light up. When the light dies back down, he is in his Skull Armor. Phase Two to Phase Three: He jumps out of his armor, and while hanging in midair, he laughs, and then turns into the Alien. Credit to @james08 for most of the Wily sprites and the capsule sprites. Credit to @DancingBoi for the Alien sprites. Credit to some other person whose name I can't remember for the Armored Wily sprites. Credit to Capcom for creating Mega Man