Routines |
Prev: 42418 | Up: Map | Next: 42515 |
Used by the routine at Handler_FloatingHand.
|
||||
42465 | LD A,(39697) | A=*39697. | ||
42468 | AND A | Return if *39697 is zero. | ||
42469 | RET Z | |||
42470 | LD HL,31488 | HL=31488. | ||
42473 | EX AF,AF' | Exchange the AF register with the shadow AF register. | ||
42474 | LD A,(HL) | A=*HL. | ||
42475 | LD DE,31879 | DE=31879. | ||
42478 | EX AF,AF' | Exchange the shadow AF register with the AF register. | ||
42479 | LD H,D | H=D. | ||
42480 | LD L,E | L=E. | ||
42481 | LD C,A | C=A. | ||
42482 | ADD A,A | A+=A. | ||
42483 | ADD A,A | A+=A. | ||
42484 | ADD A,A | A+=A. | ||
42485 | SUB C | A-=C. | ||
42486 | LD C,A | C=A. | ||
42487 | LD B,0 | B=0. | ||
42489 | ADD HL,BC | HL+=BC. | ||
42490 | EX DE,HL | Exchange the DE and HL registers. | ||
42491 | LD BC,392 | BC=0392. | ||
42494 | LDDR | LDDR. | ||
42496 | LD A,(39697) | A=*39697. | ||
42499 | LD B,A | B=A. | ||
42500 | EX AF,AF' | Exchange the shadow AF register with the AF register. | ||
42501 | LD HL,31488 | HL=31488. | ||
42504 | PUSH BC | Stash BC on the stack. | ||
42505 | LD B,7 | B=7. | ||
42507 | LD (HL),A | Write A to *HL. | ||
42508 | INC HL | Increment HL by one. | ||
42509 | DJNZ 42507 | Decrease counter by one and loop back to 42507 until counter is zero. | ||
42511 | POP BC | Restore BC from the stack. | ||
42512 | DJNZ 42504 | Decrease counter by one and loop back to 42504 until counter is zero. | ||
42514 | RET | Return. |
Prev: 42418 | Up: Map | Next: 42515 |