********** BEHAVIORS ********** Behaviors are references to the basic code of a sprite; what a sprite does when it's just sitting around doing nothing. (Inchworms head towards Keen, Poison Slugs crawl...) When a sprite is behaving (Ha ha.) it can do other things, like colide with tiles and sprites. As such this section can change how a sprite behaves in much the same way as the actions sections, the difference being that actions are animation dependent, for example if the Inchworm's actions are patched to tat of a Lick, after animating the Inchworm will permanently become a lick, whereas if its behavior is changed it will still look like an Inchworm, but behave like a Lick only when you want it to. Using this section you can make sprites act like other sprites for certain periods of time. This can be useful if you want your sprite to act 'out of the box', such as having a landed Skypest head toward Keen (Inchworm behavior) Note that if you use other sections such as the seeking Keen section to change sprite behaviors, the change will affect ALL sprites you patch to use that behavior. Beware though that sometimes a behavior can permanently change a sprite's type. The only way to avoid this is through basic trial-and-error, eventually you will get a 'feel' for what you can and can't do with sprite behaviors. Following is a list of all behaviors followed by a list of Keen's behaviors to patch. To patch simply replace on action with the action you want the sprite to use. ### #How Keen [And sprites] can act: ### $00000000RL #Animate [E,g do nothing] $09DC16C9RL #Fly through the air and wait to hit ground, then animate [E.g stunned sprites] $0B800234RL #Entering doors 2 $0B80024CRL #Entering doors 3 $0B800395RL #Normal Keen [Stand and wait for arrows] $0B80045CRL #Reading Keen [When arrows pressed become standing Keen] $0B80049ARL #Keen looking up [Move screen up when up arrow pressed, else, standing Keen] $0B8004E2RL #Keen looking down [Move screen down when down arrow pressed, else, standing Keen] $0B80062CRL #Keen walk [Walk with arrows or be standing Keen] $0B8007D8RL #Entering doors start [Move across slightly, start entering door] $0B800842RL #Entering doors 4 [Go invisible, shift to target destination and become standing Keen] $0B8008B9RL #Flicking switches [Animate switch tile behind sprite] $0B800A34RL #Placing gem [Animate gem holder tile behind sprite] $0B800B5BRL #Jumping and falling $0B800CC9RL #Pogoing start [Bounce up in air] $0B800CF5RL #Pogoing [Fall and bounce of ground, move with arrows] $0B800ED3RL #Keen on pole [Sit in air and wait for arrows to climb pole] $0B800F89RL #Keen go up poles [Climb with arrow up or sit on pole] $0B80101CRL #Going down poles [Climb down with arrow or sit on pole] $0B8010D1RL #Keen jump down from one-way-up platforms $0B8010E0RL #Keen grip ledge [Hang in space, climb up or fall with arrows] $0B801195RL #Shooting [Spawn Keen's shot in arrow direction] $0B80134ARL #Climbing up from grip 1 $0B801369RL #Climbing up from grip 2 $0B801394RL #Climbing up from grip 3 $0B80139FRL #Climbing up from grip 4 $0B8013B9RL #Dead Keen [Fall offscreen] $0D8F06AFRL #Map Keen waving $0D8F06F0RL #Map Keen standing/walking $0D8F07ABRL #Map Keen on Foot $0D8F0826RL #Map Keen swimming $0D8F0BC4RL #Flag flipping start [Appear with a pop sound] $0D8F0BEFRL #Flag flipping [Head toward level marker] $0D8F0C51RL #Flag land [Land in level marker with a thud sound] $0D8F0D6ARL #Keen's shot [Move 9n a line] $0D8F0F85RL #Doors open [Animate tiles behind where door sprite placed] $0E8F0E17RL #Keen swimming 1 $0E8F0FAERL #Keen swimming 2 $11A20974RL #Keen's bubbles $16E5W $09DCRW #Same as above, almost. Used by Berkeloid flames $1701W $09DCRW #Sit; used by Clouds $171FW $09DCRW #Sit; used by Berks $002EW $0FA8RW #Miragia animation 1 $008BW $0FA8RW #Miragia animation 2 $00B3W $0FA8RW #Miragia animation 3 $00DBW $0FA8RW #Miragia animation 4 $0103W $0FA8RW #Miragia animation 5 $012BW $0FA8RW #Miragia animation 6 $0153W $0FA8RW #Miragia animation 7 $017BW $0FA8RW #Miragia animation 8 $024EW $0FA8RW #Item animate (Regularly) $02D4W $0FA8RW #Randomly turn into a thinking Council member $0369W $0FA8RW #Randomly turn into a Sliming Slug $03A6W $0FA8RW #Produce Slug Slime and turn into a Poison Slug $0493W $0FA8RW #Mad Mushroom $05ABW $0FA8RW #Hatched Bird $0779W $0FA8RW #Walking bird $07D7W $0FA8RW #Flying Bird $0AF9W $0FA8RW #Arachnut $0BE7W $0FA8RW #Skypest flying $0CF1W $0FA8RW #Skypest flying up off ground $0071W $1080RW #Wormouth look right $0091W $1080RW #Head toward Keen (Won't turn into Wormouth, I promise!) $00B4W $1080RW #Wormouth look left $00D4W $1080RW #Wormouth check if close to Keen before looking or biting $020CW $1080RW #Cloud waking up $0278W $1080RW #Cloud look for Keen and maybe strike $032AW $1080RW #Lightening $040BW $1080RW #Berkeloid $04A4W $1080RW #Berkeloid flame $051CW $1080RW #BVerkloid after tossing flames $0770W $1080RW #Head toward Keen $0B42W $1080RW #Lick head toward Keen, maybe flame him $0D44W $1080RW #Move like an Airboard (Reverse when hitting Block sprites) $114FW $1080RW #Become a faling platfrom if Keen jumps on it $1182W $1080RW #Look for a Block sprite, become a rising platform if you hit one $11F8W $1080RW #Look for a block sprite and sit if you hit one, fall if Keen hits you FB???? $0079W $11A2RW #Look if there are items above you, if so, move up to get them $022AW $11A2RW #Look for items, teleport to them as a Smirky $0494W $11A2RW #Look for Keen, if he's far away, become a sneaking Mimrock $04F8W $11A2RW #Mimrock looks for Keen, either jump or sit still $0700W $11A2RW #Et sc ??? Unknwown!!! $0711W $11A2RW #Head toward Keen both h and v $077AW $11A2RW #Look for Keen and Schoolfish, if close become a snacking Dopefish $086EW $11A2RW #Dopefish snacks on a sprite $0912W $11A2RW #Produce a big bubble $0974W $11A2RW #Bubbles $0AF6W $11A2RW #Head toward Keen, both h and v $0BB1W $11A2RW #Sprite $0C18W $11A2RW #Look for Keen and become a shooting sprite if he's near $0C3BW $11A2RW #Produce a Sprite Shot $0D44W $1080RW #Mine (Note prev sec????????????????????) $0E01W $11A2RW #Float up and down like Lidnsey $0EE6W $11A2RW #Produce Dart shooter Dart ### #A list of sprites and their behaviors: ### ### #Bubbles ### %patch $308E4 $11A20974RL #Keen's bubble behavior %patch $30902 $11A20974RL #Keen's bubble behavior %patch $30920 $11A20974RL #Keen's bubble behavior %patch $3093E $11A20974RL #Keen's bubble behavior ### #Miragia ### %patch $30C7C $0FA8002ERL #Miragia behavior %patch $30C9A $0FA8008BRL #Miragia behavior %patch $30CB8 $0FA800B3RL #Miragia behavior %patch $30CD6 $0FA800DBRL #Miragia behavior %patch $30CF4 $0FA80103RL #Miragia behavior %patch $30D12 $0FA8012BRL #Miragia behavior %patch $30D30 $0FA80153RL #Miragia behavior %patch $30D4E $0FA8017BRL #Miragia behavior %patch $30D6C $0FA8024ERL #Miragia behavior %patch $30D8A $0FA8024ERL #Miragia behavior %patch $30DA8 $00000000RL #Miragia behavior