Prev: 37425 Up: Map Next: 37559
37483: Routine at 926B
Used by the routine at 37132.
37483 CALL DrawFrame Call DrawFrame.
37486 LD HL,48896 HL=48896.
37489 LD DE,37422 DE=37422.
37492 CALL 46620 Call 46620.
37495 LD DE,36817 DE=Messaging_HighScoreTable.
37498 LD B,22 B=22.
37500 JP 46998 Jump to 46998.
This entry point is used by the routine at 37880.
37503 CALL 37483 Call 37483.
37506 LD A,239 A=239.
37508 CALL 38823 Call 38823.
37511 RRA RRA.
37512 RET C Return if {} is lower.
37513 XOR A Reset the bits from A.
37514 CALL 38823 Call 38823.
37517 JP NZ,37880 Jump to 37880 if A is not zero.
37520 LD A,128 A=128.
37522 DEC A Decrease A by one.
37523 JR NZ,37522 Jump to 37522 until A is zero.
37525 LD HL,(36166) HL=*36166.
37528 INC HL Increment HL by one.
37529 LD (36166),HL Write HL to *36166.
37532 BIT 6,H Jump to 37880 if bit 6 of H is set.
37534 JP NZ,37880
37537 JR 37506 Jump to 37506.
This entry point is used by the routine at 37880.
37539 LD B,3 B=3.
37541 LD A,(HL) A=*HL.
37542 RRA RRA.
37543 RRA RRA.
37544 RRA RRA.
37545 RRA RRA.
37546 AND %00001111 Keep only bits 0-3.
37548 LD (DE),A Write A to *DE.
37549 INC DE Increment DE by one.
37550 LD A,(HL) A=*HL.
37551 AND %00001111 Keep only bits 0-3.
37553 LD (DE),A Write A to *DE.
37554 INC DE Increment DE by one.
37555 DEC HL Decrease HL by one.
37556 DJNZ 37541 Decrease counter by one and loop back to 37541 until counter is zero.
37558 RET Return.
Prev: 37425 Up: Map Next: 37559