Commit graph

2614 commits

Author SHA1 Message Date
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
Bryan Bishop
4c59064f9f insert_asm in insert_texts for function asm
hg-commit-id: dc34a93f0f47
2012-01-10 01:18:18 -06:00
Bryan Bishop
983b87069d call $3c49 -> call PrintText
hg-commit-id: 2d9bb23f9db3
2012-01-10 01:05:09 -06:00
Bryan Bishop
14f9f3fac7 remove debug output from gbz80disasm
hg-commit-id: 65f6c206f6e1
2012-01-10 01:02:18 -06:00
Bryan Bishop
a1eebadc37 fix gbz80disasm to optionally load a module in analyze_texts
hg-commit-id: 0504f841a9d5
2012-01-10 00:59:02 -06:00
Bryan Bishop
a036d99f28 replace all MR__MIME -> MR_MIME
hg-commit-id: d7c6ab9c996e
2012-01-10 00:35:23 -06:00
Bryan Bishop
0527d9686d OAK_S_PARCEL -> OAKS_PARCEL
hg-commit-id: e03d18825d81
2012-01-10 00:32:54 -06:00
Bryan Bishop
69f6603b82 clean up Route2Text2 asm
hg-commit-id: ba721fa305ad
2012-01-10 00:27:06 -06:00
IIMarckus
eb9ea271da Expand arguments to $3E48 (give Pokémon).
hg-commit-id: 19b5e33a08c7
2012-01-09 23:10:50 -07:00
IIMarckus
0c9db7d447 Expand arguments to $3493, $13D0.
hg-commit-id: 20f43fcec416
2012-01-09 23:07:18 -07:00
IIMarckus
0c2da1f0fb Expand arguments to $3e2e.
hg-commit-id: 0676d79eee24
2012-01-09 22:49:15 -07:00
Bryan Bishop
096e5155e2 asm injection for most $08 text scripts
hg-commit-id: 585b34d6c244
2012-01-09 23:12:43 -06:00
Bryan Bishop
c7331ebd19 updates to asm injection code
hg-commit-id: 6748c9773b32
2012-01-09 23:12:28 -06:00
Bryan Bishop
52e723ae65 insertion code for $08 text script asm
hg-commit-id: 5668ca41238c
2012-01-09 22:24:04 -06:00
Bryan Bishop
6ee0c38b35 a simple gameboy disassembler
hg-commit-id: 69a312de70de
2012-01-09 20:52:31 -06:00
Bryan Bishop
7819dc288e CELADON_HOUSE_2 -> CELADON_HOUSE
hg-commit-id: 0574f08aaf85
2012-01-09 01:19:10 -06:00