Fnaf 2 A.I. put into scratch Key Green is the animatronic start area Grey is areas leading to the office Red is the office variable dif is the animatronics ai level location is the animatronics position movement controls the chance the animatronic can move where signals which area the animatronic will move to next
credit to some guy on youtube for an in depth analysis of fnaf 2's ai coding I never planned to share this, but I believe this could be a good way for people to understand the ways ai can be coded. Contradictory to scripted wait second sequences.