![]() |
Routines |
| Prev: CCEC | Up: Map | Next: CD07 |
|
Used by the routine at clip_dX_to_walls.
Inside if the distance plus the half-width is less than the half-size.
|
||||
| clip_dX_test | CCF6 | ADD A,(IX+$04) | inside: done | |
| CCF9 | CP B | |||
| CCFA | JR C,dX_ok | |||
| CCFC | SET 0,(IX+$0C) | stopped in X | ||
| CD00 | LD A,C | one unit shorter, and again unless nothing is left | ||
| CD01 | CALL shorten_delta | |||
| CD04 | LD C,A | |||
| CD05 | JR NZ,clip_dX_to_walls | |||
| Prev: CCEC | Up: Map | Next: CD07 |