routine82 |
D7EE |
LD A,$08 |
|
D7F0 |
LD (unknown11),A |
|
D7F3 |
LD A,(CURSP) |
|
D7F6 |
CP $26 |
|
D7F8 |
JP M,trees_castles_spell_0 |
|
D7FB |
LD A,$01 |
|
D7FD |
LD (unknown11),A |
|
D800 |
LD A,(computer_player_flag) |
|
D803 |
OR A |
|
D804 |
JR NZ,routine82_0 |
|
D806 |
LD A,(CURSP) |
|
D809 |
CP $24 |
|
D80B |
JR Z,routine83_0 |
|
D80D |
CALL routine13 |
|
D810 |
RET |
routine82_0 |
D811 |
LD A,(CURSP) |
|
D814 |
CP $26 |
|
D816 |
JP M,trees_castles_spell_2 |
|
D819 |
LD HL,(object_table_entry_pointer) |
|
D81C |
LD A,(HL) |
|
D81D |
CP $26 |
|
D81F |
JP M,trees_castles_spell_2 |
|
D822 |
CP $28 |
|
D824 |
JP P,trees_castles_spell_2 |
|
D827 |
LD A,$00 |
|
D829 |
LD (unknown10),A |
|
D82C |
RET |