Prev: D800 Up: Map Next: E000
DC00: Return of the Alien Kong Beast (teleport: 1246)
Used by the routine at 8684.
return_of_the_alien_kong_beast
The first 512 bytes are the attributes that define the layout of the cavern.
DC00 DEFB $65,$00,$05,$00,$00,$00,$06,$00 Attributes
DC08 DEFB $00,$00,$05,$00,$00,$00,$00,$00
DC10 DEFB $00,$65,$06,$00,$00,$65,$00,$00
DC18 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DC20 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DC28 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC30 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC38 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DC40 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DC48 DEFB $00,$00,$00,$00,$00,$00,$00,$03
DC50 DEFB $03,$00,$00,$00,$00,$00,$00,$00
DC58 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DC60 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DC68 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC70 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC78 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DC80 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DC88 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC90 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DC98 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DCA0 DEFB $65,$43,$43,$43,$00,$00,$00,$00
DCA8 DEFB $00,$03,$03,$03,$03,$03,$65,$00
DCB0 DEFB $00,$65,$03,$03,$03,$03,$03,$03
DCB8 DEFB $43,$43,$00,$00,$00,$00,$00,$65
DCC0 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DCC8 DEFB $00,$00,$00,$00,$00,$00,$65,$00
DCD0 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DCD8 DEFB $00,$00,$00,$00,$00,$00,$43,$65
DCE0 DEFB $65,$00,$00,$00,$00,$00,$43,$43
DCE8 DEFB $00,$00,$00,$00,$00,$00,$65,$00
DCF0 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DCF8 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DD00 DEFB $65,$00,$00,$43,$00,$00,$00,$00
DD08 DEFB $00,$00,$00,$00,$00,$00,$65,$00
DD10 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DD18 DEFB $00,$43,$43,$43,$43,$43,$43,$65
DD20 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DD28 DEFB $00,$00,$43,$43,$43,$43,$65,$00
DD30 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DD38 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DD40 DEFB $65,$00,$00,$00,$00,$00,$43,$00
DD48 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DD50 DEFB $00,$65,$43,$43,$43,$00,$00,$00
DD58 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DD60 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DD68 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DD70 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DD78 DEFB $00,$43,$43,$00,$00,$00,$00,$65
DD80 DEFB $65,$43,$43,$43,$43,$43,$43,$00
DD88 DEFB $00,$00,$00,$00,$00,$00,$00,$00
DD90 DEFB $00,$65,$00,$00,$00,$00,$00,$04
DD98 DEFB $00,$00,$00,$00,$04,$00,$00,$65
DDA0 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DDA8 DEFB $00,$00,$00,$43,$43,$43,$65,$00
DDB0 DEFB $00,$65,$46,$46,$46,$46,$46,$46
DDB8 DEFB $46,$46,$46,$46,$46,$00,$00,$65
DDC0 DEFB $65,$00,$00,$00,$00,$00,$00,$00
DDC8 DEFB $00,$00,$00,$00,$00,$00,$65,$00
DDD0 DEFB $00,$65,$00,$00,$00,$00,$00,$00
DDD8 DEFB $00,$00,$00,$00,$00,$00,$00,$65
DDE0 DEFB $65,$43,$43,$43,$43,$43,$43,$43
DDE8 DEFB $43,$43,$43,$43,$43,$43,$65,$65
DDF0 DEFB $65,$65,$43,$43,$43,$43,$43,$43
DDF8 DEFB $43,$43,$43,$43,$43,$43,$43,$65
The next 32 bytes are copied to 8000 and specify the cavern name.
DE00 DEFM " Return of the Alien 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_11 floor_11 crumbling_floor_11 wall_11 conveyor_11 nasty1_11 nasty2_11 extra_11
DE20 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 Background
DE29 DEFB $43,$FF,$FF,$DB,$6E,$C5,$40,$00,$00 Floor
DE32 DEFB $03,$FF,$DB,$A5,$24,$52,$20,$08,$00 Crumbling floor
DE3B DEFB $65,$22,$FF,$88,$FF,$22,$FF,$88,$FF Wall
DE44 DEFB $46,$F0,$66,$F0,$AA,$00,$00,$00,$00 Conveyor
DE4D DEFB $04,$44,$28,$94,$51,$35,$D6,$58,$10 Nasty 1
DE56 DEFB $05,$7E,$3C,$1C,$18,$18,$08,$08,$08 Nasty 2
DE5F 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.
DE68 DEFB $D0 Pixel y-coordinate * 2 (see 8068)
DE69 DEFB $00 Animation frame (see 8069)
DE6A DEFB $00 Direction and movement flags: facing right (see 806A)
DE6B DEFB $00 Airborne status indicator (see 806B)
DE6C DEFW $5DA2 Location in the attribute buffer at 5C00: (13,2) (see 806C)
DE6E 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.
DE6F DEFB $01 Direction (right)
DE70 DEFW $78B2 Location in the screen buffer at 7000: (13,18)
DE72 DEFB $0B Length
The next byte is copied to 8073 and specifies the border colour.
DE73 DEFB $02 Border colour
The next byte is copied to 8074, but is not used.
DE74 DEFB $00 Unused
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
DE75 DEFB $03 Item 1 at (3,15)
DE76 DEFW $5C6F
DE78 DEFB $60
DE79 DEFB $FF
DE7A DEFB $04 Item 2 at (7,16)
DE7B DEFW $5CF0
DE7D DEFB $60
DE7E DEFB $FF
DE7F DEFB $05 Item 3 at (6,2)
DE80 DEFW $5CC2
DE82 DEFB $60
DE83 DEFB $FF
DE84 DEFB $06 Item 4 at (13,29)
DE85 DEFW $5DBD
DE87 DEFB $68
DE88 DEFB $FF
DE89 DEFB $03 Item 5 at (5,26)
DE8A DEFW $5CBA
DE8C DEFB $60
DE8D DEFB $FF
DE8E DEFB $FF Terminator
The next 37 bytes are copied to 808F and define the portal graphic and its location.
portal11
DE8F DEFB $5E Attribute
DE90 DEFB $FF,$FF,$80,$01,$8F,$F1,$8F,$F1 Graphic data
DE98 DEFB $8F,$F1,$8F,$F1,$8F,$F1,$8C,$31
DEA0 DEFB $8C,$31,$8F,$F1,$8F,$F1,$8F,$F1
DEA8 DEFB $8F,$F1,$8F,$F1,$80,$01,$FF,$FF
DEB0 DEFW $5DAF Location in the attribute buffer at 5C00: (13,15)
DEB2 DEFW $68AF Location in the screen buffer at 6000: (13,15)
The next eight bytes are copied to 80B4 and define the item graphic.
item11
DEB4 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.
DEBC DEFB $3F Air
The next byte is copied to 80BD and initialises the game clock.
DEBD DEFB $80 Game clock
The next 28 bytes are copied to 80BE and define the horizontal guardians.
DEBE DEFB $44 Horizontal guardian 1: y=13, initial x=9, 1<=x<=9, speed=normal
DEBF DEFW $5DA9
DEC1 DEFB $68
DEC2 DEFB $07
DEC3 DEFB $A1
DEC4 DEFB $A9
DEC5 DEFB $C6 Horizontal guardian 2: y=11, initial x=11, 11<=x<=15, speed=slow
DEC6 DEFW $5D6B
DEC8 DEFB $68
DEC9 DEFB $00
DECA DEFB $6B
DECB DEFB $6F
DECC DEFB $00,$00,$00,$00,$00,$00,$00 Horizontal guardian 3 (unused)
DED3 DEFB $05 Horizontal guardian 4: y=6, initial x=25, 25<=x<=28, speed=normal
DED4 DEFW $5CD9
DED6 DEFB $60
DED7 DEFB $00
DED8 DEFB $D9
DED9 DEFB $DC
DEDA 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.
DEDB DEFB $00 Initial status (on the ledge)
DEDC DEFB $00 Unused
The next 28 bytes are copied to 80DD and define the vertical guardians.
DEDD DEFB $FF,$00,$00,$00,$00,$00,$00 Vertical guardian 1 (unused)
DEE4 DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 2 (unused)
DEEB DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 3 (unused)
DEF2 DEFB $00,$00,$00,$00,$00,$00,$00 Vertical guardian 4 (unused)
The next 7 bytes are unused.
DEF9 DEFB $00,$00,$00,$00,$00,$00,$00 Unused
The next 256 bytes are copied to 8100 and define the guardian graphics.
return_of_the_alien_kong_beast_guardian0 return_of_the_alien_kong_beast_guardian1 return_of_the_alien_kong_beast_guardian2 return_of_the_alien_kong_beast_guardian3 return_of_the_alien_kong_beast_guardian4 return_of_the_alien_kong_beast_guardian5 return_of_the_alien_kong_beast_guardian6 return_of_the_alien_kong_beast_guardian7
DF00 DEFB $13,$C8,$1D,$B8,$0F,$F0,$06,$60 Guardian graphic data
DF08 DEFB $05,$A0,$02,$40,$07,$E0,$0F,$F0
DF10 DEFB $1F,$F8,$33,$CC,$63,$C6,$46,$62
DF18 DEFB $2C,$34,$06,$60,$02,$40,$0E,$70
DF20 DEFB $0B,$D0,$0D,$B0,$0F,$F0,$06,$60
DF28 DEFB $05,$A0,$02,$40,$03,$C0,$1F,$F8
DF30 DEFB $7F,$FE,$E7,$E7,$83,$C1,$C7,$E3
DF38 DEFB $06,$60,$0C,$30,$08,$10,$38,$1C
DF40 DEFB $1C,$38,$06,$60,$0C,$30,$66,$66
DF48 DEFB $23,$C4,$67,$E6,$37,$EC,$1F,$F8
DF50 DEFB $0F,$F0,$07,$E0,$02,$40,$05,$A0
DF58 DEFB $06,$60,$0F,$F0,$0D,$B0,$0B,$D0
DF60 DEFB $70,$0E,$18,$18,$0C,$30,$06,$60
DF68 DEFB $63,$C6,$27,$E4,$67,$E6,$37,$EC
DF70 DEFB $1F,$F8,$0F,$F0,$02,$40,$05,$A0
DF78 DEFB $16,$68,$0F,$F0,$0D,$B0,$03,$C0
DF80 DEFB $08,$00,$05,$00,$08,$80,$25,$00
DF88 DEFB $48,$80,$21,$00,$4C,$00,$33,$00
DF90 DEFB $44,$80,$44,$80,$88,$40,$84,$40
DF98 DEFB $48,$80,$48,$80,$33,$00,$0C,$00
DFA0 DEFB $02,$00,$11,$20,$0A,$40,$11,$20
DFA8 DEFB $0A,$40,$10,$20,$03,$00,$0C,$C0
DFB0 DEFB $10,$20,$10,$60,$22,$90,$25,$10
DFB8 DEFB $18,$20,$10,$20,$0C,$C0,$03,$00
DFC0 DEFB $00,$40,$02,$20,$04,$48,$02,$24
DFC8 DEFB $04,$48,$02,$04,$00,$C8,$03,$30
DFD0 DEFB $04,$08,$04,$08,$0B,$44,$08,$B4
DFD8 DEFB $04,$08,$04,$08,$03,$30,$00,$C0
DFE0 DEFB $00,$44,$01,$22,$02,$44,$01,$22
DFE8 DEFB $02,$44,$01,$02,$02,$30,$00,$CC
DFF0 DEFB $01,$42,$01,$22,$02,$11,$02,$21
DFF8 DEFB $01,$12,$01,$0A,$00,$CC,$00,$30
Prev: D800 Up: Map Next: E000