Prev: 754A Up: Map Next: 7584
7557: Routine at 7557
Used by the routine at 75CC.
7557 CALL GetDefaultSprite Call GetDefaultSprite.
This entry point is used by the routines at 7584 and 75CC.
755A LD HL,($5F14) HL=5F14.
755D LD A,L
755E DEC A
755F RLCA
7560 AND %00001110 Keep only bits 1-3.
7562 CP $0E
7564 JR NZ,$7568
7566 LD A,$F1
7568 LD ($767B),A
756B CALL $754A Call 754A.
756E CALL ScreenAddress Call ScreenAddress.
7571 LD A,(DE)
7572 SUB C
7573 JR NC,$7576
7575 XOR A A=00.
7576 LD ($5F19),A Write A to 5F19.
7579 SLA C
757B LD B,$00 B=00.
757D EX DE,HL
757E ADD HL,BC
757F EX DE,HL
This entry point is used by the routine at 7584.
7580 LD C,$00
7582 INC DE
7583 RET
Prev: 754A Up: Map Next: 7584