Skip to content

Commit f5812d9

Browse files
committed
Added more help text
1 parent c5b8979 commit f5812d9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dwrandomizer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import sys
66
import hashlib
77

8+
VERSION = "0.9.2"
89
#Addresses for various data. Offsets include iNES header.
910
warps_addr = (0xf3d8, 0xf50b)
1011
zones_addr = (0xf55f, 0xf5c3)
@@ -428,7 +429,9 @@ def move_repel(player_stats):
428429
return player_stats
429430

430431
def main():
431-
parser = argparse.ArgumentParser(prog="DWRandomizer")
432+
433+
parser = argparse.ArgumentParser(prog="DWRandomizer",
434+
description="A randomizer for Dragon Warrior for NES")
432435
parser.add_argument("-r","--remake", action="store_false",
433436
help="Do not set enemy HP, XP/Gold drops and MP use up to that of the "
434437
"remake. This will make grind times much longer.")
@@ -449,6 +452,7 @@ def main():
449452
help="Do not randomize towns.")
450453
parser.add_argument("-w","--shops", action="store_false",
451454
help="Do not randomize weapon shops.")
455+
# parser.add_argument('--version', action='version', version='%(prog) %s'%VERSION)
452456
parser.add_argument("filename", help="The rom file to use for input")
453457
args = parser.parse_args()
454458
randomize(args)

0 commit comments

Comments
 (0)