It's exactly what it says in the name, heavily based off Mania's iteration of both abilities.
Press Spin while midair to perform a hammer drop. Hammer Dropping into bustable walls and spikes will break them. The Hammer Drop also does damage in a small area of effect to enemies around you.
Landing onto spikes will bounce you back and stop you from taking any damage. Be warned that if you land onto a spike a second time in a row, you will take damage.
By default, the abilities are given to Sonic as well, there's no Mighty in the game by default.
The code used for handling bustable walls/floors was taken from this port of Mighty which can be found here (mainly because I got lazy):
https://mb.srb2.org/showthread.php?t=46840
Credit to Appleblurt, Monster Iestyn, and Tripel The Fox for this port and addon.
Full permission is given by me to reuse the assets or code from this addon in any subsequent work.
Press Spin while midair to perform a hammer drop. Hammer Dropping into bustable walls and spikes will break them. The Hammer Drop also does damage in a small area of effect to enemies around you.
Landing onto spikes will bounce you back and stop you from taking any damage. Be warned that if you land onto a spike a second time in a row, you will take damage.
By default, the abilities are given to Sonic as well, there's no Mighty in the game by default.
The code used for handling bustable walls/floors was taken from this port of Mighty which can be found here (mainly because I got lazy):
https://mb.srb2.org/showthread.php?t=46840
Credit to Appleblurt, Monster Iestyn, and Tripel The Fox for this port and addon.
Full permission is given by me to reuse the assets or code from this addon in any subsequent work.