You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Keep gfx.py with other tools, and remove its dependency on the 'extras' submodule
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import os
|
||||
import argparse
|
||||
|
||||
from extras.pokemontools import gfx, lz
|
||||
from pokemontools import gfx, lz
|
||||
|
||||
|
||||
# Graphics with inverted tilemaps that aren't covered by filepath_rules.
|
||||
@@ -146,7 +146,7 @@ def filepath_rules(filepath):
|
||||
|
||||
pokemon_name = ''
|
||||
|
||||
if 'gfx/pics/' in filedir:
|
||||
if 'gfx/pokemon/' in filedir:
|
||||
pokemon_name = filedir.split('/')[-1]
|
||||
if pokemon_name.startswith('unown_'):
|
||||
index = filedir.find(pokemon_name)
|
1
tools/pokemontools/__init__.py
Normal file
1
tools/pokemontools/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
# A subset of https://github.com/pret/pokemon-reverse-engineering-tools
|
938
tools/pokemontools/gfx.py
Normal file
938
tools/pokemontools/gfx.py
Normal file
File diff suppressed because it is too large
Load Diff
580
tools/pokemontools/lz.py
Normal file
580
tools/pokemontools/lz.py
Normal file
File diff suppressed because it is too large
Load Diff
2650
tools/pokemontools/png.py
Normal file
2650
tools/pokemontools/png.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user