********** BEHAVIORS ********** Behaviors are references to the basic code of a sprite; what a sprite does when it's just sitting around doing nothing. (Sphereful head towards Keen, Korath walk...) 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 Sphereful's actions are patched to tat of a Korath, after animating the Sphere will permanently become a Korath, whereas if its behavior is changed it will still look like an Sphereful, but behave like a Korath 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 Slicestar head toward Keen (Sphereful 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. For example, many sprites use their 'walking' behavior to randomly become something else, such as a shooting or sitting sprite. Avoid these if possible. Note that many sprites use a random behavior only once per 'cycle' (The Shikadi Master only uses his standing behavior once in 4 frames.) This reduces memory load in-game, but means that if you want to double the chance of something happening, you simply have to add the behavior to another frame. (Or change the nature of things, make one animation frame last much longer, then your sprite will have a 'search' animation in its sitting loop where it is likely to go after Keen.) 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: ### #Keen $00000000L #Nothing $090B1710RL #Fall $0CCB0654RL #Map Keen wave $0CCB0695RL #Map Keen move $0CCB0A69RL #Map Keen $0CCB10DARL #Keen's shot $0CCB12F5RL #Open door $0AAF02FARL #Keen go into doors 1 $0AAF0312RL #Keen go into doors 2 $0AAF032BRL #Platform Keen $0AAF046DRL #Normal Keen (Wait for keypress) $0AAF0531RL #Reading Keen (Sit and stop reading at keypress) $0AAF056FRL #Keen look up $0AAF05B7RL #Keen look down $0AAF0701RL #Keen walk $0AAF08ADRL #Keen open door $0AAF0917RL #Keen go into doors 3 $0AAF09BARL #Keen flip switch (Activate switch tile) $0AAF0B62RL #Keen place gem $0AAF1001RL #Keen on pole $0AAF10B7RL #Keen move up pole $0AAF0C89RL #Keen jump/fall $0AAF0E23RL #Keen pogo $0AAF0DF7RL #Keen start pogo $0AAF114ARL #Keen move down pole $0AAF11FFRL #Keen stops looking down $0AAF120ERL #Keen move up from ledgegripping 1 $0AAF12C3RL #Keen shoot (Spawnshot) $0AAF1478RL #Keen move up from ledgegripping 2 $0AAF1497RL #Keen move up from ledgegripping 3 $0AAF14C2RL #Keen move up from ledgegripping 4 $0AAF14CDRL #Keen move up from ledgegripping 5 $0AAF14E7RL #Keen dies (Didn't make it window when falls offscreen) #Sprites in general $0F92052ARL #Items $0F920545RL #Cards $0F9206A2RL #Q.E.D/Fuse explosion $0F920776RL #Move u/d - l/r Red Platform $0F92099CRL #Move u/d - l/r Purple Platform $0F920C1BRL #Sit Red Platform $0F920CB9RL #Fall\rise Red Platform $0F921524RL #Sneaky platform $0F921005RL #Info path Purple Platform $0F92127ERL #Volte face $0F921524RL #Info path Red Platform $0F9215FDRL #Spawn pink shot $1102006FRL #Sparky walk (Randomly Sparky look for Keen) $1102008ERL #Sparky start charging $110200A2RL #Sparky look $110200EFRL #Sparky look 2 $1102013CRL #Sparky charge 1 $1102014CRL #Sparky charge 2 $110202ABRL #Ampton walk $11020405RL #Ampton pole slide $11020606RL #Ampton check pole/switch $11020986RL #Shelly prepare to jump $110209FARL #Shelly jump $11020A0CRL #Shelley smash $11C4036ARL #Mine sit $11C40507RL #Mine move $11C40626RL #Mine change dir $11C40783RL #Mine explode $11C409BCRL #Robo Red move $11C40A61RL #Robo Red shoot $11C40BAARL #Spriogrip spin (Randomly stop and move in that direction) $11C40E86RL #Shik Master stand (Randomly go to walk or shoot) $11C40EDARL #Shik Master shoot $11C40F86RL #Shik Master teleport $090B172CRL #Shik Mater's shot $11C412ECRL #Shikadi walk $11C41455RL #Shikadi zap poles $11C414E3RL #Shikadi polezap $11C416E0RL #Shock sit (Good boy shock!) $11C416F4RL #Shock bark $11C41664RL #Shock walk $11C41A21RL #Sphereful $11C41CE1RL #Korath walk ### #A list of sprites and their behaviors: ### ### #Airboard ### See GOPLATS ### #Doors ### %patch $31906 $0CCB12F5RL #Open door %patch $31924 $0CCB12F5RL #Open door %patch $31942 $0CCB12F5RL #Open door ### #Enemy shots ### #Gun %patch $3214E $00000000L #Nothing (Wait) %patch $3216C $0F9215FDRL #Spawn pink shot #Shot %patch $3218A $090B1748RL #Enemy shot %patch $321A8 $090B1748RL #Enemy shot %patch $321C6 $090B1748RL #Enemy shot %patch $321E4 $090B1748RL #Enemy shot #Shot smash %patch $32202 $00000000L #Nothing %patch $32230 $00000000L #Nothing ### #Fuses ### See Q.E.D ### #Goplats ### #Move u/d - l/r Red Platform %patch $31EAE $0F920776RL #Move u/d - l/r Red Platform #Move u/d - l/r purple Platform %patch $31ECC $0F92099CRL #Move u/d - l/r Purple Platform %patch $31EEA $0F92099CRL #Move u/d - l/r Purple Platform #Sit red platform %patch $31F08 $0F920C1BRL #Sit Red Platform #Fall-rise red platform %patch $31F26 $0F920C4ERL #Fall\rise Red Platform %patch $31F44 $0F920CB9RL #Fall\rise Red Platform %patch $31F62 $00000000L #Nothing #Info path red platform %patch $31F80 $0F920DE5RL #Info path Red Platform #Info path purple platform %patch $31F9E $0F921005RL #Info path Purple Platform %patch $31FBE $0F921005RL #Info path Purple Platform #Sneaky red plat %patch $320F4 $0F921524RL #Watch out for Keen ;p %patch $32112 $00000000L #Nothing %patch $32130 $00000000L #Nothing ### #Guns ### See ENEMY SHOTS ### #Items ### %patch $31C96 $0F92052ARL #Items %patch $31CB4 $0F92052ARL #Items %patch $31CD2 $0F920545RL #Cards %patch $31CF0 $0F920545RL #Cards %patch $31D0E $00000000L #Nothing (Stuff got) %patch $31D2C $00000000L #Nothing (Vitalin got) %patch $31D4A $00000000L #Nothing %patch $31D68 $00000000L #Nothing %patch $31D86 $00000000L #Nothing ### #Korath ### #Walking %patch $33422 $11C41CE1RL #Korath walk %patch $33440 $11C41CE1RL #Korath walk %patch $3345E $11C41CE1RL #Korath walk %patch $3347C $11C41CE1RL #Korath walk #Sit %patch $3349A $00000000L #Nothing #Stunned %patch $334B8 $090B1710RL #Fall ### #Lil' Ampton ### #Walk %patch $3252C $110202ABRL #Ampton walk %patch $3254A $110202ABRL #Ampton walk %patch $32568 $110202ABRL #Ampton walk %patch $32586 $110202ABRL #Ampton walk #Turn %patch $325A4 $00000000L #Nothing #Poleslide %patch $325C2 $00000000L #Nothing (Start) %patch $325E0 $00000000L #Nothing %patch $325FE $11020405RL #Ampton pole slide %patch $3261C $00000000L #Nothing (Stop) %patch $3263A $11020606RL #Ampton check pole/switch #Flip switches %patch $32658 $00000000L #Nothing %patch $32676 $00000000L #Nothing %patch $32694 $00000000L #Nothing %patch $326B2 $00000000L #Nothing %patch $326D0 $11020606RL #Ampton check pole/switch #Stunned %patch $326EE $090B1710RL #Fall ### #Platforms ### See GOPLATS ### #Q.E.D ### #Q.E.D %patch $334D6 $00000000L #Nothing #Q.E.D\Fuse explosion %patch $31DBE $00000000L #Nothing %patch $31DDC $00000000L #Nothing %patch $31DFA $00000000L #Nothing %patch $31E18 $00000000L #Nothing %patch $31E36 $00000000L #Nothing %patch $31E54 $00000000L #Nothing %patch $31E72 $00000000L #Nothing %patch $31E90 $0F9206A2RL #Q.E.D/Fuse explosion ### #Robo Red ### %patch $32A84 $11C409BCRL #Robo Red move #Shoot %patch $32AA2 $00000000L #Nothing (Pause before starting) %patch $32AC0 $00000000L #Nothing (Pause between shots) %patch $32ADE $11C40A61RL #Robo Red shoot (Shoot) #Shots %patch $32AFC $090B1748RL #Enemy shot %patch $32B1A $090B1748RL #Enemy shot #Shots smash %patch $32B38 $00000000L #Nothing %patch $32B56 $00000000L #Nothing ### #Shelley ### #Walk %patch $32766 $00000000L #Nothing %patch $32784 $00000000L #Nothing %patch $327A2 $00000000L #Nothing %patch $327C0 $00000000L #Nothing #Jump %patch $327DE $11020986RL #Shelly prepare to jump %patch $327FC $110209FARL #Shelly jump %patch $3281A $090B1710RL #Fall %patch $32838 $090B1710RL #Fall %patch $32856 $11020A0CRL #Shelley smash %patch $32874 $11020A0CRL #Shelley smash #Smoke %patch $32892 $00000000L #Nothing %patch $328B0 $00000000L #Nothing %patch $328CE $00000000L #Nothing %patch $328EC $00000000L #Nothing #Fragments %patch $3290A $090B1710RL #Fall %patch $32928 $090B1710RL #Fall ### #Shikadi ### #Stand %patch $33060 $00000000L #Nothing %patch $3307E $00000000L #Nothing %patch $3309C $00000000L #Nothing %patch $330BA $00000000L #Nothing #Walk %patch $330D8 $11C412ECRL #Shikadi walk %patch $330F6 $11C412ECRL #Shikadi walk %patch $33114 $11C412ECRL #Shikadi walk %patch $33132 $11C412ECRL #Shikadi walk #Zap poles %patch $33150 $11C41455RL #Shikadi zap poles %patch $3316E $00000000L #Nothing #Stunned %patch $3318C $090B1710RL #Fall #Polezaps %patch $331AA $11C414E3RL #Shikadi polezap %patch $331C8 $11C414E3RL #Shikadi polezap ### #Shikadi Master ### #Stand %patch $32E44 $00000000L #Nothing %patch $32E62 $00000000L #Nothing %patch $32E80 $00000000L #Nothing %patch $32E9E $11C40E86RL #Shik Master stand #Shoot %patch $32EBC $11C40EDARL #Shik Master shoot %patch $32EDA $00000000L #Nothing #Teleport %patch $32EF8 $00000000L #Nothing %patch $32F16 $11C40F86RL #Shik Master teleport %patch $32F34 $090B1710RL #Fall %patch $32F52 $00000000L #Nothing #Shot %patch $32F70 $090B172CRL #Shik Mater's shot %patch $32F8E $090B172CRL #Shik Mater's shot %patch $32FAC $090B172CRL #Shik Mater's shot %patch $32FCA $090B172CRL #Shik Mater's shot #Sparks %patch $32FE8 $090B1710RL #Fall %patch $33006 $090B1710RL #Fall %patch $33024 $090B1710RL #Fall %patch $33042 $090B1710RL #Fall ### #Shikadi Mine ### %patch $32958 $11C4036ARL #Mine sit %patch $32976 $11C40507RL #Mine move %patch $32994 $11C40626RL #Mine change dir #Mine explode %patch $329B2 $00000000L #Nothing (Warning anims) %patch $329D0 $00000000L #Nothing %patch $329EE $00000000L #Nothing %patch $32A0C $11C40783RL #Mine explode %patch $32A2A $00000000L #Nothing %patch $32A48 $00000000L #Nothing #Fragments %patch $32A66 $090B1710RL #Fall ### #Shocksund ### #Sit %patch $331E6 $00000000L #Nothing %patch $33204 $11C416E0RL #Shock sit #Bark %patch $33222 $00000000L #Nothing %patch $33240 $11C416F4RL #Shock bark #Walk %patch $3325E $00000000L #Nothing %patch $3327C $00000000L #Nothing %patch $3329A $00000000L #Nothing %patch $332B8 $11C41664RL #Shock walk #Jumps %patch $332D6 $090B1710RL #Fall #Barks %patch $332F4 $090B1748RL #Enemy shot %patch $33312 $090B1748RL #Enemy shot #Barks smash %patch $33330 $00000000L #Nothing %patch $3334E $00000000L #Nothing #Stunned %patch $3336C $090B1710RL #Fall ### #Slicestar ### #Straight line %patch $3270C $0F920776RL #Move u/d - l/r Red Platform #Bouncy %patch $3272A $00000000L #Nothing #Smashed %patch $32748 $00000000L #Nothing ### #Sparky ### #Walk %patch $3225C $1102006FRL #Sparky walk %patch $3227A $00000000L #Nothing %patch $32298 $00000000L #Nothing %patch $322B6 $00000000L #Nothing #Look for Keen %patch $322D4 $00000000L #Nothing %patch $322F2 $00000000L #Nothing %patch $32310 $00000000L #Nothing %patch $3232E $110200A2RL #Sparky look %patch $3234C $00000000L #Nothing %patch $3236A $00000000L #Nothing %patch $32388 $00000000L #Nothing %patch $323A6 $110200EFRL #Sparky look 2 #Start charging (Zzzt!) %patch $323C4 $00000000L #Nothing %patch $323E2 $00000000L #Nothing %patch $32400 $00000000L #Nothing %patch $3241E $1102008ERL #Sparky start charging #Charge %patch $3243C $00000000L #Nothing %patch $3245A $1102013CRL #Sparky charge 1 %patch $32478 $00000000L #Nothing %patch $32496 $1102014CRL #Sparky charge 2 #Turn %patch $324B4 $00000000L #Nothing %patch $324D2 $00000000L #Nothing %patch $324F0 $00000000L #Nothing #Stunned %patch $3250E $090B1710RL #Fall ### #Sphereful ### %patch $3338A $11C41A21RL #Sphereful %patch $333A8 $11C41A21RL #Sphereful %patch $333C6 $11C41A21RL #Sphereful %patch $333E4 $11C41A21RL #Sphereful ### #Spindred ### %patch $32DCC $11C40CA6RL #Spindred %patch $32DEA $11C40CA6RL #Spindred %patch $32E08 $11C40CA6RL #Spindred %patch $32E26 $11C40CA6RL #Spindred ### #Spirogrip ### #Moving away from walls %patch $32B74 $00000000L #Nothing (down) %patch $32B92 $00000000L #Nothing %patch $32BB0 $00000000L #Nothing (Left) %patch $32BCE $00000000L #Nothing %patch $32BEC $00000000L #Nothing (Up) %patch $32C0A $00000000L #Nothing %patch $32C28 $00000000L #Nothing (Right) %patch $32C46 $00000000L #Nothing #Spin %patch $32C64 $00000000L #Nothing %patch $32C82 $11C40BAARL #Spriogrip spin %patch $32CA0 $00000000L #Nothing %patch $32CBE $11C40BAARL #Spriogrip spin %patch $32CDC $00000000L #Nothing %patch $32CFA $11C40BAARL #Spriogrip spin %patch $32D18 $00000000L #Nothing %patch $32D36 $11C40BAARL #Spriogrip spin #Moving %patch $32D54 $00000000L #Nothing (Down) %patch $32D72 $00000000L #Nothing (Left) %patch $32D90 $00000000L #Nothing (Up) %patch $32DAE $00000000L #Nothing (Right) ### #Volte Face ### #Moving %patch $3201C $0F92127ERL #Volte face %patch $3203A $0F92127ERL #Volte face %patch $32058 $0F92127ERL #Volte face %patch $32076 $0F92127ERL #Volte face #Stunned %patch $32094 $00000000L #Nothing