![]() |
They can Dance if they want to! - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html) +--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html) +--- Thread: They can Dance if they want to! (/thread-4406.html) |
They can Dance if they want to! - C-Dude - 05-23-2024 Did you know that monsters completely ignore the Dance status? How can you use Dance as an attack spell if the monsters do not respect it! ...Well, hey, they can Dance if they want to! Code: 2012D {2012A in ReCast and probably C.V. Reynolds} Yes, this is raw hex code. No, I'm not going to set up an assembly file, you can do that with the commands to the right. It's heavily annotated, you can do it! This code hooks into the Muddle/Berserk check and adds another check for the Dance bit. Dancing will supercede being Berserk for monsters; they will use dance attacks instead of fighting if both statuses are present. This behavior appears consistent with what a player does when both berserk and dancing, though I don't know if other edits in my ROM are contributing to that. *Shrug* I have not tested if this makes monsters dance correctly when calling Dance from their battle scripts. It might make them do more than cast Fire, or it might not. EDIT: There was an oversight that was causing monsters to target and damage each other while dancing. This has been corrected by pushing Y and forcing Y to be 4 before running the random dance routine. |