Prev: 60014 Up: Map Next: 60167
60151: Enemy Direction Code Table
Sixteen direction-code bytes used by Process_Wall_Bouncing_Enemy to map a packed 4-bit direction index (Y-sign × 4 | X-sign) to a colour attribute byte written into the wall-bouncing enemy record. Indexed as table + BC where BC = (Y_direction & 3) | (X_direction << 2).
Enemy_Direction_Code_Table 60151 DEFB 37,38,36,36,37,37,36,37
60159 DEFB 39,39,39,39,39,39,36,39
Prev: 60014 Up: Map Next: 60167