Prev: 8536 Up: Map Next: 8605
855C: Which spawn points each tile allows
One byte for each tile number: bit n set allows spawn point n (spawn_points) in a map cell holding that tile. start_attacker takes the tile of the cell it will put an attacker in from the four tile bytes at map_window_tile_bytes (the four cells the view overlaps, which load_map_window keeps from the map), and tries the allowed points starting from a random one. The table covers tiles $00-$A8; the map's one cell of tile $A9 reads its mask from the first byte of spawn_points, and $AA, which load_map_window puts in place of $3E during the fly-in (map_rebuild bit 7), the second.
This is level data: a build-time generator should lay it out by tile number, with the tiles.
spawn_point_masks 855C DEFB $FF,$15,$00,$B7,$01,$15,$15,$B5,$01,$BF,$80,$00,$15,$BF,$F1,$01
856C DEFB $15,$15,$B5,$3F,$11,$11,$B5,$00,$B7,$95,$BD,$35,$15,$00,$24,$BF
857C DEFB $00,$B0,$00,$F5,$00,$B0,$90,$B5,$80,$F5,$00,$00,$B0,$FD,$07,$80
858C DEFB $B0,$B0,$B5,$FD,$90,$90,$00,$F5,$B5,$BD,$F4,$F0,$00,$24,$00,$F5
859C DEFB $3C,$18,$14,$86,$00,$C0,$28,$01,$24,$64,$0E,$15,$6E,$66,$60,$6E
85AC DEFB $3F,$0E,$9F,$7F,$6E,$00,$F5,$1F,$1F,$F0,$3C,$0F,$18,$78,$A8,$24
85BC DEFB $B9,$00,$24,$F8,$C3,$00,$6E,$48,$6E,$02,$E0,$00,$6A,$0A,$0A,$4A
85CC DEFB $07,$3F,$02,$0A,$40,$13,$02,$C0,$D0,$17,$48,$E0,$F8,$00,$00,$00
85DC DEFB $C0,$40,$40,$D0,$00,$13,$FE,$00,$03,$10,$40,$7F,$6E,$30,$25,$00
85EC DEFB $03,$0C,$80,$26,$68,$B0,$68,$F8,$65,$68,$B5,$0E,$00,$F8,$24,$F8
85FC DEFB $F8,$FD,$0A,$6E,$1E,$3C,$FF,$FD,$BF
Prev: 8536 Up: Map Next: 8605