Prev: 89F9 Up: Map Next: 8A2E
8A04: Room : Checks inventory on exit.
Input
Output
Exit_CheckInv 8A04 LD HL,Inv_Pocket1
8A07 LD BC,$0003
8A0A LD A,(Shop_ObjIndex)
8A0D OR $80
8A0F CPIR
8A11 JR NZ,Inv_AutoSelect
8A13 CP $94 Check for stolen license.
8A15 JP Z,Shop_Locked
8A18 CP $B7 Check for stolen platina.
8A1A JP Z,Shop_Locked
Stop Thief.
8A1D CALL Message_DisplayAt
Str_StopThief 8A20 DEFM "stop thief!"
8A2B DEFB $5E
8A2C JR Inv_AutoSelect
Prev: 89F9 Up: Map Next: 8A2E