예제 #1
0
# -*- coding: utf-8 -*-

import extras.pokemontools.preprocessor as preprocessor

import extras.pokemontools.configuration as configuration

config = configuration.Config()

import sys

from extras.pokemontools.crystal import (
    callchannel,
    loopchannel,
)

chars = {
    "ガ": 0x05,
    "ギ": 0x06,
    "グ": 0x07,
    "ゲ": 0x08,
    "ゴ": 0x09,
    "ザ": 0x0A,
    "ジ": 0x0B,
    "ズ": 0x0C,
    "ゼ": 0x0D,
    "ゾ": 0x0E,
    "ダ": 0x0F,
    "ヂ": 0x10,
    "ヅ": 0x11,
    "デ": 0x12,
    "ド": 0x13,
예제 #2
0
def setup_processor():
    config = configuration.Config()
    macros = load_pokecrystal_macros()
    processor = preprocessor.Preprocessor(config, macros)
    return processor