Prev: 5E17 Up: Map Next: 6113
605B: The places the pick-ups can be dealt to
At every new game deal_places deals each player nineteen places for the pick-ups, chosen at random from this pool and copied into the player's record (from +$1D of score or other_player_record); load_map_window later puts the ones in the screen's cells into object slots. Each place is four bytes: the map column, the map row, the x within the cell (to the slot's +2) and the y within the cell (to the slot's +5). While dealing, bit 7 of the first byte marks a place already given out.
Five groups, one for each value in the dealing list (dealing_list). No table says where they are: deal_places picks a group by its own code, loading its first place and a mask one less than its size. Within each group the places are in column order. Laid out below a line per place, decoded from the game's bytes when the disassembly is built.
place_pool_kind3 605B DEFB $04,$08,$38,$58 Group 3, place 0: column 4, row 8, x 56, y 88; a player's places 11-17 are dealt from this group
605F DEFB $09,$03,$68,$9B Group 3, place 1: column 9, row 3, x 104, y 155
6063 DEFB $0A,$15,$68,$9B Group 3, place 2: column 10, row 21, x 104, y 155
6067 DEFB $11,$05,$68,$97 Group 3, place 3: column 17, row 5, x 104, y 151
606B DEFB $17,$09,$68,$47 Group 3, place 4: column 23, row 9, x 104, y 71
606F DEFB $1B,$13,$18,$9B Group 3, place 5: column 27, row 19, x 24, y 155
6073 DEFB $1F,$17,$70,$4B Group 3, place 6: column 31, row 23, x 112, y 75
6077 DEFB $24,$03,$68,$9B Group 3, place 7: column 36, row 3, x 104, y 155
607B DEFB $25,$06,$80,$78 Group 3, place 8: column 37, row 6, x 128, y 120
607F DEFB $2D,$17,$68,$9B Group 3, place 9: column 45, row 23, x 104, y 155
6083 DEFB $39,$04,$68,$9B Group 3, place 10: column 57, row 4, x 104, y 155
6087 DEFB $3E,$10,$68,$9B Group 3, place 11: column 62, row 16, x 104, y 155
608B DEFB $40,$08,$68,$97 Group 3, place 12: column 64, row 8, x 104, y 151
608F DEFB $47,$11,$68,$9B Group 3, place 13: column 71, row 17, x 104, y 155
6093 DEFB $57,$17,$68,$9B Group 3, place 14: column 87, row 23, x 104, y 155
6097 DEFB $58,$17,$68,$9B Group 3, place 15: column 88, row 23, x 104, y 155
place_pool_kind1 609B DEFB $01,$09,$68,$97 Group 1, place 0: column 1, row 9, x 104, y 151; a player's places 0, 6, 8 and 9 are dealt from this group
609F DEFB $03,$06,$68,$97 Group 1, place 1: column 3, row 6, x 104, y 151
60A3 DEFB $06,$05,$68,$97 Group 1, place 2: column 6, row 5, x 104, y 151
60A7 DEFB $13,$09,$88,$78 Group 1, place 3: column 19, row 9, x 136, y 120
60AB DEFB $27,$06,$68,$97 Group 1, place 4: column 39, row 6, x 104, y 151
60AF DEFB $28,$09,$48,$78 Group 1, place 5: column 40, row 9, x 72, y 120
60B3 DEFB $2A,$07,$68,$97 Group 1, place 6: column 42, row 7, x 104, y 151
60B7 DEFB $35,$07,$50,$78 Group 1, place 7: column 53, row 7, x 80, y 120
60BB DEFB $3E,$07,$68,$97 Group 1, place 8: column 62, row 7, x 104, y 151
60BF DEFB $46,$06,$68,$97 Group 1, place 9: column 70, row 6, x 104, y 151
60C3 DEFB $46,$08,$A8,$78 Group 1, place 10: column 70, row 8, x 168, y 120
60C7 DEFB $4A,$09,$68,$97 Group 1, place 11: column 74, row 9, x 104, y 151
60CB DEFB $4C,$09,$68,$97 Group 1, place 12: column 76, row 9, x 104, y 151
60CF DEFB $58,$09,$68,$97 Group 1, place 13: column 88, row 9, x 104, y 151
60D3 DEFB $5C,$09,$58,$7B Group 1, place 14: column 92, row 9, x 88, y 123
60D7 DEFB $5F,$09,$68,$97 Group 1, place 15: column 95, row 9, x 104, y 151
place_pool_kind5 60DB DEFB $0D,$07,$B8,$78 Group 5, place 0: column 13, row 7, x 184, y 120; a player's places 3 and 4 are dealt from this group
60DF DEFB $10,$07,$50,$78 Group 5, place 1: column 16, row 7, x 80, y 120
place_pool_kind2 60E3 DEFB $FF,$07,$C0,$78 Group 2, place 0: never dealt, since deal_places marks it dealt before it starts (its bytes: $FF, row 7, x 192, y 120); a player's places 5 and 7 are dealt from this group
60E7 DEFB $0E,$06,$68,$97 Group 2, place 1: column 14, row 6, x 104, y 151
place_pool_kind2_third 60EB DEFB $FF,$07,$58,$78 Group 2, place 2: never dealt, since deal_places marks it dealt before it starts (its bytes: $FF, row 7, x 88, y 120)
60EF DEFB $16,$08,$68,$97 Group 2, place 3: column 22, row 8, x 104, y 151
60F3 DEFB $18,$09,$68,$97 Group 2, place 4: column 24, row 9, x 104, y 151
60F7 DEFB $1A,$09,$38,$58 Group 2, place 5: column 26, row 9, x 56, y 88
60FB DEFB $1E,$07,$68,$97 Group 2, place 6: column 30, row 7, x 104, y 151
60FF DEFB $56,$09,$68,$97 Group 2, place 7: column 86, row 9, x 104, y 151
place_pool_kind4 6103 DEFB $01,$16,$B0,$6B Group 4, place 0: column 1, row 22, x 176, y 107; a player's place 18 is dealt from this group
6107 DEFB $18,$1A,$68,$9B Group 4, place 1: column 24, row 26, x 104, y 155
610B DEFB $43,$18,$68,$9B Group 4, place 2: column 67, row 24, x 104, y 155
610F DEFB $51,$18,$58,$9B Group 4, place 3: column 81, row 24, x 88, y 155
Prev: 5E17 Up: Map Next: 6113