Prev: 46080 Up: Map Next: 48128
47104: The Menagerie (teleport: 26)
Used by the routine at 34436.
the_menagerie
The first 512 bytes are the attributes that define the layout of the cavern.
47104 DEFB 13,0,0,0,0,0,0,0 Attributes
47112 DEFB 0,0,67,0,0,0,0,0
47120 DEFB 0,0,3,0,0,0,0,0
47128 DEFB 0,0,0,67,0,0,0,13
47136 DEFB 13,0,0,0,0,0,0,0
47144 DEFB 0,0,0,0,0,0,0,0
47152 DEFB 0,0,67,0,0,0,0,0
47160 DEFB 0,0,0,0,0,0,0,13
47168 DEFB 13,0,0,0,0,0,0,0
47176 DEFB 0,0,0,0,0,0,0,0
47184 DEFB 0,0,0,0,0,0,0,0
47192 DEFB 0,0,0,0,0,0,0,13
47200 DEFB 13,0,0,0,0,0,0,0
47208 DEFB 0,0,0,0,0,0,0,0
47216 DEFB 0,0,0,0,0,0,0,0
47224 DEFB 0,0,0,0,0,0,0,13
47232 DEFB 13,0,0,0,0,0,0,0
47240 DEFB 0,0,0,0,0,0,0,0
47248 DEFB 0,0,0,0,0,0,0,0
47256 DEFB 0,0,0,0,0,0,0,13
47264 DEFB 13,69,69,69,69,5,5,5
47272 DEFB 5,5,5,5,5,5,5,5
47280 DEFB 5,5,5,5,5,5,5,5
47288 DEFB 5,5,5,5,5,5,5,13
47296 DEFB 13,0,0,0,0,0,0,0
47304 DEFB 0,0,0,0,0,0,0,0
47312 DEFB 0,0,0,0,0,0,0,0
47320 DEFB 0,0,0,0,0,0,0,13
47328 DEFB 13,69,69,69,69,69,69,0
47336 DEFB 0,0,0,0,0,0,0,0
47344 DEFB 0,0,0,0,0,0,0,0
47352 DEFB 0,0,0,69,69,69,69,13
47360 DEFB 13,3,0,0,0,0,0,0
47368 DEFB 0,0,0,0,0,0,0,0
47376 DEFB 0,0,0,0,0,0,0,0
47384 DEFB 0,0,0,0,0,0,0,13
47392 DEFB 13,3,0,0,0,0,2,2
47400 DEFB 2,2,2,2,0,0,0,0
47408 DEFB 0,0,0,0,0,0,0,0
47416 DEFB 0,0,0,0,0,0,0,13
47424 DEFB 13,3,0,0,0,0,0,0
47432 DEFB 0,0,0,0,0,0,0,0
47440 DEFB 0,0,0,0,0,0,0,0
47448 DEFB 0,69,69,69,69,69,69,13
47456 DEFB 13,67,0,0,0,0,0,0
47464 DEFB 0,0,0,0,0,0,69,69
47472 DEFB 69,69,69,0,0,0,0,0
47480 DEFB 0,0,0,0,0,0,0,13
47488 DEFB 13,0,0,0,0,69,69,69
47496 DEFB 69,69,69,0,0,0,0,0
47504 DEFB 0,0,0,0,0,0,0,0
47512 DEFB 0,0,0,0,0,0,0,13
47520 DEFB 13,0,0,0,0,0,0,0
47528 DEFB 0,0,0,0,0,0,0,0
47536 DEFB 0,0,0,0,0,69,69,69
47544 DEFB 69,69,69,69,69,69,69,13
47552 DEFB 13,0,0,0,0,0,0,0
47560 DEFB 0,0,0,0,0,0,0,0
47568 DEFB 0,0,0,0,0,0,0,0
47576 DEFB 0,0,0,0,0,0,0,13
47584 DEFB 13,69,69,69,69,69,69,69
47592 DEFB 69,69,69,69,69,69,69,69
47600 DEFB 69,69,69,69,69,69,69,69
47608 DEFB 69,69,69,69,69,69,69,13
The next 32 bytes are copied to 32768 and specify the cavern name.
47616 DEFM " The Menagerie " Cavern name
The next 72 bytes are copied to 32800 and contain the attributes and graphic data for the tiles used to build the cavern.
background_2 floor_2 crumbling_floor_2 wall_2 conveyor_2 nasty1_2 nasty2_2 extra_2
47648 DEFB 0,0,0,0,0,0,0,0,0 Background
47657 DEFB 69,255,255,102,153,102,153,255,0 Floor
47666 DEFB 5,255,255,102,153,66,24,234,0 Crumbling floor
47675 DEFB 13,129,195,165,153,153,165,195,129 Wall
47684 DEFB 2,240,170,240,102,102,0,0,0 Conveyor
47693 DEFB 6,68,40,148,81,53,214,88,16 Nasty 1 (unused)
47702 DEFB 67,16,214,56,214,56,68,198,40 Nasty 2
47711 DEFB 3,16,16,16,16,16,16,16,16 Extra
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
47720 DEFB 208 Pixel y-coordinate * 2 (see 32872)
47721 DEFB 0 Animation frame (see 32873)
47722 DEFB 0 Direction and movement flags: facing right (see 32874)
47723 DEFB 0 Airborne status indicator (see 32875)
47724 DEFW 23970 Location in the attribute buffer at 23552: (13,2) (see 32876)
47726 DEFB 0 Jumping animation counter (see 32878)
The next four bytes are copied to 32879 and specify the direction, location and length of the conveyor.
47727 DEFB 0 Direction (left)
47728 DEFW 30758 Location in the screen buffer at 28672: (9,6)
47730 DEFB 6 Length
The next byte is copied to 32883 and specifies the border colour.
47731 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
47732 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
47733 DEFB 3 Item 1 at (0,6)
47734 DEFW 23558
47736 DEFB 96
47737 DEFB 255
47738 DEFB 4 Item 2 at (0,15)
47739 DEFW 23567
47741 DEFB 96
47742 DEFB 255
47743 DEFB 5 Item 3 at (0,23)
47744 DEFW 23575
47746 DEFB 96
47747 DEFB 255
47748 DEFB 6 Item 4 at (6,30)
47749 DEFW 23774
47751 DEFB 96
47752 DEFB 255
47753 DEFB 3 Item 5 at (6,21)
47754 DEFW 23765
47756 DEFB 96
47757 DEFB 255
47758 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal02
47759 DEFB 14 Attribute
47760 DEFB 255,255,68,68,153,153,34,34 Graphic data
47768 DEFB 34,34,153,153,68,68,68,68
47776 DEFB 153,153,34,34,34,34,153,153
47784 DEFB 68,68,68,68,153,153,255,255
47792 DEFW 23933 Location in the attribute buffer at 23552: (11,29)
47794 DEFW 26749 Location in the screen buffer at 24576: (11,29)
The next eight bytes are copied to 32948 and define the item graphic.
item02
47796 DEFB 48,72,136,144,104,4,10,4 Item graphic data
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
47804 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
47805 DEFB 128 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
47806 DEFB 68 Horizontal guardian 1: y=13, initial x=19, 1<=x<=19, speed=normal
47807 DEFW 23987
47809 DEFB 104
47810 DEFB 7
47811 DEFB 161
47812 DEFB 179
47813 DEFB 67 Horizontal guardian 2: y=3, initial x=16, 1<=x<=16, speed=normal
47814 DEFW 23664
47816 DEFB 96
47817 DEFB 7
47818 DEFB 97
47819 DEFB 112
47820 DEFB 66 Horizontal guardian 3: y=3, initial x=18, 18<=x<=29, speed=normal
47821 DEFW 23666
47823 DEFB 96
47824 DEFB 0
47825 DEFB 114
47826 DEFB 125
47827 DEFB 255,0,0,0,0,0,0 Horizontal guardian 4 (unused)
47834 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
47835 DEFB 0,0 Unused
The next byte is copied to 32989 and indicates that there are no vertical guardians in this cavern.
47837 DEFB 255 Terminator
The next two bytes are unused.
47838 DEFB 0,0 Unused
The next 32 bytes define the boot graphic that appears on the Game Over screen (see 35210). It also appears at the bottom of the screen next to the remaining lives when cheat mode is activated (see 34608).
boot
47840 DEFB 42,192,53,64,63,192,9,0 Boot graphic data
47848 DEFB 9,0,31,128,16,128,16,128
47856 DEFB 17,128,34,64,32,184,89,36
47864 DEFB 68,66,68,2,68,2,255,255
The next 256 bytes are copied to 33024 and define the guardian graphics.
the_menagerie_guardian0 the_menagerie_guardian1 the_menagerie_guardian2 the_menagerie_guardian3 the_menagerie_guardian4 the_menagerie_guardian5 the_menagerie_guardian6 the_menagerie_guardian7
47872 DEFB 3,0,6,128,7,192,3,0 Guardian graphic data
47880 DEFB 1,128,0,192,190,192,227,128
47888 DEFB 65,0,171,0,127,0,62,0
47896 DEFB 8,0,8,0,8,0,20,0
47904 DEFB 0,192,1,160,1,240,0,192
47912 DEFB 0,96,0,48,47,176,56,224
47920 DEFB 24,192,48,192,21,192,10,128
47928 DEFB 21,0,2,0,5,0,0,0
47936 DEFB 0,48,0,104,0,124,0,48
47944 DEFB 0,24,0,12,11,236,14,56
47952 DEFB 4,16,10,176,7,240,3,224
47960 DEFB 0,128,1,64,0,0,0,0
47968 DEFB 0,12,0,26,0,31,0,172
47976 DEFB 1,86,0,171,3,91,3,134
47984 DEFB 1,12,3,252,1,252,0,248
47992 DEFB 0,32,0,32,0,80,0,0
48000 DEFB 48,0,88,0,248,0,53,0
48008 DEFB 106,128,213,0,218,192,97,192
48016 DEFB 48,128,63,192,63,128,31,0
48024 DEFB 4,0,4,0,10,0,0,0
48032 DEFB 12,0,22,0,62,0,12,0
48040 DEFB 24,0,48,0,55,208,28,112
48048 DEFB 8,32,13,80,15,224,7,192
48056 DEFB 1,0,2,128,0,0,0,0
48064 DEFB 3,0,5,128,15,128,3,0
48072 DEFB 6,0,12,0,13,244,7,28
48080 DEFB 3,24,3,12,3,168,1,80
48088 DEFB 0,168,0,64,0,160,0,0
48096 DEFB 0,192,1,96,3,224,0,192
48104 DEFB 1,128,3,0,3,125,1,199
48112 DEFB 0,130,0,213,0,254,0,124
48120 DEFB 0,16,0,16,0,16,0,40
Prev: 46080 Up: Map Next: 48128