They are already in game maker studio 2. It is a game maker studio 2 project, and you can simply look at and use the code.
Got it, I really liked it.