Prev: B4FF Up: Map Next: B5C0
B500: Play area column pointers (Q values)
Used by the routine at 606C. Each byte (Q value) here corresponds to one of the 192 columns of the play area (x-coordinates 0-191). The Q value for an x-coordinate uniquely determines the appearance of the corresponding column of the play area; in other words, play area columns that have the same Q value are identical in appearance.
The first 32 Q values correspond to x-coordinates 0-31. In this range, x-coordinates 11 and 13 have the same Q value (0x0B), and x-coordinates 28 and 29 have the same Q value (0x1B).
qvalues1
B500 DEFB $00,$01,$02,$03,$04,$05,$06,$07 0<=x<=31
B508 DEFB $08,$09,$0A,$0B,$0C,$0B,$0D,$0E
B510 DEFB $0F,$10,$11,$12,$13,$14,$15,$16
B518 DEFB $17,$18,$19,$1A,$1B,$1B,$1C,$1D
The next 32 Q values correspond to x-coordinates 32-63. No two x-coordinates in this range have the same Q value.
qvalues2
B520 DEFB $1E,$1F,$20,$21,$22,$23,$24,$25 32<=x<=63
B528 DEFB $26,$27,$28,$29,$2A,$2B,$2C,$2D
B530 DEFB $2E,$2F,$30,$31,$32,$33,$34,$35
B538 DEFB $36,$37,$38,$39,$3A,$3B,$3C,$3D
The next 32 Q values correspond to x-coordinates 64-95. In this range, x-coordinates 64, 66 and 68 have the same Q value (0x3E), and x-coordinates 65, 67 and 69 have the same Q value (0x3F).
qvalues3
B540 DEFB $3E,$3F,$3E,$3F,$3E,$3F,$40,$41 64<=x<=95
B548 DEFB $42,$43,$44,$45,$46,$47,$48,$49
B550 DEFB $4A,$4B,$4C,$4D,$4E,$4F,$50,$51
B558 DEFB $52,$53,$54,$55,$56,$57,$58,$59
The next 32 Q values correspond to x-coordinates 96-127. In this range, x-coordinates 110, 112-120 and 122-127 have the same Q value (0x68).
qvalues4
B560 DEFB $5A,$5B,$5C,$5D,$5E,$5F,$60,$61 96<=x<=127
B568 DEFB $62,$63,$64,$65,$66,$67,$68,$69
B570 DEFB $68,$68,$68,$68,$68,$68,$68,$68
B578 DEFB $68,$6A,$68,$68,$68,$68,$68,$68
The next 32 Q values correspond to x-coordinates 128-159. In this range, x-coordinates 128-130, 138-146 and 148-157 have the same Q value (0x68).
qvalues5
B580 DEFB $68,$68,$68,$6B,$6C,$6D,$6E,$6F 128<=x<=159
B588 DEFB $70,$71,$68,$68,$68,$68,$68,$68
B590 DEFB $68,$68,$68,$72,$68,$68,$68,$68
B598 DEFB $68,$68,$68,$68,$68,$68,$73,$74
The next 32 Q values correspond to x-coordinates 160-191. In this range, x-coordinates 169, 171, 173 and 175 have the same Q value (0x7E), and x-coordinates 170, 172 and 174 have the same Q value (0x7F).
qvalues6
B5A0 DEFB $75,$76,$77,$78,$79,$7A,$7B,$7C 160<=x<=191
B5A8 DEFB $7D,$7E,$7F,$7E,$7F,$7E,$7F,$7E
B5B0 DEFB $80,$81,$82,$83,$84,$85,$86,$87
B5B8 DEFB $88,$89,$8A,$8B,$8C,$8D,$8E,$8F
Prev: B4FF Up: Map Next: B5C0