Ok found it definitely not it. So checked both keys inside they look identical.
So lets assume nothing is missing then what is the sequence for putting the key into the ignition and re setting the code i am sure i read this is a normal reset procedure.
Oh and there is no sequence. What I suspect you're thinking of is the process to get a key to arm / disarm the alarm, and open the doors. The central locking / alarm and immobiliser are completely separate systems. The alarm uses a rolling code radio transmitter (which needs batteries) in the key. The immobiliser uses a passive radio frequency ID transponder which doesn't need batteries, but is also in the key.
When you press the button on the key it sends a coded signal which the alarm ecu receives, decodes, validates and then locks / unlocks whatever.
When you go to start the car among the check the ECU makes before it goes PTS (permission to start) is to send a signal to an antenna around the ignition lock barrel. That in turn causes a potential to be generated in the antenna of the RFID chip in the key. The RFID chip so triggered then sends a signal back to the antennal in the car, which is then validated (or not) by the CODE system. Wrong RFID chip = wrong signal = no PTS. No RFID chip = no signal = no PTS
C