This repository has been archived on 2021-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
cutthecord/patches/mutant/gendiversitycode.py

9 lines
271 B
Python

mutantcolorbase = 0x101600
for oof in range(5, 50):
character = chr(mutantcolorbase)
print(f'const-string v1, "{character}"', end="\n\n")
print(f'const/16 v2, {hex(oof)}', end="\n\n")
print(f'aput-object v1, v0, v2', end="\n\n")
mutantcolorbase += 1