From CloudModding MM Wiki

Error ovl_En_M_Thunder is the actor used to create the spin attack effect.

The ROM addresses for the spin attacks, the spin attack tube, and sword beams, in the debug rom/USA as well as JPN V1.0 retail cartridge have 7 locations and they all seem to be located in Ovl_En_M_Thunder:

Spin Attack Notes

0xD30D96/0xD30DB2 and 0xD52726/0xD52742 are the locations for both parts of the orange spin attack. 0xD30C92/0xD30CAE and 0xD52622/0xD5263E are the locations for both parts of the blue spin attack. 0xD312DE/0xD52C6E are the locations for the spin attack tube. Lastily, the sword beams can be found at 0xD30EB2/0xD30FB6 and 0xD52842/0xD52946. This gives us about 12 options to choose from (just as a side note there are more):

Spin Attack Display Lists

gameplay_keep Display List Offsets
Animation Debug Rom USA 1.0 JPN 1.0
Flat Orange 25DD0 25DD0 25E20
Regular Orange 25EF0 25EF0 25F40
Flat Blue 25850 25850 258A0
Regular Blue 25970 25970 259C0
Blade Beam 27CA0 27CA0 27CF0
Spin Attack Tube 268F0 268F0 26940

Spin Attack Modifiers

ovl_En_M_Thunder Values for Spin Attacks
Animation Debug Rom USA 1.0 JPN 1.0
Flat Orange 5DD0 5DD0 5E20
Regular Orange 5EF0 5EF0 5F40
Flat Blue 5850 5850 58A0
Regular Blue 5970 5970 59C0
Blade Beam 7CA0 7CA0 7CF0
Spin Attack Tube 68F0 68F0 6940

In the above table when you go to the offsets mentioned earlier, in a hex editing program, you'll see the values displayed in 2 bytes as represented in this table.

At D30D96/D30DB2 (Debug Rom/USA) and D52726/D52742 (JPN) the two values are 5850/5970 (Debug Rom/USA) and 58A0/59C0 (JPN) and at D30C92/D30CAE (Debug Rom/USA) and D52622/D5263E (JPN) the two values are 5DD0/5EF0 (Debug Rom/USA) and 5E20/5F40 (JPN), which correlate to the appearance of the gameplay_keep display lists at 15850/258A0, 25970/259C0, 25DD0/25E20, and 25EF0/25F40. Another thing is that at D312E2 (Debug ROM/USA) and D52C72 (JPN) The Spin Attack Tube display list value is 68F0/6940 (located at 268F0 (Debug Rom/USA)/26940 (JPN) in gameplay_keep) and while you can confirm it's location, it is highly recommended to not change anything in that location, is the effects are undocumented. New to MM64, You can the lui/or statements/values for the sword beam in the spin attack file at D30EB2/D30FB6 (Debug ROM/USA) and D52842/D52946 (JPN). The Sword Beam display list value is 7CA0/7CF0 (located at 27CA0 (Debug Rom/USA)/27CF0 (JPN) in gameplay_keep), and while you can confirm it's location, it is highly recommended to not change anything in that location, is the effects are undocumented.


Ovl_En_M_Thunder ROM Offsets (Debug Rom/USA 1.0/JPN 1.0)

0x1628/0x1628/0x1628 Flat Orange (3C180402...27185DD0/3C180402...27185EF0) (Change only the 5DD0/5EF0)
0x16D8/0x16D8/0x16D8 Regular Orange (3C0D0402 25AD5E20/3C0D0402 25AD5F40) (Change only the 5E20/5F40)
0x17C0/0x17C0/0x17C0 Flat Blue (3C190402 27395850/3C190402 273958A0) (Change only the 5850/58A0)
0x17DC/0x17DC/0x17DC Regular Blue (3C0E0402 25CE5970/3C0E0402 25CE59C0) Change only the 5970/59C0)
0x1D0C/0x1D0C/0x1D0C Spin Attack Tube (3C0E0402 25CE68F0/3C0E0402 25CE6940) (Do Not change the data here)
0x18DC/0x18DC/0x18DC Sword Beam 1 (3C190402 27397CA0/3C180402 27397CF0) (Do Not change the data here)
0x19E0/0x19E0/0x19E0 Sword Beam 2 (3C190402 27187CA0/3C180402 27187CF0) (Do Not change the data here)