Prev: 8AC4 Up: Map Next: 8B0E
8AF1: Room : Checks to see if hero can leave strong room.
Input
Output
Shop_ChkLock 8AF1 LD HL,Inv_Pocket1 Check to see if carrying a Pearl.
8AF4 LD A,$32
8AF6 LD BC,$0003
8AF9 CPIR
8AFB JP NZ,Inv_AutoSelect If not then you can leave.
8AFE LD HL,Inv_Pocket1 Check to see if carrying the thieves license.
8B01 LD A,$14
8B03 LD BC,$0003
8B06 CPIR
8B08 JP Z,Inv_AutoSelect If so, then you can leave.
8B0B JP Shop_Locked If not then show room as locked.
Prev: 8AC4 Up: Map Next: 8B0E