My hubby, who doesn't play the piano, thinks that sharps and flats are "the black notes" (he can only really read guitar tabs). So I wonder if Reignmurda has got the same misunderstanding?
Reignmurda, When two notes have the same sound but different names, they are called
enharmonics. Cb is the enharmonic of B natural, and so you play the note that you know as "B". (Likewise, in reverse, B# is the same note on the piano as C natural.) So you were right to assume that, in bars 5 & 6, you just go down one semitone for those two notes.
Good luck with playing the Maple Leaf Rag - it's great isn't it!
Hope this helps.
Amber
x