Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Celeste: the heart door mist back as it was

Mason Chen47b9b7bcc736
diff --git a/games/celeste/src/data.bin b/games/celeste/src/data.bin
index 96442e99..301f547f 100644
Binary files a/games/celeste/src/data.bin and b/games/celeste/src/data.bin differ
diff --git a/games/celeste/tools/pack.py b/games/celeste/tools/pack.py
index 01a87aad..3965ce94 100644
--- a/games/celeste/tools/pack.py
+++ b/games/celeste/tools/pack.py
@@ -230,8 +230,6 @@ def quantize(t):
# un-premultiply for the 565 color, keep alpha in 0..255 (quantized to 16 levels)
rgb = img[..., :3].astype(np.float32)
keyed = (a >> 4) # 0..15
- if t.path == "objects/heartdoor/mist": # (faint all over: rounded, not cut, or a third of it goes)
- keyed = np.minimum(15, (a + 8) >> 4)
c = to565(img).astype(np.uint32)
key = np.where(keyed == 0, 0xFFFFFFFF, c | (keyed << 16))
uniq = [int(k) for k in np.unique(key) if k != 0xFFFFFFFF]