This code is a direct recreation of the code from Super Mario 64, so it accurately recreates the swinging pattern of the pendulums on random mode. More info (for nerds): When you enter the level Tick Tock Clock, depending on where the clock hand is pointing, the obstacles will behave differently. If the hand is pointing to 12:00, the pendulums swing at random speeds and pause for random durations at the peak of their swings. This is what this project is recreating.
Super Mario 64 (Obviously) Pannenkoek2012 (Inspiration from his pendulum crash video) The Super Mario 64 Decompilation (For providing the code this is based off of)