Sword loading state is stopped if on_custom_attack_received is used
(This is an annoying problem to code flying enemies that can only be attacked with a jumping-sword attack and not from the ground, because this bug disables the sword in this case.)