Routines |
Prev: 61142 | Up: Map | Next: 61194 |
|
|||||||
Animate_TurnIntoHuman | 61163 | LD A,(53838) | Jump to Animate_TurnIntoHuman_0 if *Active_MonsterYPosition is not equal to 20. | ||||
61166 | CP 20 | ||||||
61168 | JR NZ,Animate_TurnIntoHuman_0 | ||||||
61170 | LD A,35 | Write 35 to *JumpTable_Pointer. | |||||
61172 | LD (53828),A | ||||||
61175 | XOR A | Write 0 to *Active_MonsterIdleCountdown. | |||||
61176 | LD (53833),A | ||||||
61179 | RET | Return. | |||||
Animate_TurnIntoHuman_0 | 61180 | INC A | Increment A by one. | ||||
61181 | LD (53838),A | Write A to *Active_MonsterYPosition. | |||||
Set the co-ordinates for where to draw.
|
|||||||
61184 | LD BC,(53837) | BC=*Active_MonsterXPosition/Active_MonsterYPosition. | |||||
61188 | LD A,53 | A=sprite ID 53.
|
|||||
61190 | CALL PrintSprite | Call PrintSprite. | |||||
61193 | RET | Return. |
Prev: 61142 | Up: Map | Next: 61194 |