Prev: F000 Up: Map Next: F800
F400: Amoebatrons' Revenge (teleport: 156)
Used by the routine at 8684.
amoebatrons'_revenge
The first 512 bytes are the attributes that define the layout of the cavern.
F400 DEFB $16,$00,$00,$00,$00,$00,$00,$00 Attributes
F408 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F410 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F418 DEFB $00,$00,$00,$00,$16,$00,$00,$16
F420 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F428 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F430 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F438 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F440 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F448 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F450 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F458 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F460 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F468 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F470 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F478 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F480 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F488 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F490 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F498 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F4A0 DEFB $16,$00,$00,$42,$42,$00,$00,$42
F4A8 DEFB $42,$42,$00,$00,$42,$42,$42,$42
F4B0 DEFB $42,$42,$42,$42,$00,$00,$42,$42
F4B8 DEFB $42,$00,$00,$42,$42,$42,$42,$16
F4C0 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F4C8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F4D0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F4D8 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F4E0 DEFB $16,$42,$42,$00,$00,$00,$00,$00
F4E8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F4F0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F4F8 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F500 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F508 DEFB $00,$00,$00,$00,$42,$42,$42,$42
F510 DEFB $42,$42,$42,$42,$00,$00,$42,$42
F518 DEFB $42,$00,$00,$42,$42,$00,$00,$16
F520 DEFB $16,$00,$00,$42,$42,$00,$00,$42
F528 DEFB $42,$42,$00,$00,$00,$00,$00,$00
F530 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F538 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F540 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F548 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F550 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F558 DEFB $00,$00,$00,$00,$00,$42,$42,$16
F560 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F568 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F570 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F578 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F580 DEFB $16,$00,$00,$42,$42,$00,$00,$42
F588 DEFB $42,$42,$00,$00,$42,$42,$42,$42
F590 DEFB $42,$42,$42,$42,$00,$00,$42,$42
F598 DEFB $42,$00,$00,$42,$42,$00,$00,$16
F5A0 DEFB $16,$42,$42,$00,$00,$00,$00,$00
F5A8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F5B0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F5B8 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F5C0 DEFB $16,$00,$00,$00,$00,$00,$00,$00
F5C8 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F5D0 DEFB $00,$00,$00,$00,$00,$00,$00,$00
F5D8 DEFB $00,$00,$00,$00,$00,$00,$00,$16
F5E0 DEFB $42,$42,$42,$42,$42,$42,$42,$42
F5E8 DEFB $42,$42,$42,$42,$42,$42,$42,$42
F5F0 DEFB $42,$42,$42,$42,$42,$42,$42,$42
F5F8 DEFB $42,$42,$42,$42,$42,$42,$42,$42
The next 32 bytes are copied to 8000 and specify the cavern name.
F600 DEFM " Amoebatrons' Revenge " 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_17 floor_17 crumbling_floor_17 wall_17 conveyor_17 nasty1_17 nasty2_17 extra_17
F620 DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 Background
F629 DEFB $42,$FF,$FF,$DB,$6E,$C5,$40,$00,$00 Floor
F632 DEFB $02,$FF,$DB,$A5,$24,$52,$20,$08,$00 Crumbling floor (unused)
F63B DEFB $16,$FF,$81,$81,$FF,$FF,$81,$81,$FF Wall
F644 DEFB $04,$F0,$66,$F0,$66,$00,$99,$FF,$00 Conveyor (unused)
F64D DEFB $44,$44,$28,$94,$51,$35,$D6,$58,$10 Nasty 1 (unused)
F656 DEFB $05,$7E,$3C,$1C,$18,$18,$08,$08,$08 Nasty 2 (unused)
F65F DEFB $00,$00,$00,$00,$00,$00,$00,$00,$00 Extra (unused)
The next seven bytes are copied to 8068-806E and specify Miner Willy's initial location and appearance in the cavern.
F668 DEFB $D0 Pixel y-coordinate * 2 (see 8068)
F669 DEFB $03 Animation frame (see 8069)
F66A DEFB $01 Direction and movement flags: facing left (see 806A)
F66B DEFB $00 Airborne status indicator (see 806B)
F66C DEFW $5DBD Location in the attribute buffer at 5C00: (13,29) (see 806C)
F66E DEFB $00 Jumping animation counter (see 806E)
The next four bytes are copied to 806F and specify the direction, location and length of the (unused) conveyor.
F66F DEFB $01 Direction (right)
F670 DEFW $7827 Location in the screen buffer at 7000: (9,7)
F672 DEFB $03 Length
The next byte is copied to 8073 and specifies the border colour.
F673 DEFB $01 Border colour
The next byte is copied to 8074, but is not used.
F674 DEFB $00 Unused
The next 25 bytes are copied to 8075 and specify the location and initial colour of the items in the cavern.
F675 DEFB $03 Item 1 at (1,16)
F676 DEFW $5C30
F678 DEFB $60
F679 DEFB $FF
F67A DEFB $FF,$FF,$FF,$FF,$FF Item 2 (unused)
F67F DEFB $00,$FF,$FF,$FF,$FF Item 3 (unused)
F684 DEFB $00,$FF,$FF,$FF,$FF Item 4 (unused)
F689 DEFB $00,$FF,$FF,$FF,$FF Item 5 (unused)
F68E DEFB $FF Terminator
The next 37 bytes are copied to 808F and define the portal graphic and its location.
portal17
F68F DEFB $0E Attribute
F690 DEFB $FF,$FF,$80,$01,$B0,$0D,$A0,$05 Graphic data
F698 DEFB $AA,$55,$AA,$55,$AA,$55,$AA,$55
F6A0 DEFB $AA,$55,$AA,$55,$AA,$55,$AA,$55
F6A8 DEFB $A0,$05,$B0,$0D,$80,$01,$FF,$FF
F6B0 DEFW $5C1D Location in the attribute buffer at 5C00: (0,29)
F6B2 DEFW $601D Location in the screen buffer at 6000: (0,29)
The next eight bytes are copied to 80B4 and define the item graphic.
item17
F6B4 DEFB $30,$48,$88,$90,$68,$04,$0A,$04 Item graphic data
The next byte is copied to 80BC and specifies the initial air supply in the cavern.
F6BC DEFB $3F Air
The next byte is copied to 80BD and initialises the game clock.
F6BD DEFB $80 Game clock
The next 28 bytes are copied to 80BE and define the horizontal guardians.
F6BE DEFB $C4 Horizontal guardian 1: y=3, initial x=12, 12<=x<=18, speed=slow
F6BF DEFW $5C6C
F6C1 DEFB $60
F6C2 DEFB $00
F6C3 DEFB $6C
F6C4 DEFB $72
F6C5 DEFB $85 Horizontal guardian 2: y=10, initial x=16, 12<=x<=17, speed=slow
F6C6 DEFW $5D50
F6C8 DEFB $68
F6C9 DEFB $00
F6CA DEFB $4C
F6CB DEFB $51
F6CC DEFB $43 Horizontal guardian 3: y=6, initial x=16, 12<=x<=17, speed=normal
F6CD DEFW $5CD0
F6CF DEFB $60
F6D0 DEFB $00
F6D1 DEFB $CC
F6D2 DEFB $D1
F6D3 DEFB $06 Horizontal guardian 4: y=13, initial x=16, 12<=x<=18, speed=normal
F6D4 DEFW $5DB0
F6D6 DEFB $68
F6D7 DEFB $07
F6D8 DEFB $AC
F6D9 DEFB $B2
F6DA DEFB $FF Terminator
The next two bytes are copied to 80DB and 80DC but are not used.
F6DB DEFB $00,$00 Unused
The next 28 bytes are copied to 80DD and define the vertical guardians.
F6DD DEFB $43 Vertical guardian 1: x=5, initial y=8, 5<=y<104, initial y-increment=3
F6DE DEFB $00
F6DF DEFB $08
F6E0 DEFB $05
F6E1 DEFB $03
F6E2 DEFB $05
F6E3 DEFB $68
F6E4 DEFB $04 Vertical guardian 2: x=10, initial y=8, 5<=y<104, initial y-increment=2
F6E5 DEFB $01
F6E6 DEFB $08
F6E7 DEFB $0A
F6E8 DEFB $02
F6E9 DEFB $05
F6EA DEFB $68
F6EB DEFB $05 Vertical guardian 3: x=20, initial y=8, 5<=y<104, initial y-increment=4
F6EC DEFB $02
F6ED DEFB $08
F6EE DEFB $14
F6EF DEFB $04
F6F0 DEFB $05
F6F1 DEFB $68
F6F2 DEFB $06 Vertical guardian 4: x=25, initial y=8, 5<=y<104, initial y-increment=1
F6F3 DEFB $03
F6F4 DEFB $08
F6F5 DEFB $19
F6F6 DEFB $01
F6F7 DEFB $05
F6F8 DEFB $68
F6F9 DEFB $FF Terminator
The next 6 bytes are unused.
F6FA DEFB $00,$00,$00,$00,$00,$00 Unused
The next 256 bytes are copied to 8100 and define the guardian graphics.
amoebatrons'_revenge_guardian0 amoebatrons'_revenge_guardian1 amoebatrons'_revenge_guardian2 amoebatrons'_revenge_guardian3 amoebatrons'_revenge_guardian4 amoebatrons'_revenge_guardian5 amoebatrons'_revenge_guardian6 amoebatrons'_revenge_guardian7
F700 DEFB $03,$C0,$0E,$70,$13,$C8,$31,$8C Guardian graphic data
F708 DEFB $39,$9C,$5F,$FA,$8D,$B2,$84,$A4
F710 DEFB $49,$24,$29,$12,$24,$89,$42,$49
F718 DEFB $82,$52,$04,$90,$08,$88,$00,$40
F720 DEFB $03,$C0,$0E,$70,$13,$C8,$31,$8C
F728 DEFB $39,$9C,$5F,$FA,$4D,$B1,$85,$11
F730 DEFB $84,$92,$48,$A4,$29,$24,$29,$12
F738 DEFB $44,$89,$02,$48,$02,$50,$04,$00
F740 DEFB $03,$C0,$0E,$70,$13,$C8,$31,$8C
F748 DEFB $39,$9C,$5F,$FA,$4D,$B1,$44,$91
F750 DEFB $82,$49,$82,$4A,$44,$94,$25,$24
F758 DEFB $29,$22,$08,$90,$04,$48,$00,$40
F760 DEFB $03,$C0,$0E,$70,$13,$C8,$31,$8C
F768 DEFB $39,$9C,$5F,$FA,$4D,$B2,$29,$12
F770 DEFB $24,$91,$42,$49,$82,$4A,$84,$4A
F778 DEFB $48,$91,$09,$20,$09,$00,$00,$80
F780 DEFB $0C,$00,$0C,$00,$0C,$00,$0C,$00
F788 DEFB $0C,$00,$0C,$00,$0C,$00,$0C,$00
F790 DEFB $0C,$00,$0C,$00,$FF,$C0,$0C,$00
F798 DEFB $61,$80,$D2,$C0,$B3,$40,$61,$80
F7A0 DEFB $03,$00,$03,$00,$03,$00,$03,$00
F7A8 DEFB $03,$00,$03,$00,$03,$00,$03,$00
F7B0 DEFB $03,$00,$03,$00,$3F,$F0,$03,$00
F7B8 DEFB $18,$60,$24,$D0,$3C,$D0,$18,$60
F7C0 DEFB $00,$C0,$00,$C0,$00,$C0,$00,$C0
F7C8 DEFB $00,$C0,$00,$C0,$00,$C0,$00,$C0
F7D0 DEFB $00,$C0,$00,$C0,$0F,$FC,$00,$C0
F7D8 DEFB $06,$18,$0B,$34,$0D,$2C,$06,$18
F7E0 DEFB $00,$30,$00,$30,$00,$30,$00,$30
F7E8 DEFB $00,$30,$00,$30,$00,$30,$00,$30
F7F0 DEFB $00,$30,$00,$30,$03,$FF,$00,$30
F7F8 DEFB $01,$86,$02,$4D,$03,$CD,$01,$86
Prev: F000 Up: Map Next: F800