Prev: 49659 Up: Map Next: 49728
49660: Routine at C1FC
Used by the routine at 49633.
49660 POP AF Restore AF from the stack.
This entry point is used by the routines at 49600 and PrintString.
49661 PUSH HL Stash HL, BC and AF on the stack.
49662 PUSH BC
49663 PUSH AF
49664 LD A,(49659) C=*49659.
49667 LD C,A
49668 POP AF Restore AF from the stack.
49669 PUSH AF Stash AF on the stack.
49670 LD HL,(49654) HL=*DecorativeLine_ScreenPosition.
49673 CP 13 Jump to 49684 if A is not equal to 13.
49675 JR NZ,49684
49677 LD A,32 A=32.
This entry point is used by the routine at 56428.
49679 CALL PrintCharacter Call PrintCharacter.
49682 JR 49700 Jump to 49700.
49684 CP 8 Jump to 49737 if A is equal to 8.
49686 JR Z,49737
49688 CALL ValidateKeypress Call ValidateKeypress.
49691 CALL PrintCharacter Call PrintCharacter.
49694 LD A,(49652) A=*DecorativeLine_Width.
49697 DEC A Decrease A by one.
49698 JR NZ,49709 Jump to 49709 if A is not equal to 8.
49700 LD L,224 L=224.
49702 LD C,2 C=2.
49704 CALL 49777 Call 49777.
49707 LD A,36 A=36.
This entry point is used by the routine at 49737.
49709 LD (49652),A Write A to *DecorativeLine_Width.
49712 LD A,C Write C to *49659.
49713 LD (49659),A
49716 LD (49654),HL Write HL to *DecorativeLine_ScreenPosition.
49719 LD A,43 Load A with ASCII code 43 ("+").
49721 CALL PrintCharacter Call PrintCharacter.
49724 POP AF Restore AF, BC and HL from the stack.
49725 POP BC
49726 POP HL
49727 RET Return.
Prev: 49659 Up: Map Next: 49728