Prev: 8B80 Up: Map Next: 8B95
8B88: Test 05 : Is lift at a specific floor value.
Input
HL Points to address holding value to test for.
Output
A floor value is different to the level shown on screen. See LiftFloorNo
Test05_LiftFloor 8B88 LD A,(HL) Get value to test for.
8B89 INC HL
8B8A LD B,A
8B8B LD A,(LiftFloorNo) See the lift is set to the same value.
8B8E CP B
8B8F JP Z,Room_CllEvnt_NxtCmd True.
8B92 JP Room_CllEvnt_EndIf False.
Prev: 8B80 Up: Map Next: 8B95