Prev: D97E Up: Map Next: D9BE
D99B: Routine at D99B
Used by the routine at F43E.
D99B LD A,($E2C7) A=*Item_ID.
This entry point is used by the routine at F286.
D99E CP $15 Jump to D9A6 if A is not equal to 15.
D9A0 JR NZ,$D9A6
D9A2 XOR A Write 00 to *D83B.
D9A3 LD ($D83B),A
D9A6 CP $3D Jump to D9AE if A is not equal to 3D.
D9A8 JR NZ,$D9AE
D9AA XOR A Write 00 to *D83C.
D9AB LD ($D83C),A
D9AE CP $3E Jump to D9B6 if A is not equal to 3E.
D9B0 JR NZ,$D9B6
D9B2 XOR A Write 00 to *D83D.
D9B3 LD ($D83D),A
D9B6 CP $3F Return if A is not equal to 3F.
D9B8 RET NZ
D9B9 XOR A Write 00 to *D83E.
D9BA LD ($D83E),A
D9BD RET Return.
Prev: D97E Up: Map Next: D9BE