X to attack and Y to block. The AI is a slightly below average fighter and you will probably beat it. In the full game, dfifferent NPCs will have different AIs. I wrote it myself. It will have better graphics since it was made by a coder, not an artist. LOL <><><><><><><><><><><><><><><><><><><><><><><><><><>This is for Swords of Wrath, a work in progress collaboration! Thread: https://scratch.mit.edu/discuss/topic/248645/?page=1#post-2547413
I redid pretty much the whole thing. I used Rappyragon's actual attack and block mechanism but did what he did in 4 variables with 2 variables and wrote the whole AI. There is a large difference and I also commented my code LOL! <><><><><><><><><><><><><><><><><><><><><><><><><><>Update log: Fixed a mechanic by which attacks still worked even when the attacker changed to blocking. The bug is still sort of there but it now checks that it has at least gone back to attacking before making the attack by rappyragon (V0.2.3) (~12:30.9.4.2017 A.D.) Fixed a bug whereby it would do something if a condition is met and then do it anyway by rappyragon (V0.2.2) (~12:30.9.4.2017 A.D.) A very big and important bug fix by CheekyApeGames (V0.2.1) (9/4/17) AI added and variables switched about by CheekyApeGames (V0.2.0) (9/4/17) First created by Rappyragon_from_HKDG (V 0.1.0) (9/4/17)