Prev: 53248 Up: Map Next: 55296
54272: The Endorian Forest (teleport: 146)
Used by the routine at 34436.
the_endorian_forest
The first 512 bytes are the attributes that define the layout of the cavern.
54272 DEFB 22,0,0,0,0,0,0,0 Attributes
54280 DEFB 0,0,0,4,0,68,68,68
54288 DEFB 22,0,4,0,4,68,68,68
54296 DEFB 68,68,68,68,68,68,68,22
54304 DEFB 22,0,0,0,0,0,0,0
54312 DEFB 0,0,0,0,0,0,0,0
54320 DEFB 22,0,0,0,0,4,0,0
54328 DEFB 0,0,0,0,0,0,0,22
54336 DEFB 22,68,68,68,68,68,68,0
54344 DEFB 0,0,0,0,0,0,0,0
54352 DEFB 22,0,0,0,0,0,0,0
54360 DEFB 0,0,0,68,68,68,68,22
54368 DEFB 22,0,0,4,0,0,0,0
54376 DEFB 0,0,0,0,0,0,0,0
54384 DEFB 22,0,0,0,0,0,0,0
54392 DEFB 0,0,0,0,0,0,0,22
54400 DEFB 22,0,0,0,0,0,0,0
54408 DEFB 0,0,0,0,0,0,0,0
54416 DEFB 22,68,68,68,68,0,0,0
54424 DEFB 0,0,0,0,0,0,0,22
54432 DEFB 22,0,0,0,0,0,0,0
54440 DEFB 68,2,2,2,2,2,2,2
54448 DEFB 22,0,0,0,0,0,0,68
54456 DEFB 68,68,68,68,68,68,68,22
54464 DEFB 22,68,68,68,68,0,0,0
54472 DEFB 0,0,0,0,0,0,0,0
54480 DEFB 22,0,0,0,0,0,0,0
54488 DEFB 0,0,0,0,0,0,0,22
54496 DEFB 22,0,0,0,0,0,0,0
54504 DEFB 0,0,0,0,0,0,0,0
54512 DEFB 22,68,68,68,68,68,68,68
54520 DEFB 2,2,2,0,0,0,0,22
54528 DEFB 22,68,68,68,68,68,0,0
54536 DEFB 0,0,0,0,0,0,0,0
54544 DEFB 22,0,0,0,0,0,0,0
54552 DEFB 0,0,0,0,0,0,0,22
54560 DEFB 22,4,0,0,0,0,0,0
54568 DEFB 0,68,68,68,68,68,68,68
54576 DEFB 22,0,0,0,0,0,0,0
54584 DEFB 0,0,0,0,0,68,68,22
54592 DEFB 22,68,68,68,68,2,2,0
54600 DEFB 0,0,0,0,0,0,0,0
54608 DEFB 22,68,68,68,68,68,68,68
54616 DEFB 0,0,0,0,0,0,4,22
54624 DEFB 22,0,0,0,0,0,0,0
54632 DEFB 0,0,0,0,0,0,0,0
54640 DEFB 22,0,0,0,0,0,0,4
54648 DEFB 2,2,2,0,0,0,0,22
54656 DEFB 22,0,0,0,0,0,0,0
54664 DEFB 5,5,5,5,5,5,5,5
54672 DEFB 5,5,0,0,0,0,0,0
54680 DEFB 0,0,0,0,0,0,0,22
54688 DEFB 22,68,68,68,0,0,0,0
54696 DEFB 0,0,0,0,0,0,0,0
54704 DEFB 0,0,0,0,0,0,0,0
54712 DEFB 0,0,0,0,68,68,68,22
54720 DEFB 22,0,0,0,0,0,0,0
54728 DEFB 0,0,0,0,0,0,0,0
54736 DEFB 0,0,0,0,0,0,0,0
54744 DEFB 0,0,0,0,0,0,0,22
54752 DEFB 5,5,5,5,5,5,5,5
54760 DEFB 5,5,5,5,5,5,5,5
54768 DEFB 5,5,5,5,5,5,5,5
54776 DEFB 5,5,5,5,5,5,5,5
The next 32 bytes are copied to 32768 and specify the cavern name.
54784 DEFM " The Endorian Forest " 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_9 floor_9 crumbling_floor_9 wall_9 conveyor_9 nasty1_9 nasty2_9 extra_9
54816 DEFB 0,0,0,0,0,0,0,0,0 Background
54825 DEFB 68,124,255,239,30,12,8,8,8 Floor
54834 DEFB 2,252,255,135,12,8,8,8,0 Crumbling floor
54843 DEFB 22,74,74,74,82,84,74,42,42 Wall
54852 DEFB 67,240,102,240,102,0,0,0,0 Conveyor (unused)
54861 DEFB 69,68,40,148,81,53,214,88,16 Nasty 1 (unused)
54870 DEFB 4,72,178,93,18,112,174,169,71 Nasty 2
54879 DEFB 5,255,255,202,101,146,40,130,0 Extra
The next seven bytes are copied to 32872-32878 and specify Miner Willy's initial location and appearance in the cavern.
54888 DEFB 64 Pixel y-coordinate * 2 (see 32872)
54889 DEFB 0 Animation frame (see 32873)
54890 DEFB 0 Direction and movement flags: facing right (see 32874)
54891 DEFB 0 Airborne status indicator (see 32875)
54892 DEFW 23681 Location in the attribute buffer at 23552: (4,1) (see 32876)
54894 DEFB 0 Jumping animation counter (see 32878)
The next four bytes are copied to 32879 and specify the direction, location and length of the (unused) conveyor.
54895 DEFB 0 Direction (left)
54896 DEFW 28691 Location in the screen buffer at 28672: (0,19)
54898 DEFB 1 Length
The next byte is copied to 32883 and specifies the border colour.
54899 DEFB 2 Border colour
The next byte is copied to 32884, but is not used.
54900 DEFB 0 Unused
The next 25 bytes are copied to 32885 and specify the location and initial colour of the items in the cavern.
54901 DEFB 3 Item 1 at (2,21)
54902 DEFW 23637
54904 DEFB 96
54905 DEFB 255
54906 DEFB 4 Item 2 at (1,14)
54907 DEFW 23598
54909 DEFB 96
54910 DEFB 255
54911 DEFB 5 Item 3 at (6,12)
54912 DEFW 23756
54914 DEFB 96
54915 DEFB 255
54916 DEFB 6 Item 4 at (8,18)
54917 DEFW 23826
54919 DEFB 104
54920 DEFB 255
54921 DEFB 3 Item 5 at (1,30)
54922 DEFW 23614
54924 DEFB 96
54925 DEFB 255
54926 DEFB 255 Terminator
The next 37 bytes are copied to 32911 and define the portal graphic and its location.
portal09
54927 DEFB 30 Attribute
54928 DEFB 255,255,248,143,136,145,170,145 Graphic data
54936 DEFB 170,149,138,133,144,145,213,185
54944 DEFB 213,85,209,69,137,57,137,3
54952 DEFB 168,171,170,171,138,137,255,255
54960 DEFW 23980 Location in the attribute buffer at 23552: (13,12)
54962 DEFW 26796 Location in the screen buffer at 24576: (13,12)
The next eight bytes are copied to 32948 and define the item graphic.
item09
54964 DEFB 8,8,62,95,95,71,97,62 Item graphic data
The next byte is copied to 32956 and specifies the initial air supply in the cavern.
54972 DEFB 63 Air
The next byte is copied to 32957 and initialises the game clock.
54973 DEFB 248 Game clock
The next 28 bytes are copied to 32958 and define the horizontal guardians.
54974 DEFB 70 Horizontal guardian 1: y=7, initial x=9, 9<=x<=14, speed=normal
54975 DEFW 23785
54977 DEFB 96
54978 DEFB 0
54979 DEFB 233
54980 DEFB 238
54981 DEFB 194 Horizontal guardian 2: y=10, initial x=12, 8<=x<=14, speed=slow
54982 DEFW 23884
54984 DEFB 104
54985 DEFB 0
54986 DEFB 72
54987 DEFB 78
54988 DEFB 67 Horizontal guardian 3: y=13, initial x=8, 4<=x<=26, speed=normal
54989 DEFW 23976
54991 DEFB 104
54992 DEFB 0
54993 DEFB 164
54994 DEFB 186
54995 DEFB 5 Horizontal guardian 4: y=5, initial x=18, 17<=x<=21, speed=normal
54996 DEFW 23730
54998 DEFB 96
54999 DEFB 0
55000 DEFB 177
55001 DEFB 181
55002 DEFB 255 Terminator
The next two bytes are copied to 32987 and 32988 but are not used.
55003 DEFB 0,0 Unused
The next 28 bytes are copied to 32989 and define the vertical guardians.
55005 DEFB 255,0,0,0,0,0,0 Vertical guardian 1 (unused)
55012 DEFB 0,0,0,0,0,0,0 Vertical guardian 2 (unused)
55019 DEFB 0,0,0,0,0,0,0 Vertical guardian 3 (unused)
55026 DEFB 0,0,0,0,0,0,0 Vertical guardian 4 (unused)
The next 7 bytes are unused.
55033 DEFB 0,0,0,0,0,0,0 Unused
The next 256 bytes are copied to 33024 and define the guardian graphics.
the_endorian_forest_guardian0 the_endorian_forest_guardian1 the_endorian_forest_guardian2 the_endorian_forest_guardian3 the_endorian_forest_guardian4 the_endorian_forest_guardian5 the_endorian_forest_guardian6 the_endorian_forest_guardian7
55040 DEFB 112,0,80,0,124,0,52,0 Guardian graphic data
55048 DEFB 62,0,62,0,24,0,60,0
55056 DEFB 126,0,126,0,247,0,251,0
55064 DEFB 60,0,118,0,110,0,119,0
55072 DEFB 28,0,20,0,31,0,13,0
55080 DEFB 15,128,15,128,6,0,15,0
55088 DEFB 27,128,27,128,27,128,29,128
55096 DEFB 15,0,6,0,6,0,7,0
55104 DEFB 7,0,5,0,7,192,3,64
55112 DEFB 3,224,3,224,1,128,3,192
55120 DEFB 7,224,7,224,15,112,15,176
55128 DEFB 3,192,7,96,6,224,7,112
55136 DEFB 1,192,1,64,1,240,0,208
55144 DEFB 0,248,0,248,0,96,0,240
55152 DEFB 1,248,3,252,7,254,6,246
55160 DEFB 0,248,1,218,3,14,3,132
55168 DEFB 3,128,6,128,15,128,11,0
55176 DEFB 31,0,31,0,6,0,15,0
55184 DEFB 31,128,63,192,127,224,111,96
55192 DEFB 31,0,91,128,112,192,33,192
55200 DEFB 0,224,1,160,3,224,2,192
55208 DEFB 7,192,7,192,1,128,3,192
55216 DEFB 7,224,7,224,14,240,13,240
55224 DEFB 3,192,6,224,7,96,14,224
55232 DEFB 0,56,0,104,0,248,0,176
55240 DEFB 1,240,1,240,0,96,0,240
55248 DEFB 1,248,1,216,1,216,1,184
55256 DEFB 0,240,0,96,0,96,0,224
55264 DEFB 0,14,0,26,0,62,0,44
55272 DEFB 0,124,0,124,0,24,0,60
55280 DEFB 0,126,0,126,0,239,0,223
55288 DEFB 0,60,0,110,0,118,0,238
Prev: 53248 Up: Map Next: 55296