![]() |
Routines |
| Prev: 9F56 | Up: Map | Next: 9F9F |
|
Used by the routines at RemoveEntity and DisplayEntity.
|
||||
| PrepDraw23 | 9F80 | CALL GetSpriteA | Call GetSpriteA. | |
|
This entry point is used by the routines at GetEntitySprite and RemoveEntity.
|
||||
| PrepDraw23_0 | 9F83 | LD HL,($5E16) | HL=Saved_X (saved X position). | |
| 9F86 | LD A,L | |||
| 9F87 | DEC A | |||
| 9F88 | RLCA | |||
| 9F89 | AND %00001110 | Keep only bits 1-3. | ||
| 9F8B | CP $0E | |||
| 9F8D | JR NZ,PrepDraw23_1 | |||
| 9F8F | LD A,$E8 | |||
| PrepDraw23_1 | 9F91 | LD ($9EE5),A | ||
| 9F94 | CALL ScreenAddress | |||
| 9F97 | LD A,(DE) | |||
| 9F98 | LD ($5E18),A | |||
|
This entry point is used by the routine at PrepDraw2.
|
||||
| PrepDraw23_2 | 9F9B | LD C,$00 | ||
| 9F9D | INC DE | |||
| 9F9E | RET | Return. | ||
| Prev: 9F56 | Up: Map | Next: 9F9F |