$0000 - $0200 #CK3Patch header $0888 - $090B #Quitting windows $0B5F - $0CB4 #Menu function; take screenshot KEENSCRN.PIC $0CB5 - $0DAC #F1, F2... window activation and setup [also sound y/n window] $0E22 - $0EA6 #CTSpace cheat $0EA7 - $114A #Status box setup $114B - $11BE #Godmode cheat $153A - $1781 #Joystick configuration window setup $1782 - $1930 #Display control keys in change commands window $1931 - $1AFD #Change keyboard commands window setup $20DC - $21B9 #Record and paly demo [stunted code] $2495 - $25C4 #Build *all* windows [These later filled with text, etc] $3A91 - $3BD3 #Spawn sprite start (Uses next list and goes to spawning code) $3BD4 - $3C1F #List of sprite numbers and offsets to go to (Including Keen!) $3C20 - $3C81 #Vorticon spawning code $3C82 - $3CE3 #Vortikid sprite spawning code $3CE4 - $3D45 #Vortiom sprite spawning code $3D46 - $3DAD #Meep sprite spawning code $3DAE - $3E0F #Vortninja sprite spawning code $3E10 - $3E71 #Foob sprite spawning code $3E72 - $3EF3 #Ball sprite spawning code $3EF4 - $3F75 #Jack sprite spawning code $3F76 - $3FBD #H platform sprite spawning code $3FBE - $3FFF #Vert platform sprite spawning code $4000 - $4032 #Right gun shot sprite spawning code $4033 - $4065 #Vert gun shot sprite spawning code $4066 - $40A2 #Purple spark sprite spawning code $40A3 - $40DF #Heart sprite spawning code $40E0 - $4117 #MM hand sprite spawning code $4118 - $4149 #MM right\left foot sprite spawning code $414A - $4216 #Vorticon movement, speed and behaviour $4217 - $4226 #List used for Vorticon $4227 - $4274 #Vorticon slide $4275 - $42CF #Vorticon slide toward Keen $42D0 - $4310 #Dead vorticon spawning behaviour $4311 - $4390 #Vortikid run $4391 - $43D8 #Vortikid jumping behaviour $43D9 - $440B #Dead Vorikid spawning code $440C - $44B8 #Vortimom walk $44B9 - $453D #Vortimom pause and shoot $453E - $466D #Vortimom shooting behaviour $466D - $46C5 #Vortimom bullet code $46C6 - $470B #Vortimom bullet death behviour [when shot] $470C - $4745 #Dead Vortimom spawning code $4746 - $47D2 #Meep walk $47D3 - $4806 #Meep shoot $4807 - $4836 #Meep shoots left and bullet speed $4837 - $4873 #Meep shoots right and bullet speed $4874 - $4897 #Meep bullet code $4898 - $48D1 #Dead Meep spawning code $48D2 - $48F6 #Meep bullet movement and behaviour $48F7 - $499C #Vortninja wait $499D - $49CC #Vortninja jump $49CD - $4A0B #Dead Vortninja spawning code $4A0C - $4AD7 #Foob walk $4AD8 - $4B2B #Foob run $4B2C - $4B7A #Foob scream $4B7E - $4BBC #Dead Foob spawning code $4BBD - $4C0A #Jack secondary movements $4C0B - $4C46 #Ball secondary movements $4C47 - $4CC9 #Platforms move $4CCA - $4CF1 Platforms change direction $4CF2 - $4D33 #Enemy bullets death and behaviour $4D34 - $4D9A #Right enenmy bullet behaviour $4D9B - $4E01 #Vert enemy bullet behaviour $4E02 - $4E18 #Purple spark behaviour [Sit there and animate] $4E19 - $4EA5 #Purple spark death behaviour [Inc *some* of MM arms being destroyed] $4EA6 - $4EBD #Heart behaviour [Sit and animate] $4EBE - $4F44 #Heart death behaviour, simalar to spark death $4F45 - $4FB5 #Replace an area in the level (MM blow up) $4FB6 - $5062 #The MM armtile replacement code $5063 - $50F3 #The MM body destruction code $50F4 - $52F0 #The MM arm tiles and movement $52F1 - $552D #MM leg tiles $552E - $5552 #MM leg movement $5553 - $55CE #Keen gets [and after] stunned [see also $7C8E] $5705 - $5A07 #Mort conversation window size data $5A08 - $5A4E #Flashes in ending sequence [makes Vort heads show flash tiles too] $5A4F - $5D88 #Ending sequence windows data $5DA9 - $5E63 #Door opening animation $5FBD - $6007 #Used once per shootable sprite when spawned $6008 - $6048 #Used once per unshootable sprite when spawned $6228 - $626A #Keen respond to l\r arrows in-level $62B4 - $62F6 #Gravity subroutine $62F7 - $6322 #Sprites hit tiles subroutine $6323 - $66C8 #Sprite hit tiles specifics used by above $6C75 - $6F06 #Light and bridge switch code $6F07 - $7086 #Keen standing code $7087 - $7144 #Keen walking code $7145 - $7189 #Keen plummet code $718A - $71C2 #Keen starting pogoing/jumping $71C3 - $7221 #Keen starting shooting $7222 - $7335 #Keen jumping $7336 - $74AB #Keen jumping and bopping head $74AC - $756D #Keen shooting $756E - $76EA #Keen pogoing and bopping head $76EB - $ #Keen pogoing off of floor $7795 - $789D #Exiting levels code [Not exit tile interactions] $789E - $ #Death behaviour $7AB5 - $7AD5 #Raygun tile interactions $7AD6 - $7AF9 #Pogo tile interactions $7AFA - $7B38 #Exit tile interactions $7B39 - $7B76 #Keycard tiles interactions $7BC3 - $7BEB #Single bullet tile interactions $7C8E - $7CD7 #Keen stunned behaviour $7CD8 - $7E04 #Keen's shot and shooting $7E05 - $7E28 #Zap/zot dissapearing behaviour [They are spawned elsewhere] $7E29 - $7E6A #Keens shot movement and behaviour $7E6B - $7EB0 #Keen after shooting $7EB1 - $7EBF #Dead sprite behavior (Sit still) $7EC0 - $7F02 #Dying sprite behavior (Jump up\ fall down) $7F03 - $8012 #Unused death behaviour $8013 - $8047 #Unused death behaviour zap/zot $84FE - $8562 #Ankh sprite $8644 - $87D3 #Default high score file written, unused externaltextfile code, other code also $89F5 - $8146 #Switch and bridges $8B31 - $8BF4 #Map Done markers $891B - $8E1C #Place Keen on map, also contains Messie initialization behaviour and Keen entering levels $8E1D - #Messie behaviour and movement $9464 - $980A #Keen get highscore, score file modified Game over sequence $980B - $9871 #Lives left box $9872 - $98D3 #Default highscore names written $98D4 - $9AD2 #Play start sequence, go to menu, give Keen stuff at game start 'demo' when waiting at menu $9E4F - $9EDB #Menu function setup $9EDC - $9F94 #Menu box setup $9FCF - $A00C #Previews setup and footer window $A085 - $A0C9 #F1 for help sprite and title bitmap $A0CA - $A144 #About Id screen setup $A145 - $A252 #High scores screen setup $A2AD - $A43F #Save game window setup and make savefile $A440 - $A562 #Load saved game window setup and read saved files $A563 - $A5A3 #Storytext window setup $A5A4 - $A621 #Helptext window setup [See also $A65D] $A65D - $A672 #Large internal text window setup [help, story, etc] $A673 - $A737 #Small footer window setup and where text is read from $A738 - $A7A1 #Previews clears screen after pressing ESC [See also $9FCF] $A7A2 - $A9C1 #Text windows wait for key, then return [also arrows move, etc] $A9C2 - $A9C8 #Rising apogee sign $A9D9 - $AA4F #Appearing bitmaps sequence $AB28 - $AE32 #Ordering info Keen/Foob sequence [not all of sequence] $AE33 - $AEB6 #Ordering info text setup $AEB7 - $? #Unknown screen setting function $B753 - $B83E #Messie movement and pick up Keen $B83F - $B93B #B-wB message window setup $BCB5 - $BDD6 #Show text initially in text windows [Story, help, etc] $C1AC - $C1C5 #Clear 'Wait a moment' screen, used elsewhere too $C52C - $C546 #Help set graphics colors for menu and start [not 'vital'] $C5A3 - $C6B0 #Something vital for drawing *all* sprites $C969 - $C977 #Play a sound $CAD2 - $CB21 #Randomize jump heights $CB44 - $CB57 #Random number generator $EBC1 - $EBF8 # Used twice when spawning each sprite (Place graphic?) $12AC0 - $13A6F #End ASCII screen $13A70 - $13D20 #Sound data header $13D21 - $179CF #Sound data $179D0 - $1819C #Helptext $1819D - $184DC #Endtext $184DD - $18BC4 #Previews text $18BC5 - $197F3 #Story text $197F4 - $19891 #Abnormal text program termination text $198C8 - $1BA4B #Tile information $1BA4C - $1BA9D #Level filenames quit\sound text $1BA9E - $1BAF2 #CTSpace cheat text $1BAF3 - $1BB7F #Statusbox text $1BB80 - $1BBA6 #Godmode text and .CK3 extension $1BBA7 - $1BCC3 #Loading text, options and VGA/EGA card error text $1BD84 - $1BDC6 #Four default palettes and border colors $1BD94 - $1BDC7 #Main border color values $1BDC8 - $1BFFB #Joystick configuration and contol change text $1BFFC - $1C032 #Memory error messages $1C033 - $1C08C #Filenames game uses, point item values ending sequence palette $1C08D - $1C36C #Mort text $1C63D - $1C521 #Ending sequence text $1C522 - $1C54F #Program text faliure error messages $1C550 - $1C5AB #Unused textfile names $1C619 - $1C655 #And messie sprites $1C656 - $1C692 #Default high score table entries and text $1C693 - $1C774 #Disk error $1C775 - $1C86F #Highscore and menu texts $1C870 - $1CA19 #About ID text $1CA1A - $1CBED #Game saving text $1CBEE - $1CE03 #Ordering info text $1CE04 - $1CFE7 #B-w-B messages $1CFE8 - $1D009 #Missing a text file! #Unknown functions of known areas $1517 #Shifts all mobile txt windows %patch $2E15 $04 $00 #Use 2nd palette when fading out %patch $2E6A $04 $00 #Use 2nd palette when fading 1n %patch $6C6C $04 $00 #Lights use 2nd palette $8DF2 #MM level location data $98F2 - $98F8 #Keen pogo-shots location data