The goldstar is an item originally created by Conn to act as a hookshot upgrade. Given that it mimics the behavior of the flailing soldier sprite, the additional delay that it adds make it undesirable for a hookshot upgrade, but it opens up some opportunity for it to be a combat oriented weapon. I've formatted and added comments to the code to assist in fulfilling the desired item behavior. From what I can recall here are the effects we want and the issues the code currently has.
Hold Y button to rotate the ball & chain continuously
Uses a timer which stops the rotation animation after one cycle.
Currently can press the Y button to interrupt the rotation and immediately shoot the goldstar forward
No longer grapples objects like a hookshot, some sort of interaction property?
Deals damage instead of stun, also an interaction property?
TODO: Does not handle somaria block or somaria blast interactions properly yet
Please review the code so far and contribute any information you may have about changing the properties or ideas for changing the rotation timer system.
The goldstar is an item originally created by Conn to act as a hookshot upgrade. Given that it mimics the behavior of the flailing soldier sprite, the additional delay that it adds make it undesirable for a hookshot upgrade, but it opens up some opportunity for it to be a combat oriented weapon. I've formatted and added comments to the code to assist in fulfilling the desired item behavior. From what I can recall here are the effects we want and the issues the code currently has.
Please review the code so far and contribute any information you may have about changing the properties or ideas for changing the rotation timer system.