Commit graph

154 commits

Author SHA1 Message Date
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
Bryan Bishop
b8100083ca insert many many more texts
hg-commit-id: 50dfe24e0bad
2012-01-17 20:37:55 -06:00
Bryan Bishop
c2999b8645 analyze_incbins - reject zero interval incbins
hg-commit-id: 3e2f4c7591f4
2012-01-17 16:40:47 -06:00
Bryan Bishop
b48dfcd123 fix TX_RAM injector for addresses between $a-$f inclusive
hg-commit-id: 82f2343a6d11
2012-01-17 16:16:27 -06:00
Bryan Bishop
ffdd92db77 skip some incbins from analyze_texts for 0-size intervals
hg-commit-id: a63d92b4534c
2012-01-17 15:39:36 -06:00
Bryan Bishop
a6f495e25e fix insert_texts for pre-existing TX_FAR target labels
hg-commit-id: b506eecb191a
2012-01-17 15:31:04 -06:00
Bryan Bishop
be34aed58e fix some offset errors in insert_texts.py
hg-commit-id: b131d049ecd3
2012-01-17 14:54:06 -06:00
Bryan Bishop
e5f9d4a144 text insertion code for unnamed TX_FARs
These TX_FARs are found in ASM inside INCBIN intervals, and as a
consequence do not have good names. Someone will have to review the
naming.

Note that these texts may or may not be referenced in scripts that
will eventually be imported. Some of these are raw texts that could
be completely unreferenced, but so far that doesn't look like the
case.

hg-commit-id: 47239e73071a
2012-01-17 13:34:51 -06:00
Bryan Bishop
fe40cc4c74 improve text printer, including TX_RAM and TX_NUM
hg-commit-id: 6ee4e09c729c
2012-01-17 11:02:52 -06:00
Bryan Bishop
42fa336ec6 analyze_texts - find possible TX_FARs
hg-commit-id: 3b5f657bd072
2012-01-17 03:11:11 -06:00
IIMarckus
fb072de105 Add the currency character to text tables.
hg-commit-id: 9ebaeb993372
2012-01-17 01:52:25 -07:00
Bryan Bishop
f01ad092a5 TX_RAM for text engine command $1 in pretty_text
hg-commit-id: e4f95976fef8
2012-01-17 01:33:46 -06:00
Bryan Bishop
7e592a9d98 fix naming of map size constants
hg-commit-id: 4477820444cd
2012-01-16 23:31:20 -06:00
IIMarckus
4e1ac11dbd These didn’t work as intended. Delete.
hg-commit-id: f7dc4c76e051
2012-01-16 16:00:42 -07:00
Bryan Bishop
a23a030417 analyze_texts now returns an end address
hg-commit-id: a8d2da6b569a
2012-01-16 16:25:40 -06:00
Bryan Bishop
8dc5ba8315 pretty_text - print out texts from command line
hg-commit-id: 918000556f93
2012-01-16 16:21:38 -06:00
Bryan Bishop
968c0c493c formulas for map header connections instead of raw values
hg-commit-id: b6822898d929
2012-01-16 01:40:25 -06:00
Bryan Bishop
f0d8e69adc replace connection pointers with formulas
hg-commit-id: 92972d3acaea
2012-01-15 17:20:06 -06:00
Bryan Bishop
4b0f1982bf update analyze_incbins for common.asm
hg-commit-id: ea7bf352f66c
2012-01-15 16:34:32 -06:00
Bryan Bishop
a8ef3c70db replace dimensions with constants in map headers
hg-commit-id: 53c4303c9648
2012-01-15 16:22:35 -06:00
Bryan Bishop
1f1f31ff9c connection_helper - print out a formula for connection math
hg-commit-id: 27e8096bb251
2012-01-15 15:45:09 -06:00
Bryan Bishop
dc673d1233 get direction name in extract_maps
hg-commit-id: 091427f10a69
2012-01-15 12:46:41 -06:00
Bryan Bishop
7128a9cb43 script to generate map height/width constants
hg-commit-id: fbcc1e98685a
2012-01-15 12:10:35 -06:00
Bryan Bishop
e50adb0b24 ItemUseNotTime for gbz80disasm
hg-commit-id: cb4aedaf6142
2012-01-15 09:20:59 -06:00
Bryan Bishop
c62f47cc5e GenRandom for gbz80disasm
hg-commit-id: 99c7713bd905
2012-01-15 00:44:08 -06:00
Bryan Bishop
07016dcf45 insert _VermilionCityText14 machop text
hg-commit-id: 22d36f8bc08e
2012-01-14 21:49:55 -06:00
Bryan Bishop
c744e3b4a8 extract and include blockset data
extract_tileblocks also has the ability to output asm, but the output
seems like it would be too much for rgbasm to handle. Instead of
cluttering up common.asm, I am opting to place the data in binary
data files under gfx/blocksets/ in .bst files.

Every 16 bytes is a separate block in the blockset. Each byte is
referencing a tile id from the tileset graphics in gfx/tilesets/.

hg-commit-id: 0540eff0f081
2012-01-14 17:45:55 -06:00
Bryan Bishop
7cfb09f969 tileset files in gfx/tilesets/
hg-commit-id: a1dd793bdd7f
2012-01-14 00:40:03 -06:00