Commit graph

729 commits

Author SHA1 Message Date
Bryan Bishop
7db2305640 insert $8 asm for LavenderHouse1Text3 and LavenderHouse1Text4
hg-commit-id: 0bb9b249a63e
2012-01-11 00:41:35 -06:00
Bryan Bishop
8ce98b8c1b insert $8 asm for CeladonMansion1Text3 and Text4
hg-commit-id: bb2ad6a49436
2012-01-11 00:12:03 -06:00
Bryan Bishop
32e7c1376b insert asm for CeladonMansion1Text1
hg-commit-id: 4cd9f49cf4e7
2012-01-11 00:08:49 -06:00
Bryan Bishop
632317bd1a Merge.
hg-commit-id: ffd75513dbdc
2012-01-11 00:07:48 -06:00
Bryan Bishop
e95b8f1984 add end address to gbz80disasm output in a comment
hg-commit-id: 1d79cd8b426a
2012-01-11 00:06:52 -06:00
IIMarckus
cdfdfb3337 Merge.
hg-commit-id: d2fa964e97d1
2012-01-10 23:05:13 -07:00
IIMarckus
5137fe402b Predef 54, used for in‐game trades.
hg-commit-id: 02f0dd9e097a
2012-01-10 22:44:50 -07:00
Bryan Bishop
e4bce7ed15 lowercase two-byte ops that don't have params
hg-commit-id: 4b518c1bd0a0
2012-01-10 23:42:47 -06:00
Bryan Bishop
811529f6a4 fix gbz80disasm for multi-byte opcode incrementation
hg-commit-id: ad1ae67c5991
2012-01-10 23:36:24 -06:00
Bryan Bishop
5105065c72 gbz80disasm stops at all unconditional jumps unless there's a missing label
hg-commit-id: c23fcf211c19
2012-01-10 23:16:47 -06:00
IIMarckus
317a98db94 Use item names in object data.
hg-commit-id: 800f382722dc
2012-01-10 20:57:41 -07:00
Bryan Bishop
078de8c3c8 Merge.
hg-commit-id: a16a040fd67a
2012-01-10 21:41:36 -06:00
Bryan Bishop
5e1aaba09b romviz - make an image to show progress
hg-commit-id: 207abc19d569
2012-01-10 21:20:43 -06:00
IIMarckus
376810b3be Use constants in trainer object data.
hg-commit-id: 07bbae7f8446
2012-01-10 19:53:02 -07:00
IIMarckus
d9f764e923 $CD3D seems to be used only for trades, so document it as such.
hg-commit-id: 3207c2aa47df
2012-01-10 18:16:18 -07:00
Bryan Bishop
19a3f455b7 asm for SSAnne10Text8
hg-commit-id: 7da8883183fd
2012-01-10 19:04:24 -06:00
Sawakita
7221205034 Add texts used in Prize Corner Menu script (aka text-special $F7). Add also what seems a leftover unused text.
hg-commit-id: 0dfe514a7bbb
2012-01-11 01:16:24 +01:00
Bryan Bishop
99fcdc90f6 added text_pretty_printer_at to analyze_texts
hg-commit-id: 04e647ab44f8
2012-01-10 18:04:00 -06:00
Bryan Bishop
baa077c579 clean up Lab2Text2 asm
hg-commit-id: 6eafc37892a0
2012-01-10 17:40:19 -06:00
Bryan Bishop
f90b3fece1 RockTunnel1 texts and update gbz80disasm to not handle $8
hg-commit-id: 86d0d495afbc
2012-01-10 17:35:03 -06:00
Bryan Bishop
22e331c330 asm for SSAnne8Text8
hg-commit-id: bdbbbc812f6b
2012-01-10 17:02:48 -06:00
Bryan Bishop
2a81950a3e texts for VermilionHouse1 and asm
hg-commit-id: e4d9de97f235
2012-01-10 16:58:00 -06:00
Sawakita
6ca9439c65 Function $3493, former CheckBagItemExist, is now called IsItemInBag (consistency). Added base routine for text-special id $F7
hg-commit-id: 105c01affa23
2012-01-10 23:54:38 +01:00
Bryan Bishop
9f64c38b0c asm for PewterHouse1Text1
hg-commit-id: b5b69e108340
2012-01-10 16:45:55 -06:00
Bryan Bishop
eeba935da9 insert $8 asm for CeladonCityText7 after TX_FAR
hg-commit-id: c6893d996b1d
2012-01-10 16:44:15 -06:00
Bryan Bishop
b5f656e3c8 insert $8 asm for VermilionCityText5 after TX_FAR
hg-commit-id: 80e8ce9ea8fd
2012-01-10 16:41:34 -06:00
Bryan Bishop
edbfce9ad3 update analyze_texts to find missing $08s
hg-commit-id: 298a5ffd0d98
2012-01-10 16:32:25 -06:00
Bryan Bishop
48199b4916 pick some reasonable defaults for gbz80disasm op codes
hg-commit-id: c249e08cbe9b
2012-01-10 14:58:26 -06:00
Bryan Bishop
f5eb8d3753 prefer "jp hl" over "ld pc, hl" for $E9
hg-commit-id: 4788aae09066
2012-01-10 14:44:47 -06:00
Bryan Bishop
90197fcb86 add GetMachineName address to gbz80disasm
hg-commit-id: 8ba8806f333f
2012-01-10 14:42:15 -06:00
Bryan Bishop
62daaef8e9 remove excess newlines
hg-commit-id: e909337273e4
2012-01-10 14:33:34 -06:00
Bryan Bishop
deb5bf89ae call $00b5 -> call CopyData
hg-commit-id: e6a487cf2186
2012-01-10 14:31:38 -06:00
Bryan Bishop
c52d1a1e87 remove empty INCBINs from pokered.asm
hg-commit-id: 9da7ef61c406
2012-01-10 14:24:34 -06:00
Bryan Bishop
cb9e9404c5 replace call $3e6d -> call Predef
hg-commit-id: 8045c9d0d1a1
2012-01-10 14:12:24 -06:00
Bryan Bishop
464f06ced7 Merge.
hg-commit-id: 5d78a23cd0c7
2012-01-10 13:47:00 -06:00
Bryan Bishop
76dc9b8170 call $2f9e -> call GetMonName
hg-commit-id: 7bb690c08a4d
2012-01-10 13:44:54 -06:00
Bryan Bishop
d9b994bf47 fix gbz80disasm line repetition bug
Certain two-byte op codes would be printed twice.

