Add a button to return to default link sprite

This commit is contained in:
Kevin Cathcart
2018-01-05 00:42:35 -05:00
parent 9982567227
commit 6007aed5d7
3 changed files with 25 additions and 9 deletions

4
Rom.py
View File

@@ -156,6 +156,10 @@ class Sprite(object):
else:
self.valid = False
@staticmethod
def default_link_sprite():
return Sprite(local_path('data/default.zspr'))
def decode8(self, pos):
arr = [[0 for _ in range(8)] for _ in range(8)]
for y in range(8):