Stage 1-12. Code for the floor. Imagine the top row is 123 and the bottom row is 456. The floor code is 625413. The spotlight will be lowered. Tap to pick it up into your inventory.
Dismantle the jar (it wasn’t a spotlight!) to get some items. Dismantle the pill to get a note. Observe the note to see a code. DLUUURDR.
Use the metal tool piece from the jar on the wall slot to make a switch. The final door code is then 7239.
Stage 2-11. Enter code 538 to exit.
Stage 2-12. If the top row are 123, second row is 456 and last row is 789 then the code is 543819672.