Prev: C800 Up: Map Next: D000
CC00: Miner Willy meets the Kong Beast (teleport: 1236)
Used by the routine at 8684.
miner_willy_meets_the_kong_beast
The first 512 bytes are the attributes that define the layout of the cavern.
CC00 DEFB $72,$00,$05,$00,$00,$00,$06,$00 Attributes
CC08 DEFB $00,$00,$05,$00,$00,$00,$00,$00
CC10 DEFB $00,$72,$06,$00,$72,$00,$00,$00
CC18 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CC20 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CC28 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CC30 DEFB $00,$72,$00,$00,$72,$00,$00,$00
CC38 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CC40 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CC48 DEFB $00,$00,$00,$00,$00,$00,$00,$42
CC50 DEFB $42,$72,$00,$00,$00,$00,$00,$00
CC58 DEFB $00,$00,$00,$00,$00,$42,$42,$72
CC60 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CC68 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CC70 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CC78 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CC80 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CC88 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CC90 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CC98 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CCA0 DEFB $72,$42,$42,$42,$00,$00,$00,$00
CCA8 DEFB $00,$42,$42,$42,$42,$42,$42,$00
CCB0 DEFB $00,$72,$42,$42,$00,$00,$00,$00
CCB8 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CCC0 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CCC8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CCD0 DEFB $00,$72,$00,$00,$00,$42,$42,$42
CCD8 DEFB $42,$00,$00,$00,$00,$00,$42,$72
CCE0 DEFB $72,$00,$42,$42,$42,$00,$00,$00
CCE8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CCF0 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CCF8 DEFB $00,$00,$00,$42,$00,$00,$00,$72
CD00 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CD08 DEFB $42,$42,$42,$00,$00,$00,$00,$00
CD10 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CD18 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CD20 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CD28 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CD30 DEFB $00,$72,$42,$42,$42,$42,$42,$00
CD38 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CD40 DEFB $72,$42,$00,$00,$00,$00,$00,$00
CD48 DEFB $00,$00,$00,$00,$42,$42,$42,$00
CD50 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CD58 DEFB $00,$00,$00,$42,$42,$42,$42,$72
CD60 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CD68 DEFB $00,$42,$42,$00,$00,$00,$00,$00
CD70 DEFB $00,$72,$00,$00,$00,$00,$00,$00
CD78 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CD80 DEFB $72,$00,$00,$00,$42,$42,$00,$00
CD88 DEFB $00,$00,$00,$00,$00,$00,$00,$00
CD90 DEFB $00,$72,$00,$00,$00,$00,$42,$42
CD98 DEFB $42,$42,$42,$00,$00,$00,$00,$72
CDA0 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CDA8 DEFB $00,$00,$00,$44,$44,$44,$72,$00
CDB0 DEFB $00,$72,$42,$42,$00,$00,$00,$00
CDB8 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CDC0 DEFB $72,$00,$00,$00,$00,$00,$00,$00
CDC8 DEFB $00,$00,$00,$00,$00,$00,$72,$00
CDD0 DEFB $00,$72,$00,$00,$00,$00,$00,$04
CDD8 DEFB $00,$00,$00,$00,$00,$00,$00,$72
CDE0 DEFB $72,$42,$42,$42,$42,$42,$42,$42
CDE8 DEFB $42,$42,$42,$42,$42,$42,$42,$42
CDF0 DEFB $42,$42,$42,$42,$42,$42,$42,$42
CDF8 DEFB $42,$42,$42,$42,$42,$42,$42,$72
The next 32 bytes are copied to 8000 and specify the cavern name.
CE00 DEFM "Miner Willy meets the Kong Beast" Cavern name
The next 72 bytes are copied to 8020 and contain the attributes and graphic data for the tiles used to build the cavern.
background_7 floor_7 crumbling_floor_7 wall_7 conveyor_7 nasty1_7 nasty2_7 extra_7
CE20 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 Background
CE29 DEFB $42,$FF,$FF,$DB,$6E,$C5,$40,$00,$00 Floor
CE32 DEFB $02,$FF,$DB,$A5,$24,$52,$20,$08,$00 Crumbling floor (unused)
CE3B DEFB $72,$22,$FF,$88,$FF,$22,$FF,$88,$FF Wall
CE44 DEFB $44,$F0,$66,$F0,$AA,$00,$00,$00,$00 Conveyor
CE4D DEFB $04,$44,$28,$94,$51,$35,$D6,$58,$10 Nasty 1
CE56 DEFB $05,$7E,$3C,$1C,$18,$18,$08,$08,$08 Nasty 2
CE5F DEFB $06,$FF,$81,$81,$42,$3C,$10,$60,$60 Extra
The next seven bytes are copied to 8068-806E and specify Miner Willy's initial location and appearance in the cavern.
CE68 DEFB $D0 Pixel y-coordinate * 2 (see 8068)
CE69 DEFB $00 Animation frame (see 8069)
CE6A DEFB $00 Direction and movement flags: facing right (see 806A)
CE6B DEFB $00 Airborne status indicator (see 806B)
CE6C DEFW $5DA2 Location in the attribute buffer at 5C00: (13,2) (see 806C)
CE6E DEFB $00 Jumping animation counter (see 806E)
The next four bytes are copied to 806F and specify the direction, location and length of the conveyor.
CE6F DEFB $01 Direction (right)
CE70 DEFW $78AB Location in the screen buffer at 7000: (13,11)
CE72 DEFB $03 Length
The next byte is copied to 8073 and specifies the border colour.
CE73 DEFB $02 Border colour
The next byte is copied to 8074, but is not used.
CE74 DEFB $00 Unused
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
CE75 DEFB $03 Item 1 at (2,13)
CE76 DEFW $5C4D
CE78 DEFB $60
CE79 DEFB $FF
CE7A DEFB $04 Item 2 at (6,14)
CE7B DEFW $5CCE
CE7D DEFB $60
CE7E DEFB $FF
CE7F DEFB $05 Item 3 at (8,2)
CE80 DEFW $5D02
CE82 DEFB $68
CE83 DEFB $FF
CE84 DEFB $06 Item 4 at (13,29)
CE85 DEFW $5DBD
CE87 DEFB $68
CE88 DEFB $FF
CE89 DEFB $FF,$FF,$FF,$FF,$FF Item 5 (unused)
CE8E DEFB $FF Terminator
The next 37 bytes are copied to 808F and define the portal graphic and its location.
portal07
CE8F DEFB $0E Attribute
CE90 DEFB $FF,$FF,$80,$01,$C0,$03,$A0,$05 Graphic data
CE98 DEFB $90,$09,$C8,$13,$A4,$25,$92,$49
CEA0 DEFB $C9,$93,$A4,$25,$92,$49,$C9,$93
CEA8 DEFB $A4,$25,$C9,$93,$92,$49,$FF,$FF
CEB0 DEFW $5DAF Location in the attribute buffer at 5C00: (13,15)
CEB2 DEFW $68AF Location in the screen buffer at 6000: (13,15)
The next eight bytes are copied to 80B4 and define the item graphic.
item07
CEB4 DEFB $80,$C0,$EC,$72,$28,$54,$8A,$87 Item graphic data
The next byte is copied to 80BC and specifies the initial air supply in the cavern.
CEBC DEFB $3F Air
The next byte is copied to 80BD and initialises the game clock.
CEBD DEFB $80 Game clock
The next 28 bytes are copied to 80BE and define the horizontal guardians.
CEBE DEFB $44 Horizontal guardian 1: y=13, initial x=9, 1<=x<=9, speed=normal
CEBF DEFW $5DA9
CEC1 DEFB $68
CEC2 DEFB $07
CEC3 DEFB $A1
CEC4 DEFB $A9
CEC5 DEFB $C3 Horizontal guardian 2: y=11, initial x=11, 11<=x<=15, speed=slow
CEC6 DEFW $5D6B
CEC8 DEFB $68
CEC9 DEFB $00
CECA DEFB $6B
CECB DEFB $6F
CECC DEFB $00,$00,$00,$00,$00,$00,$00 Horizontal guardian 3 (unused)
CED3 DEFB $05 Horizontal guardian 4: y=7, initial x=18, 18<=x<=21, speed=normal
CED4 DEFW $5CF2
CED6 DEFB $60
CED7 DEFB $00
CED8 DEFB $F2
CED9 DEFB $F5
CEDA DEFB $FF Terminator
The next two bytes are copied to 80DB and 80DC; the first byte specifies the Kong Beast's initial status, but the second byte is not used.
CEDB DEFB $00 Initial status (on the ledge)
CEDC DEFB $00 Unused
The next 28 bytes are copied to 80DD and define the vertical guardians.
CEDD DEFB $FF,$00,$00,$00,$00,$00,$00 Vertical guardian 1 (unused)
CEE4 DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 2 (unused)
CEEB DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 3 (unused)
CEF2 DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 4 (unused)
The next 7 bytes are unused.
CEF9 DEFB $00,$00,$00,$00,$00,$00,$00 Unused
The next 256 bytes are copied to 8100 and define the guardian graphics.
miner_willy_meets_the_kong_beast_guardian0 miner_willy_meets_the_kong_beast_guardian1 miner_willy_meets_the_kong_beast_guardian2 miner_willy_meets_the_kong_beast_guardian3 miner_willy_meets_the_kong_beast_guardian4 miner_willy_meets_the_kong_beast_guardian5 miner_willy_meets_the_kong_beast_guardian6 miner_willy_meets_the_kong_beast_guardian7
CF00 DEFB $13,$C8,$1D,$B8,$0F,$F0,$06,$60 Guardian graphic data
CF08 DEFB $05,$A0,$02,$40,$07,$E0,$0F,$F0
CF10 DEFB $1F,$F8,$33,$CC,$63,$C6,$46,$62
CF18 DEFB $2C,$34,$06,$60,$02,$40,$0E,$70
CF20 DEFB $0B,$D0,$0D,$B0,$0F,$F0,$06,$60
CF28 DEFB $05,$A0,$02,$40,$03,$C0,$1F,$F8
CF30 DEFB $7F,$FE,$E7,$E7,$83,$C1,$C7,$E3
CF38 DEFB $06,$60,$0C,$30,$08,$10,$38,$1C
CF40 DEFB $1C,$38,$06,$60,$0C,$30,$66,$66
CF48 DEFB $23,$C4,$67,$E6,$37,$EC,$1F,$F8
CF50 DEFB $0F,$F0,$07,$E0,$02,$40,$05,$A0
CF58 DEFB $06,$60,$0F,$F0,$0D,$B0,$0B,$D0
CF60 DEFB $70,$0E,$18,$18,$0C,$30,$06,$60
CF68 DEFB $63,$C6,$27,$E4,$67,$E6,$37,$EC
CF70 DEFB $1F,$F8,$0F,$F0,$02,$40,$05,$A0
CF78 DEFB $16,$68,$0F,$F0,$0D,$B0,$03,$C0
CF80 DEFB $08,$00,$05,$00,$08,$80,$25,$00
CF88 DEFB $48,$80,$21,$00,$4C,$00,$33,$00
CF90 DEFB $44,$80,$44,$80,$88,$40,$84,$40
CF98 DEFB $48,$80,$48,$80,$33,$00,$0C,$00
CFA0 DEFB $02,$00,$11,$20,$0A,$40,$11,$20
CFA8 DEFB $0A,$40,$10,$20,$03,$00,$0C,$C0
CFB0 DEFB $10,$20,$10,$60,$22,$90,$25,$10
CFB8 DEFB $18,$20,$10,$20,$0C,$C0,$03,$00
CFC0 DEFB $00,$40,$02,$20,$04,$48,$02,$24
CFC8 DEFB $04,$48,$02,$04,$00,$C8,$03,$30
CFD0 DEFB $04,$08,$04,$08,$0B,$44,$08,$B4
CFD8 DEFB $04,$08,$04,$08,$03,$30,$00,$C0
CFE0 DEFB $00,$44,$01,$22,$02,$44,$01,$22
CFE8 DEFB $02,$44,$01,$02,$02,$30,$00,$CC
CFF0 DEFB $01,$42,$01,$22,$02,$11,$02,$21
CFF8 DEFB $01,$12,$01,$0A,$00,$CC,$00,$30
Prev: C800 Up: Map Next: D000