********** SEEKING KEEN ********** This section deals with what makes sprites chase or seek out Keen, a large part of what makes them seem intelligent. Sprites usually seek Keen simply by moving right or left depending on whether he is right or left of them. There are usually two entries for this; +1 and -1 which reverse the speed of a sprite when it gets to one side of Keen. Thus about all you can do is edit these values. +1 is usually for right speeds, -1 ($FF $FF) for left. Setting any value to zero will make a sprite become still. So if say the +1 entry is set to 0, an Arachnut say, will be able to chase Keen left, but will be stuck behind an 'invisible wall' trying to chase him right. Setting both values to zero will make your sprite almost useless. Reversing both values will make a sprite 'fear' Keen; it will always try and stay as far away from him as possible. Reversing just one of the values means a sprite will try and get to one side of the level. (It will chase Keen left say, but if he jumps and it rushes past, it will keep heading left to get away from him.) Values other than -1, 0 and +1 will cause extreme difficulty, and even crashes. Sadly there is little way to make a seeking sprite ignore Keen totally, the best you can do is set its speeds to 0 and change it's animation speeds to make itmove back and forth. (Hey, I'm working on it, okay Andy?) Note that just because something doesn't seek Keen, doesn't mean it can't seem to; the Birds and Arachnutsfor example have a random compnent to their movement that means they can walk right into Keen by 'accident' rather than by chasing. However, stopping chasing certainly makes things easier. This section also deals with distances sprites measure; such as the Lick and Wormouth checking if they're close enough to flame or bite. ### #Blooguard ### #Clubs if Keen is level with Guard %patch $109A9 $90 $90 #Clubs any time, no matter where Keen is %patch $109B5 $90 $90 ### #Fleex ### #Randomly seek Keen when walking: %patch $11D9F $FF $FF %patch $11DA4 $01 $00 ### #Gik ### #Gik attack distance %patch $111C8 $07 #Right: 7 %patch $111C2 $F9 #Left: -7 #Gik don't attack Keen he's riding on you distance: %patch $111D4 $00 #Right: 1 %patch $111CE $FF #Left: -1 #Gik jump toward Keen %patch $111B6 $01 $00 #Right %patch $111BD $FF $FF #Left ### #Orbatrix ### #Seek Keen when floating %patch $11586 $FF $FF %patch $1158B $01 $00