From 4209ad8637c33e846e2e1935061590707b820a1c Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 29 Aug 2013 12:11:06 -0500 Subject: fix a wrong error message in ItemFragment.__init__ --- pokemontools/crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3