it’s just a random number generator that checks if the npc can jump or not
oh lol i got lucky they were wall jumping and dodging obstalces like some super mega complex ai system