Prev: 36664 Up: Map Next: 36781
36704: Routine at 8F60
Used by the routine at StartGame.
36704 LD HL,42072 HL=42072 (screen co-ordinates).
36707 CALL PrintLine_7 Call PrintLine_7.
36710 LD C,32 C=32.
36712 LD B,10 B=10.
36714 PUSH HL Stash HL on the stack.
36715 LD (HL),0 Write 0 to *HL.
36717 INC L Increment L by one.
36718 DJNZ 36715 Decrease counter by one and loop back to 36715 until counter is zero.
36720 POP HL Restore HL from the stack.
36721 CALL PrintLine_6 Call PrintLine_6.
36724 DEC C Decrease C by one.
36725 JR NZ,36712 Jump to 36712 until C is zero.
36727 LD A,(47083) A=*47083.
36730 INC A Increment A by one.
36731 LD B,A B=A.
36732 XOR A A=0.
36733 ADD A,1 A+=1.
36735 DAA DAA.
36736 DJNZ 36733 Decrease counter by one and loop back to 36733 until counter is zero.
36738 LD B,A B=A.
36739 RRA RRA.
36740 RRA RRA.
36741 RRA RRA.
36742 RRA RRA.
36743 AND %00001111 Keep only bits 0-3.
36745 LD (36803),A Write A to *36803.
36748 LD A,B A=B.
36749 AND %00001111 Keep only bits 0-3.
36751 LD (36804),A Write A to *36804.
36754 LD A,(47078) A=*47078.
36757 INC A Increment A by one.
36758 LD (36792),A Write A to *36792.
36761 LD DE,36781 DE=Messaging_Player.
36764 LD B,2 B=2.
36766 CALL 46998 Call 46998.
36769 LD A,(47077) A=*GameMode.
36772 CP 2 Return if A is not equal to 2.
36774 RET NZ
36775 LD DE,36805 DE=Messaging_GameOn.
36778 JP PrintLine Jump to PrintLine.
Prev: 36664 Up: Map Next: 36781