made a small change to the level loader

Made it so the level loader can distinguish between whether a character
is a player character or a AI
made a small change the level loader