From cf488e5a5dbe516d53808959827d195540952282 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 8 May 2021 01:44:37 +0200 Subject: [PATCH] convert parse_zspr to staticmethod --- worlds/alttp/Rom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worlds/alttp/Rom.py b/worlds/alttp/Rom.py index 3283e22c..f99a8ef7 100644 --- a/worlds/alttp/Rom.py +++ b/worlds/alttp/Rom.py @@ -662,7 +662,8 @@ class Sprite(): arr[y + 8][x + 8] = bottom_right[y][x] return arr - def parse_zspr(self, filedata, expected_kind): + @staticmethod + def parse_zspr(filedata, expected_kind): logger = logging.getLogger('ZSPR') headerstr = "<4xBHHIHIHH6x" headersize = struct.calcsize(headerstr)