27 Commits

Author SHA1 Message Date
Alieneer f6c862df6b Rename SPAWN_POINT_SILENT_HILL to SPAWN_POINT_QUIET_HILLS (#200)
This was missed during the map scripts merge.
2026-08-21 15:24:57 -04:00
Alieneer 2e413fafb1 Fix a symbol/data mismatch in wLinkPlayer* and mailmsg (#198) 2026-08-18 16:06:51 -04:00
Rangi 54024d427f Use more hardware constants 2026-08-05 12:29:35 -04:00
Rangi 2c13e2fa55 Replace hardware_constants.asm with hardware.inc (#189) 2026-08-05 11:57:44 -04:00
Alieneer 32f70c9b2e Add unreferenced comments to labels and correct Mail offsets (#188) 2026-08-04 21:31:07 -04:00
Alieneer 3911801821 Label all unnamed symbols (#184)
---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-08-02 13:03:11 -04:00
Alieneer e1b4a5f0b6 Finish some TODOs and extract bank 34 garbage map scripts (#177) 2026-07-06 19:51:27 -04:00
Rangi 2bb372d0a7 Identify more four-digit hex literals 2026-07-06 14:01:13 -04:00
Narishma-gb 047bcb4e6d Remove some hardcoded addresses, and update PrintNumber+PrintBCDNumber flags (#174) 2026-07-06 13:19:07 -04:00
Narishma-gb e88fe24e15 Use the same Makefile build system as Gen 1+2 repos (#163)
This uses catch-all files like main.asm to reduce the total quantity and size of
build objects (from 1.1 GB to 70 MB).

---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-07-05 15:36:09 -04:00
xaerochill 06fb95cf00 Name some more local labels (#162) 2026-07-05 10:14:05 -04:00
Alieneer e3abdef586 Name all unnamed RAM symbols (#160) 2026-07-02 12:02:54 -04:00
Alieneer e7f809e61c Split bank dumps into proper files (#153)
---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-06-21 09:17:56 -04:00
Rangi c7571ec354 Don't use tabs for aligning comments, only for initial indentation 2026-06-15 14:16:17 -04:00
Rangi 80191247a7 Trim trailing whitespace, and add missing newlines at end of files
git ls-files '*.asm' '*.inc' | xargs sed -i -e 's/[[:blank:]]\+$//' -e '$a\'
2026-06-15 13:50:02 -04:00
Alieneer b923cb652c Separate more Bank $0A stuff, and remove shim system 2026-06-15 13:44:55 -04:00
Alieneer d063fca509 Fully Disassemble Bank $0A
This should mark all Banks as fully disassembled, excluding filler.

Proper ram addresses will be needed later but for now it's done.
2026-06-15 13:44:55 -04:00
DrippingYellow e384ea25ec Finish labelling and split off bank03, bank09, and bank0b (#119)
* Fully labelled bank09.asm, started bank03.asm

* Finished labelling bank03.asm and bank0b.asm

* Tying up loose ends, splitting most of the completely labelled bank dumps

* Moved pokedex letter graphics out of charmap
2025-07-30 17:35:58 -04:00
jd-0 8900eb7ad0 Remove address comments
Regex patterns used:
 ; [0-9a-f]{1,5} \([0-9a-f]{1,2}:[0-9a-f]{1,4}\)
 ; [0-9a-f]{1,2}:[0-9a-f]{4}
 ; [0-9a-f]{4,5}

 ;[0-9a-f]{4,5}
 ;[0-9a-f]{1,2}:[0-9a-f]{1,4}
2020-09-20 12:07:01 -07:00
Ebernacher90 d4315d68bd Give all .asm and all .inc except of base_stats/???.inc new line at the end of file 2020-09-13 03:46:21 +02:00
luckytyphlosion e1659ecd41 Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
2018-07-03 17:07:05 -04:00
ISSOtm 20f07292a5 Replace a few predefs 2018-06-10 11:51:17 +02:00
Rangi c8e9901947 Code conventions:
- Lowercase hex literals
- Lowercase rgbasm keywords (rept, endr)
- Use decimal literals by default, binary when bits are meaningful; hex indicates that it needs further review, e.g. to define a constant
- Tabs, not spaces
- Newline at end of file (rgbds sometimes complains otherwise)
- Doc comments underneath function names
2018-06-01 13:24:42 -04:00
pfero cd9191b074 Clean up Makefile
This makefile can now figure graphics dependencies on its own, creates
dependency files for each compilation unit and compiles everything
separately.

This is a proposal. Please try it out, read the Makefile to see if you
get what I'm trying to do, and propose any improvements you want.
2018-05-30 22:53:59 +02:00
Rangi 2f65c68550 Small temporary SECTION headers go in main.asm, so the individual files won't all need fixing later 2018-05-29 19:06:23 -04:00
ISSOtm e6c75f2d84 Fix disassembling mistakes 2018-05-29 16:43:04 +02:00
ISSOtm 39a6615bcb Disassemble a lil' bit 2018-05-28 14:02:22 +02:00