ref: 94949d83a3da2f51e9a268fb388ca21b5e091816
parent: 8e359308216da1d942bf14e2b03ee60232e66d8c
parent: 4e4d61307434b96ee171e46ca07bcf3ca0f09ec2
author: U-Fish-PC\Daniel <corrnondacqb@yahoo.com>
date: Sun Sep 1 13:11:51 EDT 2013
Merge branch 'fix-analyze-incbins' of https://github.com/kanzure/pokered into incbin
--- a/extras/analyze_incbins.py
+++ b/extras/analyze_incbins.py
@@ -314,6 +314,11 @@
if ": ; 0x" in line:
temp = line.split(": ; 0x")[1]
+
+ # just read until the comma appears
+ if "," in line:
+ temp = temp.split(",")[0]
+
if not " " in temp:
address = int("0x" + temp, 16)
else: