Bryan Bishop
4e4d613074
allow commas in comments
...
Eventually gbz80disasm should be split into a separate project, there's
no point in maintaining two versions of gbz80disasm.
2013-06-10 13:08:49 -05:00
IIMarckus
7d458509d3
Merge https://bitbucket.org/sanky/pokered
...
Conflicts:
main.asm
2013-05-13 01:07:13 -06:00
Mr Wint
66aaa9a0cb
* added verification (equality test) for blue version build
...
* changed analyze_incbins to recognize generated label addresses
* fixed bank 1D assembly to make blue version build correctly
2013-03-12 03:46:32 +01:00
Sanky
2efa3ebe1f
Add generate_sys.py.
2012-12-21 19:49:56 +01:00
sawakita
19a859ca51
Improve error checking in the context of issue #27
...
Link to kanzures' guidelines for that issue:
https://bitbucket.org/iimarckus/pokered/issue/27/analyze_incbinsscan_for_predifined_labels#comment-2068911
2012-10-01 18:59:51 +02:00
sawakita
db0c37557d
Fix param error in load_asm_if_one_exists_in()
...
Not sure, but I suppose that using *args makes the passed list an element
of the args list, thus causing iteration on args to yield the passed
list as an element instead of yielding the single elements of the passed
list. Maybe.
2012-10-01 18:54:45 +02:00
sawakita
58a9aacc0b
Restore auto-loading of default "main" asm file
...
This feature was removed misunderstanding its actual use: if filename
passed to load_asm() is in defaults the correct current main asm file is
loaded. This saves us from knowing which actually is the current name of
the "main" asm file, because the correct one is chosen automatically
(unless, of course, the passed filename is not in the defaults list.
2012-10-01 18:44:36 +02:00
sawakita
cbb722d09b
Fix pokered_dir extrapolation
...
Without "os.path.abspath" the result was an empty string. Now the
absolute path is correctly calculated.
2012-10-01 18:41:16 +02:00
sawakita
723e424979
Make analyze_incbins dirs reference os-independent
...
This should fix a bug caused by comparing string literals to
directories. It should also be safer, using "os" module to access paths.
2012-09-30 20:10:13 +02:00
Bryan Bishop
ca166e1c3c
romvisualizer should delete everything just to be sure
...
hg-commit-id: 354d32230585
2012-03-16 00:22:23 -05:00
Bryan Bishop
cdcf80630f
romvisualizer updates for main.asm, common.asm, pokered.asm
...
hg-commit-id: cc4f5c666710
2012-03-16 00:08:58 -05:00
IIMarckus
7a566260e6
Remove python shebangs.
...
- Not all systems have /usr/bin/python
- On those that do, it is not always python 2
- These files aren't marked executable anyway
Just use "python whatever.py" via shell instead.
hg-commit-id: 09184f4c838d
2012-03-14 20:44:07 -06:00
IIMarckus
81adc69e65
Remove .tbl file. It is too hard to keep this in sync with textpre.awk.
...
It would be good to create a program to generate a .tbl file from the same
source as the text preprocessor.
hg-commit-id: 3d3d4dc1f559
2012-02-21 23:09:06 -07:00
Bryan Bishop
b0f4ec67a6
sanky's .tbl file
...
hg-commit-id: 840a5410c1e3
2012-02-14 12:08:50 -06:00
Bryan Bishop
7a76449908
remove some small incbins
...
hg-commit-id: 2084c82c52ec
2012-01-30 14:29:23 -06:00
Bryan Bishop
f4b8782536
tool to sort INCBINs by interval length
...
hg-commit-id: 3d687a971202
2012-01-30 13:46:31 -06:00
Bryan Bishop
25df78ecf3
extract spritesheets into .2bpp files
...
hg-commit-id: 294542bfff57
2012-01-29 21:44:52 -06:00
Bryan Bishop
18053c4dd0
use zero-padded values in base stats
...
hg-commit-id: 395f2f7a0015
2012-01-28 16:22:59 -06:00
Bryan Bishop
d1281e8d5e
move learnsets into the asm
...
hg-commit-id: a77dfd566b43
2012-01-27 22:58:20 -06:00
Bryan Bishop
dadfdd5d2e
leave insert_all_base_stats in a usable form
...
hg-commit-id: 40eb54982caa
2012-01-27 22:16:33 -06:00
Bryan Bishop
91a041f1ad
insert MewBaseStats
...
hg-commit-id: 35f5a02b395f
2012-01-27 22:15:45 -06:00
Bryan Bishop
d0aa2ed063
pokemon base stats
...
hg-commit-id: c849d2eb9f36
2012-01-27 22:09:28 -06:00
Bryan Bishop
ce6c6f1f72
small script to make better trainer header labels
...
hg-commit-id: 6ef15ef40471
2012-01-27 04:51:20 -06:00
Bryan Bishop
4f7a07efa9
rename common.asm -> main.asm
...
hg-commit-id: adec8319c54b
2012-01-25 22:33:42 -06:00
Bryan Bishop
cf80ada3c5
pretty_trainer_headers.py - print out multiple headers simultaneously
...
hg-commit-id: 6fb8641fc65b
2012-01-25 00:49:23 -06:00
Bryan Bishop
ed39e6aa81
trainer headers are 12 bytes
...
hg-commit-id: bac5f2cf5ed3
2012-01-24 15:37:31 -06:00
Bryan Bishop
d2f4073eb9
update gbz80disasm to find labels better
...
hg-commit-id: 10be245776b4
2012-01-24 12:49:08 -06:00
Bryan Bishop
52b72f0012
TextEndBattle is only used once
...
hg-commit-id: c038c49301fc
2012-01-24 02:47:39 -06:00
Bryan Bishop
e74e33a4f3
some error reporting for trainer headers
...
hg-commit-id: 63846843dfc2
2012-01-24 02:38:18 -06:00
Bryan Bishop
0b5e4e49db
python for printing trainer headers
...
hg-commit-id: c04285b83047
2012-01-24 02:21:00 -06:00
Bryan Bishop
f5c63418f3
gbz80disasm - only use labels when the bank matches
...
hg-commit-id: caf3eb99db86
2012-01-23 18:57:06 -06:00
Bryan Bishop
00229b58b4
gbz80disasm now prints out known labels
...
hg-commit-id: f54b2dfb9512
2012-01-23 16:22:05 -06:00
Bryan Bishop
435ad93a95
python to find labels and offsets in analyze_incbins
...
hg-commit-id: 469315517f04
2012-01-23 14:40:00 -06:00
Bryan Bishop
b40cb88593
$039e -> HandleMidJump
...
hg-commit-id: f18a7d446304
2012-01-23 10:12:07 -06:00
Bryan Bishop
b205d8a02e
remove silly script
...
hg-commit-id: 8738e623fe29
2012-01-23 01:16:20 -06:00
Bryan Bishop
f8c18f689d
use labels in more commands in gbz80disasm
...
hg-commit-id: b49550d941d7
2012-01-21 17:49:08 -06:00
Bryan Bishop
8d8258f5e6
replaced $3e2e with GiveItem in some texts
...
hg-commit-id: dda17ec62888
2012-01-21 17:38:16 -06:00
Bryan Bishop
a43794ce2e
update gbz80disasm to account for conditional relative forward jumps
...
hg-commit-id: 86a98b551bf2
2012-01-20 16:13:38 -06:00
Bryan Bishop
0bf1f601c4
fix palette on romviz.py
...
hg-commit-id: 104f640e8a98
2012-01-20 11:01:58 -06:00
Bryan Bishop
326ae1c129
i'm really bad at colors
...
hg-commit-id: 9a74eed9b5b2
2012-01-20 10:39:54 -06:00
Bryan Bishop
3a5864fb13
improvements to romviz.py
...
hg-commit-id: 7c93000d5ae5
2012-01-20 10:19:51 -06:00
Bryan Bishop
3c03ea1bc1
switch to W_BAGITEM01QTY format
...
hg-commit-id: 3f55b7cddb38
2012-01-19 15:46:44 -06:00
Bryan Bishop
24eac9ae3f
simple tool to dump pc item constants
...
hg-commit-id: 749bc5943ca9
2012-01-19 15:06:44 -06:00
Bryan Bishop
bed1f9de97
minor touch-ups and missed TX_FARs
...
hg-commit-id: 584a09bfde83
2012-01-19 13:09:25 -06:00
Bryan Bishop
609c797640
fill out some texts in bank $1d
...
hg-commit-id: 4f85e12d3d1f
2012-01-18 19:24:28 -06:00
Bryan Bishop
23fbb3b65d
finish bank $22 with texts
...
hg-commit-id: 5ad22b1fd1b8
2012-01-18 13:48:53 -06:00
Bryan Bishop
9dfef12c7f
calculate end address in text printer output
...
hg-commit-id: f7ac2a81cf15
2012-01-18 13:02:06 -06:00
Bryan Bishop
8db5a6b694
update pretty_text to use a default label
...
hg-commit-id: 9fefdb092622
2012-01-18 13:00:57 -06:00
IIMarckus
497f9b6602
The python tools should spit out tabs, not spaces.
...
hg-commit-id: fc09f0bbe4b3
2012-01-18 00:46:27 -07:00
Bryan Bishop
d2823aea62
update romvisualizer for common.asm
...
hg-commit-id: 478c951152e4
2012-01-17 23:40:08 -06:00