![]() |
Routines |
| Prev: 9F80 | Up: Map | Next: 9FCA |
|
Used by the routines at DrawEntity and DisplayEntity.
|
||||
| PrepDraw2 | 9F9F | CALL GetEntitySprite | Call GetEntitySprite. | |
|
This entry point is used by the routines at 9E9B and RemoveEntity.
|
||||
| PrepDraw2_0 | 9FA2 | LD L,(IX+$03) | ||
| 9FA5 | LD H,(IX+$04) | |||
| 9FA8 | LD A,L | |||
| 9FA9 | DEC A | |||
| 9FAA | RLCA | |||
| 9FAB | AND $0E | |||
| 9FAD | CP $0E | |||
| 9FAF | JR NZ,PrepDraw2_1 | |||
| 9FB1 | LD A,$E8 | |||
| PrepDraw2_1 | 9FB3 | LD ($9F2A),A | ||
| 9FB6 | LD A,$02 | |||
| 9FB8 | JR Z,PrepDraw2_2 | |||
| 9FBA | INC A | |||
| PrepDraw2_2 | 9FBB | LD ($5E10),A | ||
| 9FBE | CALL ScreenAddress | |||
| 9FC1 | LD A,(DE) | |||
| 9FC2 | LD ($5E19),A | |||
| 9FC5 | LD ($5E11),A | |||
| 9FC8 | JR PrepDraw23_2 | |||
|
View the equivalent code in;
|
||||
| Prev: 9F80 | Up: Map | Next: 9FCA |