Most assemblers would probably handle this, but the L2B14 and L2b14 should be the same case.
BCS L2B14 ; if 9, wake 1st bat
CMP #$06
BCS L2B21 ; if 6, wake second bat
CMP #$03
BCS L2B2E ; if 3, wake 3rd bat
L2b13 RTS ; otherwise exit
L2b14 LDA L2A5F ; Is bat 1 (CMP) sleeping?
Most assemblers would probably handle this, but the L2B14 and L2b14 should be the same case.