summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-01-15 16:15:25 -0600
committerBryan Bishop <kanzure@gmail.com>2013-01-15 16:15:25 -0600
commitb733482ed3e109dd55ae1636b283bc862838f0dc (patch)
treeb0aa6140efdc812d27558cd0a682ffd0b692e8a0 /crystal.py
parent6a3fa68f8bdfa88b1fcfe5b30cb06a284fe3a6f2 (diff)
remove the Size class (unused)
original-commit-id: 80781e56f045dca95e03ccf8d8851f44b0bae0df
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/crystal.py b/crystal.py
index 0a18e0b..f170532 100644
--- a/crystal.py
+++ b/crystal.py
@@ -69,23 +69,6 @@ import re
trainer_group_pointer_table_address = 0x39999
trainer_group_pointer_table_address_gs = 0x3993E
-class Size():
- """a simple way to track whether or not a size
- includes the first value or not, like for
- whether or not the size of a command in a script
- also includes the command byte or not"""
-
- def __init__(self, size, inclusive=False):
- self.inclusive = inclusive
- if inclusive: size = size-1
- self.size = size
-
- def inclusive(self):
- return self.size + 1
-
- def exclusive(self):
- return self.size
-
from interval_map import IntervalMap
# ---- script_parse_table explanation ----