Commit Graph

652 Commits

Author SHA1 Message Date
DrippingYellow
452a322140
Finish labelling bank $0f (#127)
Some checks failed
CI / build (push) Has been cancelled
* Split bank $0f into engine/battle/core.asm and engine/overworld/wildmons.asm
* Split wildmon probabilities into separate data/wild/probabilities.inc file for consistency
2026-01-21 18:43:18 -05:00
Rangi
7f3e77acbe Fix CI (rgbds needed sudo apt-get update) 2026-01-21 12:05:26 -05:00
Rangi
10c095bdc0
Merge pull request #126 from DrippingYellow/changes
Finish decompiling Banks $5, $e, and $23
2026-01-07 22:24:15 -05:00
Rangi
d87cd47364
Apply suggestions from code review
Co-authored-by: Narishma-gb <194818981+Narishma-gb@users.noreply.github.com>
2026-01-07 22:14:25 -05:00
DrippingYellow
2e7dc6596a
Merge branch 'master' into changes 2025-12-20 13:30:16 -05:00
DrippingYellow
b23ebba34a Finished labelling overworld loop states 2025-12-12 20:22:47 -06:00
Rangi42
5904823317 Remove executable permission from various files
Some checks failed
CI / build (push) Has been cancelled
2025-12-02 12:23:39 -05:00
Rangi42
fe207f25bb Use $(PYTHON) in Makefile for Python tools 2025-12-02 12:23:39 -05:00
Narishma-gb
d94d75f8fc
Charmap and text strings update (#124)
Some checks failed
CI / build (push) Has been cancelled
* 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)
Some checks failed
CI / build (push) Has been cancelled
* 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
c13ff726a7 Decompiled the rest of bank 23 2025-10-22 21:41:35 -05:00
DrippingYellow
9743fff41b Decompiled and labelled the remainder of Bank $0e 2025-09-16 12:26:06 -05:00
Rangi42
3cf72d5246 Remove unnecessary --trim-trailing from gfx/trainer_gear/town_map.png
Some checks failed
CI / build (push) Has been cancelled
2025-09-06 12:29:54 -04:00
DrippingYellow
d7eb11cf06 Decompiled the rest of bank 05, definitively labelled the map object struct 2025-09-04 13:28:26 -05:00
DrippingYellow
e384ea25ec
Finish labelling and split off bank03, bank09, and bank0b (#119)
Some checks failed
CI / build (push) Has been cancelled
* 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
DrippingYellow
030186d4cf
Labelling and separating bank01.asm (#117)
Some checks failed
CI / build (push) Has been cancelled
* 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
Rangi42
5a6e7a4f2d Add .rgbds-version file for rgbenv compatibility
Some checks failed
CI / build (push) Has been cancelled
2025-06-07 18:16:48 -04:00
DrippingYellow
baeb0acd54
Decompile and label all battle animations (#116)
* Began decompiling Bank $33

* Decompiled battle anim functions

* Decompiled battle anim OAM and AnimObjGFX, split up and labelled battle animation graphics, other minor changes

* Deleted useless files I forgot to delete

* Decompiled framesets

* Decompiled battle anim objects

* Partially started decompiling animations

* Finished decompiling and labelling bank 32 in its entirety

* Replaced gfx.c with latest version

* Labelled all sound effects, properly constantified

* Fixed up bg_effects.asm, other minor LYOverrides-related changes
2025-06-03 23:39:19 -04:00
DrippingYellow
05a77ef010
Decompiling Pokedex and Sprite Animation objects (#114)
Some checks failed
CI / build (push) Has been cancelled
* 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
9e05bc90a3
Finish labelling Bank 0D (#113)
Some checks failed
CI / build (push) Has been cancelled
* Labelling Bank 0D, part 1

* Untangled math HRAM variables

* Bank 10's out of the bag, I guess

* Label Bank 0D, part 2, decompiled related Bank 0E functions

* Fix data outside section

* Finished labeling Bank 0D and connected variables and functions

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2025-02-15 17:48:47 -06:00
DrippingYellow
ce247cc761
Adding bank14, good chunk of text transcribed and labelled in bank0d, renaming farcall to callab, and much more (#112)
Some checks failed
CI / build (push) Has been cancelled
* 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
daff281646 Add rgbdscheck.asm 2025-01-16 16:37:01 +00:00
TD
126d744429
bank03.asm Function Descriptions & Translations (#110)
Some checks failed
CI / build (push) Has been cancelled
* bank03.asm Function Descriptions & Translations

Comments added to many functions and text strings that were not fully disassembled. Also translated to some of the text within the file related to the functions that have been researched.

* Update bank03.asm

Beginning to rename functions/text names to match gold/yellow/red depending on which final game was closest to the code/text in the demo. Also updating/adding some translations.

* Update bank03.asm

Continuing to rename functions/text names to match gold/yellow/red depending on which final game was closest to the code/text in the demo. Also updated/added some more translations.

* Update bank03.asm - Missed One

Missed this change in the last commit since I apparently didn't save the file. Whoops. Last commit for this session.

* Update README.md

Adding the setup instructions from my personal story mode patch fork so that more new devs can maybe attempt to assist with the disassembly further. This README may change down the road to be more in-line with the main PRET repo to see if they possibly allow me to merge the Build Instructions section to their README to help the project continue to grow.

* bank03.asm Func/Data/Text Names

Adding a hopefully relatively consistent naming scheme for some more func/data/text that was not previously named. Trying to keep consistent with final Gold/Yellow/Red  naming schemes as much as possible. This should hopefully be the final bits of what was necessary for the pull request to the PRET repo.

* bank03.asm 2 Reverts, Translations, & Comments

I reverted 2 text name changes as they might be incorrect assumptions based on recent findings while continuing to translate text within the file. I also added a comment or two on some functions that I need to research further in the future when I have more time.

* Revert "Update README.md"

This reverts commit 4e9baa927b.

* Revert a few function names

Reverting a few function names that I discovered I named poorly. Will be trying to make more changes based on the feedback received by the team as soon as I can. Just want to get these few reverted for now so that I can properly research them further without reverting all of the other changes I did in a previous commit that were actually helpful.

* Corrections & Additions from vulcandth

Making corrections and additional name changes based on the amazing suggestions from vulcandth.

* Vulcandth bank03.asm sugggestions & build fix

This should fix the build error as well as make the suggested corrections from Vulcandth so that it should be compatible. I hope. Lol.
2025-01-11 15:18:33 -06:00
vulcandth
60abac1e12
Update CI with rgbds dependencies
Some checks are pending
CI / build (push) Waiting to run
2025-01-10 15:47:55 -06:00
Rangi
d553387df4 Build with RGBDS 0.9.0
Some checks failed
CI / build (push) Has been cancelled
2025-01-05 19:06:45 -05:00
Rangi
eb0a3e8208 No space between label and colon
Some checks are pending
CI / build (push) Waiting to run
2025-01-05 18:44:14 -05:00
vulcandth
9f30c9741c Update to RGBDS 0.8.0 2024-07-22 12:36:47 +00:00
Zumi
44cdca9cdd
(Partially) dump banks $0D and $0F (#99)
* Bank $0f dumping (will not build)

* Optimize title logo graphic

* Make buildable again

* Add some more labels to bank $0f

* Add bank $0d, non-building

* fix erroneous shim

* bank $0D dump buildable

* Make buildable again

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 21:40:28 -06:00
AnonymousRandomPerson
bde9a8d34c
Replaced decomp list with pret.github.io link (#109)
* Replaced decomp list with pret.github.io link

* Align readme with pokecrystal

---------

Co-authored-by: vulcandth <vulcandth@gmail.com>
2023-11-17 20:44:18 -06:00
AnonymousRandomPerson
f1581dafdc Added newer decomp projects to readme 2023-08-19 13:29:11 +00:00
SatoMew
266542003d
Port pokered's comments about NullChar (#107) 2023-07-27 16:06:02 -05:00
vulcandth
b737079c26 Identify Mapobject routines and player/follower templates 2023-06-03 17:36:12 -05:00
rawr51919
1589b290f7
Identify the rest of the unknown hardware constants (#104)
This PR identifies the rest of the unknown hardware constants as seen in the Pan Docs. Aped from pokered, pokeyellow, pokegold, and pokecrystal.
2023-06-02 10:35:15 -05:00
rawr51919
cd0c4adf15
wVirtualOAM->wShadowOAM as per convention (#103)
* wVirtualOAM->wShadowOAM as per convention

* Use macro for expanding out wShadowOAM
2023-06-02 10:25:51 -05:00
vulcandth
1d16231300
Merge pull request #46 from Tauwasser/misc1_v2
Miscellaneous Changes v2
2023-06-02 10:16:11 -05:00
vulcandth
84adc261cf Remove unnecessary whitespace 2023-06-02 15:11:07 +00:00
vulcandth
d4e74d920a Reference wJohtoBadges in SelectedPokemonSubmenu 2023-06-02 14:58:49 +00:00
Tauwasser
760016d50c bank02: add labels to function that loads dynamic gfx
Jump shadown, boulder dust etc.
But interestingly also gramps and pippi

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2023-06-02 14:48:19 +00:00
Tauwasser
d59b40b08b gfx: identify boulder dust
This is the Tile that is shown when using STRENGTH on boulders.
Only 1 tile instead of 2 in final.

Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2023-06-02 14:36:32 +00:00
Tauwasser
910bed2381 wram: identify badge flag arrays
Signed-off-by: Tauwasser <Tauwasser@tauwasser.eu>
2023-06-02 14:27:38 +00:00
vulcandth
0260f9e9df Rework object_struct and map_object 2023-06-01 22:51:44 -05:00
vulcandth
033ae0afed Add DEF to constants w/ some macro updates 2023-06-01 18:51:20 -05:00
camthesaxman
7a50367e04
make it actually build with current RGBDS (#106) 2022-12-17 00:03:52 +00:00
IIMarckus
3f9f85147f Kill Freenode. 2021-10-08 04:36:33 -06:00
Rangi
5eb9ee4cfb Some miscellaneous refactoring 2021-07-04 18:24:56 -04:00
Zumi
af65010e2c
Disassemble field debug (bank $3f) (#97)
* Disassemble SFX and cries

* Disassemble clock dialog

* Disassemble slot machine minigame

* Disassemble AnimateTilesetImpl

* Disassemble start menu frame type dialog

* Disassemble field menu

* Split debug menus into debug folder

* Remove redundant shims
2021-07-04 18:08:45 -04:00
Rangi
71050d6134
Merge pull request #96 from ZoomTen/cries-sfx
Rip SFX and cries (bank $3c)
2021-06-20 12:35:07 -04:00
Rangi
f917febffb
Merge pull request #95 from ZoomTen/super-gameboy
Some work on SGB functions (bank $02)
2021-06-20 12:32:51 -04:00
Rangi
b42d1ca1ad
Identify SGB_POKEPIC constant 2021-06-20 12:31:18 -04:00
Rangi
90ed0237ae
Identify Pokepic function 2021-06-20 12:30:46 -04:00