From b4ea1b792fa01f2fbee17523e094468ff5db8df1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 4 Jul 2018 00:48:13 -0400 Subject: Explain python3 --- ...erent-attributes-in-different-blocks-(including-X-and-Y-flip).md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md index 374e445..7300ff2 100644 --- a/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md +++ b/Allow-tiles-to-have-different-attributes-in-different-blocks-(including-X-and-Y-flip).md @@ -104,9 +104,7 @@ for palette_map_name in palette_map_names: attributes.write(bytes(block_attrs)) ``` -Then run `python3 palmap2attr.py`, just like running `make`. - -It should output: +Then run `python3 palmap2attr.py`, just like running `make`. It should output: ``` $ python3 palmap2attr.py @@ -117,6 +115,8 @@ Convert underground_palette_map.asm ... ... to underground_attributes.bin ``` +(If it gives an error "`python3: command not found`", you need to install Python 3. It's available as the `python3` package in Cygwin.) + If you followed [the `PRIORITY` color tutorial](Allow-map-tiles-to-appear-above-sprites-\(so-NPCs-can-walk-behind-tiles\)-with-PRIORITY-colors) before this one, that's okay; palmap2attr.py supports `PRIORITY` colors too. If you haven't followed it, that's even better, because it's totally redundant with this one. :P -- cgit v1.2.3