diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-08-29 12:11:06 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-08-29 12:11:06 -0500 |
commit | 4209ad8637c33e846e2e1935061590707b820a1c (patch) | |
tree | a9bd985a9b1a533ff29f4cd07c0e673e2557181e | |
parent | 016f0206b5029fc83a6200be29b0f980c76dfd90 (diff) |
fix a wrong error message in ItemFragment.__init__
-rw-r--r-- | pokemontools/crystal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 2630991..4941dc2 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -3587,7 +3587,7 @@ class ItemFragment(Command): } def __init__(self, address=None, bank=None, map_group=None, map_id=None, debug=False, label=None): - assert is_valid_address(address), "PeopleEvent must be given a valid address" + assert is_valid_address(address), "ItemFragment must be given a valid address" self.address = address self.last_address = address + self.size self.bank = bank |