![]() |
Routines |
| Prev: 47887 | Up: Map | Next: 47930 |
|
Used by the routine at DrawLevelObjects.
Sets the carry flag. Used by DrawLevelObjects to accept a cell.
|
||||
| SetCarry | 47909 | SCF | Set the carry flag. | |
| 47910 | RET | Return. | ||
| 47911 | LD A,H | H moves into A. | ||
| 47912 | ADD A,L | Plus L. | ||
| 47913 | LD E,A | A moves into E. | ||
| 47914 | LD A,(23784) | Read the byte at 23784. | ||
| 47917 | CP E | Compare A with E. | ||
| 47918 | JR NC,SetCarry_Unused | Jump to 47926 if the carry flag is reset. | ||
| 47920 | LD A,(23783) | Read the byte at ViewOriginSum. | ||
| 47923 | ADD A,192 | Add 192. | ||
| 47925 | RET | Return. | ||
| SetCarry_Unused | 47926 | INC E | Advance E. | |
| 47927 | INC E | Advance E. | ||
| 47928 | CP E | Compare A with E. | ||
| 47929 | RET | Return. | ||
| Prev: 47887 | Up: Map | Next: 47930 |