Commit Graph

402 Commits

Author SHA1 Message Date
mdraves91
eec0aa5c59 send_mail script command
missed adding this file two commits ago, oops
2025-11-16 13:20:24 -06:00
mdraves91
f9f9f28bbd fixed minicom typo
I mistyped minicom as minicon in a lot of places. oops
2025-11-16 13:04:47 -06:00
mdraves91
1316fa2fc8 documenting a number of commands related to sending/delivering mail
also identified script_command_64 as the send_mail command!
2025-11-16 13:02:23 -06:00
mdraves91
2fef8e6783 adding a few more mail-related constants 2025-11-16 11:12:25 -06:00
mdraves91
0f444f8e41 documenting mail body commands 2025-11-16 10:59:42 -06:00
mdraves91
f2d40cc2fa labelling mail body text 2025-11-16 09:58:19 -06:00
mdraves91
e8c62bde65 dumping mail data 2025-11-16 09:37:27 -06:00
mdraves91
9525678649 disassembling mailbox scene data 2025-11-16 09:24:25 -06:00
mdraves91
7cdeea6f20 documenting lots of code and wram related to the minicom mailbox
I checked the new WRAM values in-game with a debugger
2025-11-16 09:15:56 -06:00
mdraves91
6718adb2c0 disassemble .minicon_functions 2025-11-14 22:11:26 -06:00
mdraves91
a7af3d69a2 documenting code that came from disassembling the DeckBuildingParams function
like previous commits, most of these names were copied from poketcg1 (where the code was the same)
2025-11-14 21:48:10 -06:00
mdraves91
b2c3808230 disassemble function map 2025-11-14 15:08:54 -06:00
mdraves91
77b6460ecf disassemble DeckBuildingParams function 2025-11-14 14:48:57 -06:00
mdraves91
e26340f332 documenting deck menu
the bulk of the names for functions, labels, wram and constants came from corresponding code in poketcg1

this refactoring extends outside the scope of newly disassembled code from the pause menu, and into code that was disassembled from the big mapfunctions dump
2025-11-14 13:59:52 -06:00
mdraves91
36bb0e4197 documenting pause menu functions
status screen, diary screen, and a the initiaL minicon screen
2025-11-14 10:09:24 -06:00
mdraves91
99bc9feec8 disassembling two menu data structures, using new macros 2025-11-14 08:57:01 -06:00
mdraves91
b55dc16cc4 documenting newly disassembled textitems 2025-11-11 09:33:26 -06:00
mdraves91
58e0119e1e disassembling text item data in newly dumped functions 2025-11-11 08:30:03 -06:00
mdraves91
6190d4499f filling in text constants, coords and other magic numbers
in functions called by the pause menu
2025-11-11 08:18:30 -06:00
mdraves91
8d4b602bde disasm pause menu key_functions 2025-11-11 08:13:12 -06:00
dannye
8cbb1f544a Disassemble GR Island player paths
finishes bank c
2025-11-09 12:25:04 -06:00
dannye
bebad8d219 Merge pull request #45 from mdraves91/tcg2disasm-recursive
enhance tcg2disasm.py to recursively dump unknown called functions
2025-11-08 15:00:37 -06:00
dannye
0cb28fe068 Merge pull request #44 from earthoul/sfx
Identify songs, SFXs, and duel anims
2025-11-08 14:48:48 -06:00
dannye
bce5c8b4b4 Merge branch 'master' of github.com:pret/poketcg2 into sfx 2025-11-08 14:48:05 -06:00
dannye
8f11c20265 Merge pull request #43 from mdraves91/start-up-debug-menu
dissasemble Startup debug menu
2025-11-08 14:02:31 -06:00
dannye
0746a74594 Minor cleanup 2025-11-08 13:58:25 -06:00
earthoul
c3453d25d6 Refactor confirm-cancel SFX codes 2025-11-08 18:06:29 +09:00
earthoul
5754313c10 Update music constants 2025-11-06 18:43:06 +09:00
mdraves91
790c5022ab fix: bank1calls to functions that were not yet disassembled were generating Func_xxx labels that did not point to bank1 2025-11-05 10:39:38 -06:00
earthoul
8f3db0ab88 Fix tileset labels + refactoring 2025-11-05 21:39:40 +09:00
earthoul
31130185df Fix GR Blimp labels and file names 2025-11-05 19:02:58 +09:00
earthoul
f25a04fb76 Identify songs and slot SFXs
Also refactor song labels and files
2025-11-05 18:54:49 +09:00
earthoul
6d55435c70 Update SFX file names
Also identify TCG1 leftovers and re-organize a few labels
2025-11-05 14:48:57 +09:00
mdraves91
65c9e971c4 fix: jr opcodes being output twice 2025-11-04 21:30:05 -06:00
mdraves91
de2035f223 change the way tcg2disasm.py handles "end" offsets provided to the script, and allow multiple addresses to be passed for disassembly
This allows a more flexible script when working with or without the new recursive feature.

Also, the previous behavior was very unintuitive, and probably not that helpful.

Before, if you provided an "end" offset, the script would go AT LEAST as far as that offset, but would not terminate if it still hadn't found a ret command, and had satisfied all of the other stop conditions. This made it very easy to pass an "end" argument that caused the script to disassemble past the real end of the function, and in many cases get stuck in an infinite loop.

However, if you also provided the "dry-run" arg, it would set the "hard stop" flag, which instead made it so that the disassembler would actually stop dead when hitting the "end" offset.

Now, you must pass the stop offset to the --hard-stop arg, and it will act like the previous dry-run/hard-stop. The other behavior (that likes to get stuck in infinite loops) is no longer available.
2025-11-04 19:22:08 -06:00
mdraves91
9746b0537f adding new args to tcg2disasm.py: --recurse and --sections 2025-11-04 19:20:06 -06:00
mdraves91
2e1b001e67 chore: typo in comment 2025-11-04 19:05:09 -06:00
dannye
41404905c0 Don't append "_" to 0
fixes an error with rgbds 1.0.0
2025-11-04 17:48:11 -06:00
earthoul
b451f77d14 Update SFX headers 2025-11-04 00:16:00 +09:00
earthoul
485bf674dd Update SFX and Duel Anim labels
TODO: Rename files and re-sort SFX functions
2025-11-03 23:18:59 +09:00
dannye
85b7d136aa Minor cleanup 2025-11-02 21:52:31 -06:00
re-cache
9492a7b88e Label unknown fields in DeckIDData in bank09.asm (#41) 2025-11-02 21:50:23 -06:00
dannye
6a87fcba53 Replace a few script constants 2025-11-02 11:03:54 -06:00
dannye
1a5595d369 Replace a few text IDs 2025-11-02 09:54:53 -06:00
mdraves91
6fd5e6feb2 disassemble menu box params for Debug menu 2025-11-02 08:05:34 -06:00
mdraves91
c680773a65 fix: switch to new hardware.inc constants after git rebase 2025-11-02 07:44:17 -06:00
mdraves91
7ad92b20be documenting debug effect viewer 2025-11-02 07:44:13 -06:00
mdraves91
724cebb8c8 disassemble debug effect viewer 2025-11-02 07:43:17 -06:00
mdraves91
e25e6379e2 documenting debug slot machine function and debug duel function 2025-11-02 07:43:02 -06:00
mdraves91
5b710cf19e disassembling two more Startup Debug Menu functions 2025-11-02 07:41:02 -06:00