mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-07-18 16:32:12 -05:00
rename textpre.py -> preprocessor.py
original-commit-id: 849c0d132d9a9a9b2414d5914f41a83820be8b11
This commit is contained in:
parent
53a9867201
commit
35cb2c4f8b
5
chars.py
5
chars.py
|
|
@ -1,8 +1,9 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from copy import copy
|
||||
|
||||
#this is straight out of ../textpre.py because i'm lazy
|
||||
#see jap_chars for overrides if you are in japanese mode?
|
||||
# this is straight out of ../preprocessor.py because i'm lazy
|
||||
# (also, it's flipped)
|
||||
# see jap_chars for overrides if you are in japanese mode?
|
||||
chars = {
|
||||
0x50: "@",
|
||||
0x54: "#",
|
||||
|
|
|
|||
|
|
@ -900,7 +900,7 @@ def find_text_addresses():
|
|||
|
||||
class EncodedText:
|
||||
"""a sequence of bytes that, when decoded, represent readable text
|
||||
based on the chars table from textpre.py and other places"""
|
||||
based on the chars table from preprocessor.py and other places"""
|
||||
base_label = "UnknownRawText_"
|
||||
|
||||
def __init__(self, address, bank=None, map_group=None, map_id=None, debug=True, label=None):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user