![]() |
Routines |
| Prev: BB0F | Up: Map | Next: BB3A |
|
Used by the routine at DrawLevelObjects.
Sets the carry flag. Used by DrawLevelObjects to accept a cell.
|
||||
| SetCarry | BB25 | SCF | Set the carry flag. | |
| BB26 | RET | Return. | ||
| BB27 | LD A,H | H moves into A. | ||
| BB28 | ADD A,L | Plus L. | ||
| BB29 | LD E,A | A moves into E. | ||
| BB2A | LD A,($5CE8) | Read the byte at 5CE8. | ||
| BB2D | CP E | Compare A with E. | ||
| BB2E | JR NC,SetCarry_Unused | Jump to BB36 if the carry flag is reset. | ||
| BB30 | LD A,($5CE7) | Read the byte at ViewOriginSum. | ||
| BB33 | ADD A,$C0 | Add C0. | ||
| BB35 | RET | Return. | ||
| SetCarry_Unused | BB36 | INC E | Advance E. | |
| BB37 | INC E | Advance E. | ||
| BB38 | CP E | Compare A with E. | ||
| BB39 | RET | Return. | ||
| Prev: BB0F | Up: Map | Next: BB3A |