Skip to content

Instantly share code, notes, and snippets.

import zlib
import base64
import json
import sys
def flip_entity(entity):
# translation tables
newX = [-3,-2, 0, 2,3,2,0,-2]
#Read Custom Animations
import re
import binascii
anim_1 = (r'fire_0_anim.txt')
#repr of anim_1 " '16,\n17,\n18,\n19,\n20,\n21,\n22,\n23,\n24,\n25,\n26,\n27,\n28' "
with open(anim_1, 'rb') as anim_1_:
anim_1_read = anim_1_.read()