summaryrefslogtreecommitdiff
path: root/pokemontools/crystalparts/old_parsers.py
diff options
context:
space:
mode:
Diffstat (limited to 'pokemontools/crystalparts/old_parsers.py')
-rw-r--r--pokemontools/crystalparts/old_parsers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemontools/crystalparts/old_parsers.py b/pokemontools/crystalparts/old_parsers.py
index 371ba45..81d79ed 100644
--- a/pokemontools/crystalparts/old_parsers.py
+++ b/pokemontools/crystalparts/old_parsers.py
@@ -274,9 +274,9 @@ def old_parse_people_event_bytes(some_bytes, address=None, map_group=None, map_i
is_regular_script = lower_bits == 00
# pointer points to script
- is_give_item = lower_bits == 01
+ is_give_item = lower_bits == 0o1
# pointer points to [Item no.][Amount]
- is_trainer = lower_bits == 02
+ is_trainer = lower_bits == 0o2
# pointer points to trainer header
# goldmap called these next two bytes "text_block" and "text_bank"?