Commit Graph

179 Commits

Author SHA1 Message Date
PikalaxALT
634df27635 Merge branch 'master' into build_more_roms 2018-06-03 11:04:06 -04:00
Rangi
20ac549a91 Copy pokecrystal's conventions for this data, including:
- Tabs for indentation, spaces for alignment
- Consistent comments and formatting for menu header data (incomplete here, until the related code is disassembled)
- The second two menus do not "take priority"; they're all just a count + that many items + ending -1
2018-06-03 10:55:41 -04:00
PikalaxALT
898c863bd4 Suspend support for Silver and non-debug ROMs 2018-06-03 10:54:49 -04:00
PikalaxALT
557c9268f0 Add sort_sym.py 2018-06-03 10:24:59 -04:00
pfero
f482d7fe1b Tell the user to get baserom.gb if it doesn't exist. 2018-06-03 16:08:32 +02:00
mid-kid
ec704bfa38 Fix main menu items position 2018-06-03 14:40:54 +02:00
mid-kid
375184e6a6 Merge pull request #3 from TeganGibby/patch-1
additional documentation
2018-06-03 14:35:57 +02:00
IIMarckus
d80330b122 Add more trainer leftovers from Blue. Nothing interesting here. 2018-06-03 00:03:42 -06:00
TeganGibby
c9274c2e55 comments to explain duplicates 2018-06-02 21:34:06 -07:00
TeganGibby
8054a773b4 Merge pull request #1 from TeganGibby/TeganGibby-patch-1
added detail on main menu functions
2018-06-02 21:05:14 -07:00
TeganGibby
fd33b64f69 added detail on main menu functions 2018-06-02 21:04:31 -07:00
TeganGibby
0ce725cb1c additional documentation
Compared to retail Gold disassembly
2018-06-02 20:46:45 -07:00
PikalaxALT
3a09446488 Merge branch 'master' into build_more_roms 2018-06-02 23:12:38 -04:00
PikalaxALT
8787aac995 Merge branch 'master' into build_more_roms 2018-06-02 22:57:52 -04:00
ISSOtm
e16e3a48b2 Ignore .pyc everywhere
Smh __pycache__ is created at the root for me /shrug
2018-06-03 04:53:23 +02:00
ISSOtm
bbdc4926b3 Merge branch 'master' of https://github.com/pret/pokegold-spaceworld 2018-06-03 04:52:18 +02:00
Tauwasser
e51ea1412c engine: begin disassembling overworld code
Right now it's only code that calls the start and debug menus
as well as the select button.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 04:51:38 +02:00
ISSOtm
65f85a7bd0 Enforce reading map file as utf-8
Avoids systems using `ascii` as default to choke on stuff like `Pokémon`
2018-06-03 04:50:11 +02:00
Tauwasser
c9874e1a7b home: move PrintLetterDelay to menu
That's where most of the textbox code will live some day, ... probably

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 04:44:18 +02:00
Tauwasser
069b002346 home: begin disassembling some table call functions 2018-06-03 04:43:14 +02:00
Tauwasser
51282e6029 wram: document some menu and backpack variables
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 04:23:23 +02:00
Tauwasser
b0cb7a159d gfx: re-organize some graphics and disassemble gfx load code
All graphics were split so that proper labels could be placed.
Font was not split, because that was nicely handled using the
charmap constants.

If proper lengths should also be handled using automatic calculation
using labels, some graphics would need further splitting up
in order to place labels.s

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-03 04:21:48 +02:00
PikalaxALT
4a5b6ec3e6 Add correct-header checksums to roms.md5 2018-06-02 22:17:58 -04:00
PikalaxALT
917fc32f73 Actually correct the global checksum for the -correctheader.gb ROMs 2018-06-02 22:06:02 -04:00
PikalaxALT
04610ffdf9 Fix building 2018-06-02 22:00:26 -04:00
PikalaxALT
04883f4bf9 Merge branch 'master' into build_more_roms 2018-06-02 21:26:20 -04:00
PikalaxALT
956d010d59 Make the repository build all four ROMs 2018-06-02 20:16:37 -04:00
Tauwasser
2de7726551 tools/dump_text: fix labeling bug
Labely would be relative to start of bank, not
absolute wrt memory location (0x4000 for RB > 0)

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 22:47:58 +02:00
Tauwasser
5ee0be8f97 home: comment print hex fns
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 22:47:58 +02:00
xCrystal
5fb7140613 Wild Pokemon data: fix formatting 2018-06-02 22:27:33 +02:00
xCrystal
ec2c8d971c Add wild Pokemon data 2018-06-02 21:58:28 +02:00
Rangi
e741ca79ed Merge branch 'master' of https://github.com/pret/pokegold-spaceworld 2018-06-02 12:28:38 -04:00
Rangi
005fc273e5 Comment English names of MON constants 2018-06-02 12:28:26 -04:00
Tauwasser
3fc9a8f05e home: disassemble print hexadecimal fns
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 18:26:17 +02:00
Rangi
50f26bc1ec More trainer data 2018-06-02 12:17:30 -04:00
Rangi
ad60797a76 MOVE_PSYCHIC_M → MOVE_PSYCHIC 2018-06-02 11:16:22 -04:00
pfero
8a71500cd8 Make songs their own individual objects 2018-06-02 17:11:39 +02:00
pfero
e1f279c513 Clean the correctheader rom 2018-06-02 17:04:48 +02:00
Tauwasser
b59e980b32 tools: rework dump_text and read_charmap to dump control codes
read_charmap was redone using a regular expression as comments and computations
would lead to unexpected results.
dump_names used read_charmap.get_project_dir, so copy it over to not break
stuff.
dump_text now uses a different but similar syntax and has its old dumb mode as
well as control code mode and will by default now respect text end condes
unless --endless option is specified

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 16:51:55 +02:00
Tauwasser
3f2e5b7ade macros/text: use charmap entries instead of fixed byte constants
Also introduce a separate text_end control for 0x50 when it's used to
end a series of text_* control codes instead of a single text_TX command.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 16:48:33 +02:00
IIMarckus
406182d0ad Add some trainer parties (including new and leftover ones). 2018-06-02 08:17:56 -06:00
IIMarckus
3295c685ae Add the rival's parties, which are in a different format. 2018-06-02 05:58:04 -06:00
dannye
d3654bcbbe Dump all songs
uses a slightly modified red sound engine
only added feature is drumsets, which still need documenting
2018-06-02 05:56:11 -05:00
dannye
56ecc42c12 Compress trainer pics
add missing include for soldier pic
2018-06-01 23:00:33 -05:00
luckytyphlosion
dab6d652dc Merge pull request #1 from ehw/trainersprites
Add trainer battle sprites & update gfx.asm
2018-06-01 23:37:23 -04:00
ehw
8122f9a8d6 Add trainer battle sprites & update gfx.asm 2018-06-01 22:18:11 -04:00
Tauwasser
a390b01561 shim: add some addresses
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 00:31:04 +02:00
Tauwasser
dd8ff58554 home, macros: disassemble text-related functions and add text fn macros
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 00:30:32 +02:00
Tauwasser
454c463214 constants: introduce internal order Pokémon constants
Notice that LEAFY doesn't have an internal ID, because
it's actually missing from the mapping table at
10:4B70.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 00:29:23 +02:00
Tauwasser
2e234f9205 macros: fix missing newlines at eof
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2018-06-02 00:28:59 +02:00