ref: dadfdd5d2e397ae832dbaf7b14a6e8cc94db7690
parent: 91a041f1ad369b99a2ae4a427181f37bcce095bc
author: Bryan Bishop <[email protected]>
date: Fri Jan 27 17:16:33 EST 2012
leave insert_all_base_stats in a usable form hg-commit-id: 40eb54982caa
--- a/extras/insert_texts.py
+++ b/extras/insert_texts.py
@@ -713,7 +713,7 @@
"""
output = ""
rom = extract_maps.rom
- base_address = 0x425b #0x383de + (28 * (id))
+ base_address = 0x383de + (28 * (id))
pokedex_number = id
mon_name = get_mon_name(id)
@@ -775,7 +775,7 @@
def insert_base_stats(id):
insert_asm = base_data_pretty_printer(id)
- address = 0x425b #0x383de + (28 * (id))
+ address = 0x383de + (28 * (id))
line_number = find_incbin_to_replace_for(address)
label = get_mon_name(id).title() + "BaseStats"
if line_number == None:
@@ -808,7 +808,7 @@
def insert_all_base_stats():
for id in range(0, 152):
- if id < 149: continue #skip
+ #if id < 62: continue #skip
insert_base_stats(id)
#reset everything
@@ -836,8 +836,8 @@
load_asm()
isolate_incbins()
process_incbins()
- insert_base_stats(150)
- #insert_all_base_stats()
+ #insert_base_stats(1)
+ insert_all_base_stats()
#load texts (these two have different formats)
#all_texts = pretty_map_headers.analyze_texts.analyze_texts()