Debilitator Reset - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Hacks, Resources and Tutorials (https://www.ff6hacking.com/forums/forum-1.html) +--- Forum: Jidoor Auction House (https://www.ff6hacking.com/forums/forum-4.html) +---- Forum: Patches, Bugfixes, Tweaks (https://www.ff6hacking.com/forums/forum-15.html) +---- Thread: Debilitator Reset (/thread-4165.html) |
Debilitator Reset - madsiur - 01-17-2022 Debilitator Reset by madsiur version 1.0a released on 01/21/2022 apply to FF3us 1.0 (no header) wiki entry download readme Files Code: debilitator_C2_nh.ips: Patch using RAM that use free space in bank $C2 Description This hack remove the last elemental weakness set by the debilitator on a monster before setting the current elemental weakness picked in the debilitator special effect code, meaning a monster can only have one current elemental weakness set by the debilitator. To achive this, the RAM hack use 6 bytes of free RAM to store the last elemental weakness set by the debilitator; $3E2D, $3E2F, $3E31, $3E33, $3E35 and $3E37, also known as $3E25,Y (or $3E25,X) in the code for a character/monster. The "no RAM" hack use more ROM space and reload the elemental weaknesses from the monster data before applying the new weakness set by the debilitator. The bank $C2 RAM hack use 23 bytes of free space at $C26469 and the EX hack use the same amount at $EEAF01. The "no RAM" hack use 59 bytes of free space at the same offsets. Those free space offsets can be changed in a ASM file by changing the offset of the "seek" macro call. All hacks insert a JSL or JSR in the debilitator special effect code at $C23AA8. To assemble the hack use bass v14 by typing a command such as "bass -o rom.smc debilitator_C2.asm". RE: Debilitator Reset - madsiur - 01-18-2022 Seibaby pointed out that I can achieve the same result by reloading the elemental weakness(es) from the monster data instead of using RAM, so I'll release when I get the time a patch version that does this. The version using RAM will be kept in case a hack has other means of setting an elemental weakness, outside the debilitator or with the monster data. RE: Debilitator Reset - madsiur - 01-21-2022 I've added a "no RAM" hack, it use more ROM space but no free RAM. See original post and readme for details. Here's the code, I don't know if it could be optimized. I tested on monsters that have an have not the ID MSB set and it work in both cases. Code: // debilitator special effect hook RE: Debilitator Reset - Dev J - 11-25-2022 post deleted |