Looks like a lot of you guys have been caught sleepwalking before. In my case, I was actually awake and aware of my surroundings, but I was doing abnormally strange things and these things somehow made sense to me. It the price scanner example, it was like I was aware of two worlds at once (Walgreens and my bedroom) and their needs combined, causing me to think I had a price scanner hiding somewhere in my room so I could help someone at Walgreens. I was also aware that it was 4:30AM, because I was reading my clock too and retaining memories.
Tbh it actually kinda sounds like how I'd imagine a hangover minus the headaches and nausea.