Prev: 911E Up: Map Next: 929C
9265: See if any duckling can eat corn
Used by the routine at 911E.
9265 PUSH BC
9266 PUSH HL
9267 PUSH DE
9268 LD A,E
9269 ADD A,$08
926B JR C,$9298
926D LD E,A
926E LD A,(HL)
926F CP $02
9271 JR Z,$9279
9273 LD A,E
9274 SUB $10
9276 JR C,$9298
9278 LD E,A
9279 EX DE,HL
927A CALL $9E34
927D CP $04
927F JR NZ,$9298
9281 LD (HL),$00
9283 LD A,(DE)
9284 ADD A,$06
9286 LD (DE),A
9287 POP HL
9288 CP $08
928A JR Z,$9290
928C LD A,L
928D SUB $08
928F LD L,A
9290 LD A,(DE)
9291 CALL $929C
9294 POP HL
9295 POP HL
9296 POP HL
9297 RET
9298 POP DE
9299 POP HL
929A POP BC
929B RET
Prev: 911E Up: Map Next: 929C