1234 was the last room he shot into. After that he went up to 3rd floor, got rid of gun and backpack then ran out with other students and went about his business like he had no idea what happened. 1234 was the erasure. Him getting rid of gun and getting out wasn't planned. They probably expected him to be gunned down prior to that.