addHook("MobjThinker", function(mo) if mo.skin == "amy" local player = mo.player local dashthrust if player.powers[pw_super] dashthrust = 40 else dashthrust = 15 end if (player.cmd.buttons&BT_SPIN) and ((mo.state == S_PLAY_MELEE_LANDING) or (mo.state == S_PLAY_MELEE_FINISH)) and P_IsObjectOnGround(player.mo) S_StartSound(mo, sfx_zoom) P_InstaThrust(mo, mo.angle, player.speed+dashthrust*mo.scale) mo.state = S_PLAY_ROLL player.pflags = $|PF_SPINNING end end end, MT_PLAYER)