From 78aa4f00be882b1688c5913400ccf32a3454844a Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 7 Feb 2015 12:40:15 -0800 Subject: Pointless whitespace tweaks. --- pokemontools/gfx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokemontools/gfx.py b/pokemontools/gfx.py index 7dc1663..25caeba 100644 --- a/pokemontools/gfx.py +++ b/pokemontools/gfx.py @@ -197,7 +197,7 @@ lz_commands.update({ 'long': 7, # n is now 10 bits for a new control code }) max_length = 1 << 10 # can't go higher than 10 bits -lowmax = 1 << 5 # standard 5-bit param +lowmax = 1 << 5 # standard 5-bit param """ If 0xff is encountered instead of a command, decompression ends. @@ -373,7 +373,7 @@ class Compressed: if self.literal_only or not any( self.min_scores.get(name, score) - + int(self.scores[name] > lowmax) + + int(score > lowmax) < score for name, score in self.scores.items() ): -- cgit v1.2.3