![]() |
Routines |
| Prev: CB6A | Up: Map | Next: CB8C |
|
Used by the routine at dZ_ok.
The Y part of adj_for_out_of_bounds, with L as the working dY and the final dX and dZ in C and H.
|
||||
| dX_done | CB7B | LD A,(IX+$0A) | L = dY; nothing to do if zero | |
| CB7E | AND A | |||
| CB7F | LD L,A | |||
| CB80 | JR Z,store_clipped_move | |||
| CB82 | CALL adj_dY_for_out_of_bounds | the walls first; nothing left means no objects to test | ||
| CB85 | LD A,L | |||
| CB86 | AND A | |||
| CB87 | JR Z,store_clipped_move | |||
| CB89 | CALL adj_dY_for_obj_intersect | then the other objects | ||
| Prev: CB6A | Up: Map | Next: CB8C |