The yellow isn't exactly switched backward. With the door closed it provides ground, giving power to that circuit. May want to check the wires on your jamb switch and see if they are reversed.
By jamb switch do you mean the switch on the door sill?
Heres an update because I believe the wire colors I said before were wrong
On the HARDTOP
BLACK w WHITE STRIPE - Ground for Dome
PINK- Power for Dome
BLACK- Ground for Defroster
BROWN w WHITE STRIPE- Power for Defroster
On the TUB
YELLOW- Power, switched via door switch
BROWN w GREEN STRIPE- unknown
BROWN w GRAY STRIPE- Switched via washer switch
BROWN w YELLOW STRIPE- unknown
Black w green stripe
I tried putting the hardtop ground to tub ground and then HT pink to the tub Yellow but I get very little voltage going to the bulb, its very dim. It gives power when the door is closed and shuts off when the door is open but it also stops the switch on the door from shutting off the foot lamp at all, just goes dim to bright and vice versa. It returns to normal when I undo the wiring from the HT. The bulb works bright as day when attached to the pink constant power from the tub.
What am I doing wrong, I am just trying to get the dome light to switch with the foot lamp so I have interior lights working properly