seed = 0xed60636d lcg = LCG(seed) npc = NPC(lcg, float32(4.0), float32(24.0)) for i in range(1, 60 * 60 * 2): npc.step() # create_frame(i, npc.currentX, npc.currentY) if i >= 368: print("step: ", i) print("prng: ", int_to_hex_str(lcg.state)) print("destX: ", single_to_hex_str(npc.destX)) print("destY: ", single_to_hex_str(npc.destY)) print("speed: ", single_to_hex_str(npc.walk_speed)) print("currentX: ", single_to_hex_str(npc.currentX)) print("currentY: ", single_to_hex_str(npc.currentY)) try: print("nextX: ", single_to_hex_str(npc.nextX)) print("nextY: ", single_to_hex_str(npc.nextY)) except: print("nextX: None") print("nextY: None") print("wait_time: ", single_to_hex_str(npc.wait_time)) npc.debug = True # input("press ENTER to continue") print() # create_video(fps=18)