25 Commits

Author SHA1 Message Date
Alieneer 00362921e8 Separate engine/menu/start_menu.asm, fix missing GetSGBLayout labels, change several menu coords to use SCREEN_WIDTH and SCREEN_HEIGHT (#213) 2026-09-08 18:08:17 -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
Rangi 2bb372d0a7 Identify more four-digit hex literals 2026-07-06 14:01:13 -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
Alieneer e3abdef586 Name all unnamed RAM symbols (#160) 2026-07-02 12:02:54 -04:00
Alieneer 4f22b8cd00 General cleanup for home/, and identify more unnamed symbols (#154)
---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-06-23 11:09:10 -04:00
Rangi 062a875864 Clean up some whitespace
- Exactly one newline at the end of each file
- No double blank lines, except to separate SECTIONs
- Tabs only used for indentation, not alignment
2026-06-21 09:34:04 -04:00
Rangi 569f827a1e Only use double blank lines (triple newlines) for separating SECTIONs 2026-06-15 14:36:21 -04:00
Alieneer 605b2d2810 Disassemble Unreferenced_GetMoveSound + minor cleanup (#139)
Removes some useless origins and fixes the table in fifteen puzzle minigames.
Changes `[hl+]` to `[hli]`.
2026-06-08 15:09:55 -04:00
Narishma-gb d94d75f8fc Charmap and text strings update (#124)
* Add Katakana `リ`, `ヘ`, `ベ`, `ペ` in charmap and text strings

* Format text strings, using macro where possible

* Remove unused charmap entries, name `Function3036`

* Charmap update and reorder, `TextAsmEnd`
2025-11-25 14:27:50 -05:00
Rangi 26a44bf940 Use features of RGBDS 1.0.0 (#123)
* All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings

* Use `rgbgfx -c dmg` for grayscale 1bpp/2bpp

* Use new string functions and operators

* Use `?` to silence nodes in warning/error location backtraces

* Use single-quoted character literals for numeric values

* Do not warn about overwriting bytes in the corrected header
2025-11-13 15:28:12 -05:00
DrippingYellow 030186d4cf Labelling and separating bank01.asm (#117)
* Started labelling dumped bank 1 functions, identified movement values

* Changed all NPCs to use the new movement constants

* Updated the rest of the movement constant instances, removed the old movement_constants.asm

* Ready to deal the finishing blow to bank01.asm

* Bank 01 is no more. Other scattered changes.

* Labelled a few flags and matched a few variables with pokegold

* Finished labelling bank02.asm too while I was at it
2025-07-07 19:02:15 -04:00
DrippingYellow 05a77ef010 Decompiling Pokedex and Sprite Animation objects (#114)
* Partially decompiled banks $10 and $23

* Couple minor tweaks

* Decompiled mon menu icon-related functions

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2025-03-27 23:38:42 -05:00
DrippingYellow ce247cc761 Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more (#112)
* Sporadic constantifying and function naming

* Added bank 14

* Delete .DS_Store files

* Delete EOL whitespace

* Use Tab indents instead of four spaces

* Identify some routines

* Identify more stuff

* Identified party and box structs

* Identified wBattleMon and wEnemyMon structs

* Macro'd landmarks, cleaned up comments

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2025-01-16 12:12:38 -06:00
vulcandth 033ae0afed Add DEF to constants w/ some macro updates 2023-06-01 18:51:20 -05:00
Zumi Daxuya 66be373dbc Create sprite_anim_constants.asm 2020-12-10 23:47:23 +07:00
Zumi Daxuya 20e4167f69 Make use of depixel / dbpixel 2020-12-10 22:10:19 +07:00
Rangi c8764950bb Remove more address comments 2020-09-20 16:25:43 -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
Rangi fac958b280 - Remove trailing whitespace
- Indent with single tabs, not spaces
- Colons after labels
- Capitalize BANK, HIGH, and LOW
- dbw BANK(X), X -> dba X
2020-09-20 13:58:03 -04:00
obskyr fc14cab189 Put 2/3 charmap EQUs back in - works in the latest version of RGBDS 2019-02-26 02:42:49 +01:00
obskyr 0e77e1aaa7 Fix EQUs in text_entry.asm 2019-02-26 01:57:55 +01:00
2Tie bc246eb3cb cleaned up labels and added more constants, removed the hardcoded relative jumps. 2018-11-30 16:47:42 -07:00
2Tie 7564f1a7c2 Disassembled the rest of the code in bank 4 as far as i can tell. Lines 899, 1538, and 1631 in engine/menu/start_menu.asm have hardcoded jumps that i couldn't figure out how to make work myself. 2018-11-29 01:50:18 -07:00