hg-commit-id: 8c7650a614b7
2012-01-10 13:42:21 -06:00
IIMarckus
1d97a39583 Fix typo: Lavendar → Lavender.
hg-commit-id: e231f8562c83
2012-01-10 12:11:37 -07:00
IIMarckus
b8077a31f8 Fix typo: Lavendar → Lavender.
hg-commit-id: f7b8d7224f5c
2012-01-10 12:10:15 -07:00
Bryan Bishop
ebcf2a8756 implement two-byte op codes in gbz80disasm
Previously, two-byte commands in gbz80disasm would not read or allow
parameters. This update fixes gbz80disasm to read both the "x" and
"?" parameters.

x = one-byte parameter
? = two-byte parameter

hg-commit-id: 1494e8a88115
2012-01-10 12:47:37 -06:00
Bryan Bishop
7990b5f632 call $31cc -> call LoadTrainerHeader
hg-commit-id: ad7efeae25ae
2012-01-10 12:06:48 -06:00
Bryan Bishop
b6d32d9022 fix gbz80disasm pretty printer for non-08 scripts
hg-commit-id: 6f16741dc45f
2012-01-10 12:06:32 -06:00
Bryan Bishop
71a840c3c3 add has_outstanding_labels to gbz80disasm
This checks for whether or not there are relative jumps that have not been
accounted for. When it finds that a label on a relative jump is outstanding,
it will continue past any byte or command that would usually end the script.

hg-commit-id: 20fba34f0ae2
2012-01-10 11:25:09 -06:00
Bryan Bishop
33b7fedda3 replace call pointers with labels in gbz80disasm
Also, this changes how output_bank_opcodes works. Instead of calling lower()
on the entire output, each opcode and each line is individually lowercased.

As a result, the calls end up with correctly-capitalized labels.

hg-commit-id: bdde4aa404da
2012-01-10 11:16:57 -06:00
Bryan Bishop
24d5cdd15e call $3dd7 -> call Delay3
hg-commit-id: 48f0de3e5ee3
2012-01-10 11:06:45 -06:00
Bryan Bishop
b37a473c7c call $35d6 -> call Bankswitch
Thanks sawakita.

hg-commit-id: 3f365e56f6e6
2012-01-10 09:50:56 -06:00
Bryan Bishop
468d065715 call $3927 -> call AddPokemonToParty
hg-commit-id: a4ec02195797
2012-01-10 02:11:54 -06:00
Bryan Bishop
e8fdd637b6 remove trailing whitespace
hg-commit-id: 97ab9714f6e2
2012-01-10 01:54:03 -06:00
Bryan Bishop
e7ca984d9d call $3e48 -> call GivePokemon
hg-commit-id: 47cc1351a7b5
2012-01-10 01:48:44 -06:00
Bryan Bishop
b36fbc72f3 fix extra whitespace from gbz80disasm
hg-commit-id: a244eb0b11fd
2012-01-10 01:40:34 -06:00