![]()  | 
Routines | 
| Prev: 40540 | Up: Map | Next: 40562 | 
| 
 
Used by the routine at 40337.
 
 | 
||||
| 40548 | LD A,(38549) | A=38549. | ||
| 40551 | AND %00000111 | Keep only bits 0-2. | ||
| 40553 | CP 2 | |||
| 40555 | JR NC,40559 | |||
| 40557 | OR %00000110 | Set bits 1-2. | ||
| 40559 | OR %01000000 | Set bit 6. | ||
| 40561 | RET | Return. | ||
| Prev: 40540 | Up: Map | Next: 40562 |