Prev: CA18 Up: Map Next: CA7C
CA19: routine62
Used by the routine at routine55.
routine62 CA19 CALL EN_AN
CA1C LD HL,(TEMADD)
CA1F LD (D_ADD),HL
CA22 LD HL,INBUF
CA25 LD A,(HL)
CA26 OR A
CA27 JP Z,routine55_0
CA2A LD A,(SRTCNT)
CA2D INC A
CA2E CALL SORT
CA31 CALL routine58
CA34 LD DE,$01E1
CA37 ADD HL,DE
CA38 LD A,(HL)
CA39 AND $07
CA3B LD E,A
CA3C LD HL,map_object_table
CA3F LD B,$9F
routine62_0 CA41 PUSH BC
CA42 PUSH HL
CA43 LD A,(HL)
CA44 SUB $29
CA46 CP E
CA47 JR Z,routine62_1
CA49 LD BC,$0281
CA4C ADD HL,BC
CA4D LD A,(HL)
CA4E SUB $29
CA50 CP E
CA51 JR Z,routine62_1
CA53 POP HL
CA54 INC HL
CA55 POP BC
CA56 DJNZ routine62_0
CA58 JP routine55_0
routine62_1 CA5B POP HL
CA5C POP BC
CA5D LD (unknown61),HL
CA60 CALL routine63
CA63 LD (unknown62),A
CA66 LD HL,(AIM)
CA69 CALL routine63
CA6C LD HL,unknown62
CA6F CP (HL)
CA70 JP M,routine62_2
CA73 LD HL,(unknown61)
CA76 LD (AIM),HL
routine62_2 CA79 JP routine55_1
Prev: CA18 Up: Map Next: CA7C