So, I'm trying to save variables yet again. I'm thinking that a status bar color will never change during the game and want to use a constant. How would I declare a constant in bB and have it referenced in the assembly code of a mini kernel?
For instance, I changed the color of the status bar to yellow (#$2F) in 6lives_statusbar.asm
ifconst statusbarcolor ; only write COLUPF if color variable exists, otherwise use existing PF color lda #$2E sta COLUPF endif