routine12 |
97D1 |
LD HL,map_object_table |
|
97D4 |
LD (unknown12),HL |
|
97D7 |
LD B,$9F |
routine12_0 |
97D9 |
LD A,(HL) |
|
97DA |
SUB $29 |
|
97DC |
LD HL,current_player |
|
97DF |
CP (HL) |
|
97E0 |
JR Z,routine12_1 |
|
97E2 |
LD HL,(unknown12) |
|
97E5 |
LD DE,$0281 |
|
97E8 |
ADD HL,DE |
|
97E9 |
LD A,(HL) |
|
97EA |
SUB $29 |
|
97EC |
LD HL,current_player |
|
97EF |
CP (HL) |
|
97F0 |
JR Z,routine12_1 |
|
97F2 |
LD HL,(unknown12) |
|
97F5 |
INC HL |
|
97F6 |
LD (unknown12),HL |
|
97F9 |
DJNZ routine12_0 |
routine12_1 |
97FB |
LD HL,(unknown12) |
|
97FE |
LD (D_ADD),HL |
|
9801 |
LD (object_table_entry_pointer),HL |
|
9804 |
LD (X_ADD),HL |
|
9807 |
CALL routine53 |
|
980A |
LD (cursor_coordinates),HL |
|
980D |
RET |