The speed is a product of the animation speed and h\v speed,i n the sixth and eigth line of the patch. This patch uses a speed of $40 and an animation speed of $6. The shot directions depend on the following lines, and can be diagonal or even sit still.
The last line makes the shot vanish instantly when it hits walls and floors, so the player can't get it again. If removed then the flower power will blink a bit before vanishing instead.
Code: Select all
#Stop Keen throwing Flower Power...
%patch $6D29 $1130W #Upwards
%patch $71B0 $152CW #Upwards while jumping
%patch $7275 $11A8W #Upwards on a pole
#Flower power move in straight lines
%patch $24642 $00A2W $00A2W $0001W $0000W $0000W $0006W $0040W $0040W
$00000000L
%patch $24660 $00A3W $00A3W $0001W $0000W $0000W $0006W $0040W $0040W
$00000000L
#Up
%patch $641A $10 $FFFFW
%patch $641F $0E $0000W
#Right
%patch $642A $10 $0000W
%patch $642F $0E $0001W
#Down
%patch $643A $10 $0001W
%patch $643F $0E $0000W
#Left
%patch $644A $10 $0000W
%patch $644F $0E $FFFFW
#Vanish when hitting solid tiles
%patch $6964 $0000W