###### #Ending sequence ###### This excludes the Mangling Machine; that is kept seperate. There are several sections to this document, for simplicity. They are: 1.) Windows and text: The ending text window sizes, locations and text. Includes the final endtext window. 2.) Sprites and tiles The endingscreen has a number of sprites and tiles on it, this covers all the patches for them. Most of these deal with the vorticons that take pictures. 3.) Misc A few misc things that didn't quite fit ######################################## #1.) Windows and text: ######################################## #First textbox %patch $5AA9 $17 $00 #Bottom %patch $5AAD $2B $00 #Right side %patch $5AB1 $12 $00 #Top %patch $5AB5 $04 $00 #Left side %patch $5ADF $78 $00 #Pause between first and second windows %patch $5ABF $4D $2B #First Line of text read from: %patch $5AC7 $75 $2B #Second Line of text read from: %patch $5ACF $9B $2B #Third Line of text read from: %patch $5AD7 $C3 $2B #Fourth Line of text read from: %patch $1C36D "With Mortimer McMire out of the " %patch $1C395 "picture, and his brain-wave belts no" %patch $1C3BB "longer controlling them, the Vorticons" %patch $1C3E3 "are freed of their mental enslavement." #First window doesn't appear %patch $5AA8 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Second textbox %patch $5AED $16 $00 #Bottom %patch $5AF1 $2B $00 #Right side %patch $5AF5 $12 $00 #Top %patch $5AF9 $04 $00 #Left side %patch $5B1B $78 $00 #Pause between second and third windows %patch $5B03 $EB $2B #First Line of text read from: %patch $5B0B $13 $2C #Second Line of text read from: %patch $5B13 $3B $2C #Third Line of text read from: %patch $1C40B "'Commander Keen, in honor of your " %patch $1C433 "meritorious service in freeing us from" %patch $1C45B "the Grand Intellect's mental chains,'" #Second window doesn't appear %patch $5AED $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Third textbox %patch $5B29 $14 $00 #Bottom %patch $5B2D $2B $00 #Right side %patch $5B31 $12 $00 #Top %patch $5B35 $04 $00 #Left side %patch $5B57 $78 $00 #Pause between third window and thankyou window %patch $5B3F $62 $2C #First Line of text read from: %patch $5B47 $8A $2C #Second Line of text read from: %patch $5B4F $B2 $2C #Third Line of text read from: %patch $1C482 "'I and the other Vorticons you haven't" %patch $1C4AA "slaughtered want to award you the " %patch $1C4D2 "Big V, our highest honor.'" #Third window doesn't appear %patch $5B28 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 #Thankyou textbox %patch $5B65 $14 $00 #Bottom %patch $5B69 $1E $00 #Right side %patch $5B6D $12 $00 #Top %patch $5B71 $11 $00 #Left side %patch $5B83 $78 $00 #Pause between thanyou window and flashes %patch $5B7B $CE $2C #Text read from: %patch $1C4EE "'Thank you!'" #The End textbox %patch $5D1E $18 $00 #Bottom %patch $5D22 $1D $00 #Right side %patch $5D26 $14 $00 #Top %patch $5D2A $12 $00 #Left side %patch $5D34 $E7 $2C #First Line of text read from: %patch $5D3C $FD $2C #Second Line of text read from: %patch $1C507 "The End..." %patch $1C512 " For now!" #Sound for endtext appearing %patch $5D7D $16 $00 #Endtext window bottom %patch $5D68 $16 $00 #Endtext scrolling window bottom %patch $5D90 $16 $00 #Make an external endtext file [i.e endtext read from $1819D] %patchfile $1819D "ENDTEXT.TXT" ######################################## #2.) Sprites and tiles ######################################## The vorticons are numbered from left to right; 1-5 It is easy enough to stop individual Vorts taking pictures simply by adjusting what tiles are used and replaced. The flashes can also be timed quite well. Note the Thankyou box dissapears during the flash taking. The Vort and Keen sprites used can be fiddled with, but since the Keen sprite has no specific value; it isn't changeable without a patch. This patch will change the Vorticon location values, so be careful! #Level used for end %patch $5A53 $51 $00 #Vorticon sprite used %patch $5A74 $43 $00 #Height Vorticon placed in level [in pixels from top of level] %patch $5A7B $60 #How far right Vort placed [in pixels from left of level] %patch $5A83 $E0 #Give Keen and the Vorticon changeable sprites: [$60/$E0 = Vorts v/h position in pixels] %patch $5A70 $B8 $43 $00 $50 #Vort %patch $5A8A $B8 $30 $00 $50 #Keen %patch $5A74 $33 $C0 $BA $00 $60 $50 $52 $33 $C0 $BA $00 $E0 $50 $52 $E8 $46 $A8 $83 $C4 $0A $90 $90 #Height Commander Keen placed in level [pixels, from level top] %patch $5A92 $68 #How far right Keen placed [in pixels from left of level] %patch $5A99 $F8 #Vortirazzi snapshot sound %patch $5A2D $19 $00 #How long each flash lasts [1/32s] %patch $5A38 $02 $00 #pause between 1st and 2nd flash [0.32s] %patch $5BC4 $14 $00 #Pause between 2nd and 3rd flash [0.16s] %patch $5C07 $0A $00 #Pause between 3rd and 4th flash [0.08s] %patch $5C4A $05 $00 #Pause between 3rd and 4th flash [0.16s] %patch $5C8B $0A $00 #Pause between 4th flash and flash stop [0.23s] %patch $5CCE $0F $00 #Pause between flash stop and endpicture [1.9s] %patch $5CD6 $78 $00 #Tiles used for Vorticons taking pictures: %patch $5BE2 $3C $00 #Vort 1 [Leftmost] %patch $5C25 $3C $00 #Vort 2 %patch $5CA9 $3C $00 #Vort 3 %patch $5BA0 $3A $00 #Vort 4 %patch $5C67 $3A $00 #Vort 5 [rightmost] #Tiles used *after* Vorticons have taken pictures: %patch $5C01 $21 $00 #Vort 1 [Leftmost] %patch $5C44 $21 $00 #Vort 2 %patch $5CC8 $21 $00 #Vort 3 %patch $5BBE $48 $00 #Vort 4 %patch $5C85 $48 $00 #Vort 5 [rightmost] #Location of Vorticon picture taking tiles: %patch $5BD5 $03 $00 #Vort 1 h %patch $5C18 $05 $00 #Vort 2 h %patch $5C9C $08 $00 #Vort 3 h %patch $5B8E $05 $00 #Vort 4 v %patch $5B93 $13 $00 #Vort 4 h %patch $5C55 $05 $00 #Vort 5 v %patch $5C5A $14 $00 #Vort 5 h #Location of Vorticon *after* picture raking tiles: %patch $5BF4 $03 $00 #Vort 1 h %patch $5C37 $05 $00 #Vort 2 h %patch $5CBB $08 $00 #Vort 3 h %patch $5BAC $05 $00 #Vort 4 v %patch $5BB1 $13 $00 #Vort 4 h %patch $5C73 $05 $00 #Vort 5 v %patch $5C78 $14 $00 #Vort 5 h #Stop ALL Vorticons taking pictures %patch $5A08 $C3 ######################################## # Misc: ######################################## #Don't use the finale picture, endtext appears on vortiking level #Make vortiking level bigger as location shifts offscreen for #Game over! %patch $5C67 $48 $00 %patch $5C85 $48 $00 %patch $5C73 $05 $00 %patch $5C78 $14 $00 %patch $5C8B $0A $00 #Level used for finale pic and game over screen %patch $5CFB $51 $00 #Game looks here for FINALE.CK3 filename %patch $5CF0 $DC $2C %patch $1C4FC "finale.ck3" #Puase between Finale picture appearing and the end textbox appearing %patch $5D16 $90 $01 ### #Replace windows with extra sprites: ### First select how many extra sprites you want displayed in the ending screen [noting how many windows these will use] and copy their code. Make sure you edit their location and sprite numbers [see above] Then look at the adjustment code for each window; if for example you've used 3 windows to make extra sprites, you'll copy the two lines marked '3 windows' NOT the lines marked 1,2 AND 3 windows; you only need two lines of adjustment code! Note that sprites created later will be drawn OVER those drawn first [though you might be able to see them behind the most recent sprite] This is only a problem when you put sprites close together so one is in front of the other. All sprites used here will use the purple spark animation and be located IN THE SAME PLACE! [You'll have to edit their location before you can see them all.] This location is Horizontal $40 pixels, Vertical $30 pixels. You can see this in the code. The h/v position is only ONE $ long! [e.g $30 NOT $30 $00] You MUST use the patches consecutively; that is, you cannot just blank window 2, and leave window 1, either blank both 1 and 2, OR blank just window 1 Since you can easily patch window sizes and such this isn't really a problem, all windows are basically alike. If you've blanked a window and have an 'extra' sprite [Say you wanted 3 extra but got four] Either edit it to be the same as another sprite you're using [So they superimpose], make its vertical position offscreen [so you can't see it] or make it something like a zap/zot [that nobody will notice] If you want all the windows AND some extra sprites, contact Levellord as this is harder to do. [But possible] #Extra sprites, use as many as you want #Key: [Sprit num] [Vert] [Horz] # v v v #Window 1 %patch $5AA2 $B8 $72 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $14 $A8 $83 $C4 $0A #Extra Sprite 1 %patch $5ABA $B8 $73 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $FC $A7 $83 $C4 $0A #Extra Sprite 2 #Window 2 %patch $5AD2 $B8 $74 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $E4 $A7 $83 $C4 $0A #Extra Sprite 3 %patch $5AEA $B8 $75 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $CC $A7 $83 $C4 $0A #Extra Sprite 4 %patch $5B02 $B8 $72 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $B4 $A7 $83 $C4 $0A #Extra Sprite 5 #Window 3 %patch $5B1A $B8 $73 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $9C $A7 $83 $C4 $0A #Extra Sprite 6 %patch $5B32 $B8 $74 $00 $50 $33 $C0 $BA $00 $30 $50 $52 $33 $C0 $BA $00 $40 $50 $52 $E8 $84 $A7 $83 $C4 $0A #Extra Sprite 7 #Adjustment code, use only two lines! #1 window %patch $5AD2 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 %patch $5AE6 $E8 $A4 $A7 $E8 $05 $D3 #2 windows %patch $5B1A $90 $90 $90 $90 $90 $90 $90 $90 %patch $5B22 $E8 $68 $A7 $E8 $C9 $D2 #3 windows %patch $5B4A $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 $90 %patch $5B5E $E8 $2C $A7 $E8 $8D $D2