Skip to content

Commit

Permalink
LADX: Fix palettes (ArchipelagoMW#1767)
Browse files Browse the repository at this point in the history
  • Loading branch information
zig-for authored Apr 26, 2023
1 parent 6c45906 commit b704070
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions worlds/ladx/LADXR/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@
from .patches import tradeSequence as _
from . import hints

from .locations.keyLocation import KeyLocation
from .patches import bank34
from .patches.aesthetics import rgb_to_bin, bin_to_rgb

from .locations.keyLocation import KeyLocation

from ..Options import TrendyGame, Palette, MusicChangeCondition

Expand Down Expand Up @@ -368,7 +370,6 @@ def clamp(x, min, max):
if x > max:
return max
return x
from patches.aesthetics import rgb_to_bin, bin_to_rgb

for address in range(start, end, 2):
packed = (rom.banks[bank][address + 1] << 8) | rom.banks[bank][address]
Expand Down

0 comments on commit b704070

Please sign in to comment.