********** CLIPPING AND FOREGROUND ********** This section covers how sprites interact with tiles in a level; clipping is given to sprites when they are created and can be changed occasionally, say if they are shot. Clipping alteration is pretty simple; it can take values between 0-2; and 'foreground behavior' controlls whether a sprite appears in front of Keen or behind him and such. (Values between 0-3) Sprites will pass through tiles if their clipping is set to 0, but will hit them if it is 2. If it is 1 then they will hit tiles, but will not be pushed out of them if they get 'inside' by accident. However you will notice most sprites aren't given a clipping at all, this is because they use standard 'look for walls' code and so don't actually need clipping as such. The forground behavior is either 0 (Go behind everything) 2 (Go in front of Keen and tiles) or 3 (Go in front of everything, including foreground tiles.) Foreground affects only sprite-tile interaction, a sprite that is spawned first will appear in front of one spawned later, no matter what foreground property it has. (Sprites on the top left of a level are spawned before those lower or right of them.) Some sprite collision properties are incompatible with some clippings. For example sprites (The ones in the Well of Wishes) cannot have clipping = 2 or you will get a 'fullcliptowall' error. This happens when a sprite wants to do something to a tile because of its collision type, but the clipping forbids it. If this happens, just change the collision type (Section 14) Following is a list of sprites complete with their clipping, followed by a list of sprites and their foreground behavior values. #Clipping behaviors: [None yet] #Forground behaviors: %patch $AA37 $01 $00 #Keen %patch $C0F5 $03 $00 #Item tiles got points %patch $FD58 $02 $00 #Satelite on map %patch $FF6A $02 $00 #Sandwich %patch $FFAB $02 $00 #Rope %patch $FFEC $02 $00 #Card %patch $104C4 $00 $00 #Easy only airboard %patch $10089 $00 $00 #Molly %patch $10848 $00 $00 #Bloog %patch $1090C $00 $00 #Blooguard %patch $10B42 $00 $00 #Blooglets (All colors) %patch $10C55 $02 $00 #Blooglet gem %patch $10CE3 $00 $00 #Nospike %patch $11138 $00 $00 #Gik %patch $12112 $00 $00 #Babobba %patch $121FC $02 $00 #Babobba's cinder %patch $114FC $00 $00 #Orbatrix %patch $11922 $01 $00 #Bipship's shot %patch $11A41 $02 $00 #Bip crash smoke %patch $11A7B $00 $00 #Bip crashed ship %patch $11B02 $00 $00 #Flect %patch $11D1D $00 $00 #Fleex %patch $11E6A $00 $00 #Bobba %patch $11F40 $02 $00 #Bobba's fireball %patch $123BA $00 $00 #Blorb %patch $124CA $00 $00 #Ceilick