<commit_before>import argparse

import CreatureRogue.maps.kanto as kanto
from CreatureRogue.models import Map, Player, Creature, Move
from CreatureRogue.game import Game
from CreatureRogue.map_state import MapState
import CreatureRogue.settings as settings
import CreatureRogue.creature_creator as creature_creator

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument("x", type=int)
    parser.add_argument("y", type=int)
    args = parser.parse_args()

    game = Game(settings.SCREEN_WIDTH, settings.SCREEN_HEIGHT, settings.TITLE, settings.FONT)
    game.load_static_data()
    game.init()

    game.game_data.player = Player("Test Player", game.static_game_data, Map(kanto.name, kanto.tiles), args.x, args.y)
    game.state = MapState(game, game.game_data, game.map_renderer)

    attacking_id = int(raw_input("Enter the pokedex number of the player creature: "))
    attacking_level = int(raw_input("Enter the level of the player creature: "))
    attacking_species = game.static_game_data.species[attacking_id]
    print("You've selected a: Lv." + str(attacking_level) + " " + str(attacking_species))

    attacking_moves = [Move(move_data) for move_data in attacking_species.move_data_at_level(attacking_level)]

    game.game_data.player.creatures.append(Creature(attacking_species, attacking_level, None, None, creature_creator.random_stat_values(game.static_game_data.stats, 1, 15), creature_creator.zero_stat_values(game.static_game_data.stats), False, attacking_moves, 1))

    game.game_loop()<commit_msg>Map test now gives you 100 pokeballs<commit_after>import argparse

import CreatureRogue.maps.kanto as kanto
from CreatureRogue.models import Map, Player, Creature, Move
from CreatureRogue.game import Game
from CreatureRogue.map_state import MapState
import CreatureRogue.settings as settings
import CreatureRogue.creature_creator as creature_creator

if __name__ == "__main__":
    parser = argparse.ArgumentParser()
    parser.add_argument("x", type=int)
    parser.add_argument("y", type=int)
    args = parser.parse_args()

    game = Game(settings.SCREEN_WIDTH, settings.SCREEN_HEIGHT, settings.TITLE, settings.FONT)
    game.load_static_data()
    game.init()

    game.game_data.player = Player("Test Player", game.static_game_data, Map(kanto.name, kanto.tiles), args.x, args.y)
    game.state = MapState(game, game.game_data, game.map_renderer)

    attacking_id = int(raw_input("Enter the pokedex number of the player creature: "))
    attacking_level = int(raw_input("Enter the level of the player creature: "))
    attacking_species = game.static_game_data.species[attacking_id]
    print("You've selected a: Lv." + str(attacking_level) + " " + str(attacking_species))

    attacking_moves = [Move(move_data) for move_data in attacking_species.move_data_at_level(attacking_level)]

    game.game_data.player.creatures.append(Creature(attacking_species, attacking_level, None, None, creature_creator.random_stat_values(game.static_game_data.stats, 1, 15), creature_creator.zero_stat_values(game.static_game_data.stats), False, attacking_moves, 1))
    game.game_data.player.pokeballs[game.game_data.player.pokeballs.keys()[0]] = 100

    game.game_loop()
{'fraction_non_alphanumeric': 0.10316967060285892, 'fraction_numerical': 0.0046612802983219395, 'mean_word_length': 5.637113402061856, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3541440', 'n_tokens_mistral': 1074, 'n_tokens_neox': 1044, 'n_words': 211}