Commit Graph

256 Commits

Author SHA1 Message Date
WhenGryphonsFly
873b7abfec
Decompile sub_13B28 (#124)
Some checks failed
CI / build (push) Has been cancelled
* Decompile sub_13B28

Co-Authored-By: WhenGryphonsFly <84215159+WhenGryphonsFly@users.noreply.github.com>
Co-Authored-By: Marcus Huderle <huderlem@gmail.com>

* Update rom_1332C.c

---------

Co-authored-by: colecovision <4404252+colecovision@users.noreply.github.com>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-28 17:13:43 -05:00
Wendy Moniuk
67671a8c64
decompile sub_30480 (#121)
* decompile sub_30480

* remove expected objects file

* change numeric literals to values that make more sense.
2025-06-28 09:21:22 -05:00
Smileynator
e6ffbd8312
Decompile sub_19490 (#119)
Some checks are pending
CI / build (push) Waiting to run
* Fixed wrong DmaCopy in sub_93F8

* Decompile sub_19490

* Removed expected_obj

* Added sane tile mapping constants instead of magic values.

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-27 18:56:03 -05:00
Marcus Huderle
a99816b8d5 sub_36CB4 2025-06-27 18:41:07 -05:00
Eduardo Quezada
00acbaa9c6
Some documentation (#117)
Some checks are pending
CI / build (push) Waiting to run
* Split save and cry files + some doc

* Some Bonus stage documentation
2025-06-25 20:02:14 -05:00
Marcus Huderle
319ebf1647 sub_35D54
Some checks are pending
CI / build (push) Waiting to run
2025-06-24 21:00:06 -05:00
Smileynator
8fae79dd62
Decomp sub_1931C (#116)
Some checks failed
CI / build (push) Has been cancelled
* Decomp sub_1931C

* Remove comments

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-22 08:39:37 -05:00
Marcus Huderle
9f79d92a22 sub_35AA4 2025-06-22 08:31:45 -05:00
Marcus Huderle
b30ec50e11 sub_356A0, sub_357B8, and sub_35860
Some checks are pending
CI / build (push) Waiting to run
2025-06-21 13:53:31 -05:00
Retnuhytnuob
e8822d07ab
Decompile sub_13D24; sub_14074; add 'anglemath.h' (#115)
Some checks are pending
CI / build (push) Waiting to run
* Decompile sub_13D24

* remove temp names from extern function definition

* decompile sub_14074

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:31:39 -05:00
Smileynator
1c0a9314f8
Decompile sub_19048, IdlePinballGameMain, sub_19190, sub_19288 and sub_19304 (#114)
* decompile IdlePinballGameMain
documented gMain.subState
Broken state due to gIdlePinballGameStateFuncs definition

* Fixed definition of gIdlePinballGameStateFuncs

* Decimpile sub_19048

* Decomp sub_19190

* Fixed the io_reg macro name for joystick without LR as an input check.

* used proper macro's for field checks

* Decompile sub_19288 and sub_19304

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:17:05 -05:00
Retnuhytnuob
a18ce7ed26
Name flipper toggled elements (PinballGame -> unk1E2, unk710-713, unk718-71A) (#112)
* Name flipper toggled elements

* rename outlane to have pika in name, for readability
2025-06-19 10:06:50 -05:00
Retnuhytnuob
7e7c48d01f
Name known ball related fields (unk10; unk28; unk2C; renames position, prevPosition) and unk132c (#111)
* name known ball related fields

* pr feedback: positionQ#, rather than separate naming

* remove unneeded/out-of-date comments

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-19 10:05:23 -05:00
Retnuhytnuob
6987620218
Decompiled sub 1 aaa0 (#110)
Some checks failed
CI / build (push) Has been cancelled
* decompiled sub_1AAA0

* additional documentation

* remove decomp note

* minor cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-13 16:37:25 -05:00
Smileynator
b67e21775e
Decompile sub_18DAC (#109)
* Decompile sub_18DAC

* Also decompiled sub_18F38 while at it
2025-06-13 16:33:00 -05:00
Retnuhytnuob
43302a9134
Define gUnknown_086BB910 (#107)
* define gUnknown_086BB910

* remove unintended name for Substate 9

* Document buttonConfigs 2d array
2025-06-13 16:31:19 -05:00
Marcus Huderle
27479efa04 add unk13BC struct
Dump bonus field select bg tilemaps

fix palette map filepath check

dump some pokedex graphics
2025-06-10 08:04:16 -05:00
MCboy
752f8e1c52
decompile sub_336E0 and sub_340EC (#108)
* decompile sub_336E0 and sub_340EC

* remove decomp note comment
2025-06-10 08:03:18 -05:00
Smileynator
cbb8a73c51
Decompile sub_18B50 (#106)
* Decompiled sub_18B50

* Fixed pointer formatting in editor

* Fixed logical check, and bracket placements

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-08 07:26:03 -05:00
Retnuhytnuob
aa0d598b3b
Document sounds (#105)
* Update rom.s

* Update bg_music.h

* fix missing include

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:38:52 -05:00
Wendy Moniuk
9c4ee2ac15
decompile sub_4E598. (#104)
* decompile sub_4E598.

* cleanup

* remove dead section

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:35:24 -05:00
Smileynator
a631bf157d
Decompile sub_18784 and sub_187F4 (#103)
* Decompile sub_18784

* first bit of work on sub_187F4

* Matched sub_187F4

* Got a verified match due to 1 missing sign, oops.

* Removed file fragmentation

* cleanup

* tabs

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:13:29 -05:00
Δelta
1b7e0b8843
Decompiled functions: sub_50FAC,50FD4,51058,51090,51128,51150511F8 (#102)
* Decompile sub_2E67C

* Decompile sub_17634

* Delete sub_17634.o expected object

* Delete sub_2E67C.o expected object

* Decompiled function sub_50FAC(void) and added SpriteSetTableEntry variable(gUnknown_086B155C[])  and struct SpriteSetTableEntry

* Deleted sub_50FAC.o

* Decompiled sub_50FD4 and deleted its object

* Decompiled sub_51068 and deleted its object

* Decompiled sub_51090 and deleted its object

* Decompiled sub_51128 and deleted its object

* Decompiled sub_51150 and deleted its object

* Decompiled sub_511F8 and deleted its object

* Removed header comments

* Use correct struct access

* Use correct struct access here too

* cleanup

---------

Co-authored-by: THCFree <me@thcfree.dev>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-07 15:00:37 -05:00
Marcus Huderle
294ecf3816 Dump some more data from pokedex and intro 2025-06-01 11:04:45 -05:00
Marcus Huderle
ecb5f9f0b8 Dump Gb Player screen data 2025-05-31 12:13:15 -05:00
Smileynator
589b962b68
Decompile sub_18A4C and sub_18AE0 (#101)
* Decompiled sub_18A4C and sub_18AE0

* Renamed rom file to reflect starting address

* fixup ld_script and style

* spaces

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-30 16:11:09 -05:00
Cyphgirl
ffd5c06122 Decompile sub_13FC
Retypes
* gUnknown_02002808 to a struct

Adds 2 new variables

Cyphgirl
2025-05-26 14:05:47 -05:00
ColinT
81f0629785
Decompile sub_31BE8 (#98)
* Decompile sub_31be8

* fix matching
2025-05-26 14:01:58 -05:00
Marcus Huderle
e0f35b0572 sub_8974 2025-05-20 08:41:03 -05:00
Marcus Huderle
8d5b6f6751 sub_88E4 2025-05-20 08:12:36 -05:00
ColinT
bb86e54902
decompile sub_31CF8 (#97)
Some checks failed
CI / build (push) Has been cancelled
* decompile sub_31CF8

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-19 08:20:03 -05:00
ColinT
09403d1e89
Decompile sub_12BF8 (#96)
* Decompile sub_12BF8

* Fix up types and DmaCopy calls

* formatting cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-05-19 08:07:30 -05:00
Marcus Huderle
5c35766f7f sub_70E0
Some checks are pending
CI / build (push) Waiting to run
2025-05-18 11:08:29 -05:00
Marcus Huderle
460af32c4a sub_13934
Some checks failed
CI / build (push) Has been cancelled
2025-04-27 09:36:45 -05:00
ColinT
e9378c83b6
Decompile function 27E08 (#95)
* temp

* Decomp 27E08

* Delete expected_obj

* Rewrite as for loop

* Fix non-matching code

* Delete asm of decompiled function

* Fix styles
2025-04-27 08:19:34 -05:00
WhenGryphonsFly
a2edf47e73
Merge pull request #94 from Hyenate/master
Some checks failed
CI / build (push) Has been cancelled
Decompile sub_1A0F4
2025-04-06 16:25:36 -05:00
Hyenate
cb8a08ec31 Decompile sub_1A0F4 2025-03-25 22:12:23 -04:00
Jan Arne Sparka
baa778ab32
Merge branch 'pret:master' into sub_13824 2025-03-18 07:03:13 +01:00
Hyenate
0c5793f7ec
Merge branch 'master' into sub_19FA0 2025-03-17 18:11:52 -04:00
Hyenate
a18f76aa90 Decompile sub_19FA0 2025-03-16 17:54:02 -04:00
Gameonlp
22055f515e Decompiled sub_13824, added discovered functions, added discovered fields to gCurrentPinballGame 2025-03-14 19:13:25 +01:00
Gameonlp
e0cba45d96 Merge remote-tracking branch 'origin/master' into sub_1333C
Fixed indentation in global.h, moved function definitions, fixed code style to allman, fixed typing mistake for unk127
2025-03-11 06:48:10 +01:00
WhenGryphonsFly
ad9581c882
Merge pull request #91 from Hyenate/master
Some checks failed
CI / build (push) Has been cancelled
Decompile sub_19E10 and sub_19F70
2025-03-10 22:44:35 -05:00
WhenGryphonsFly
f2d9169585
Merge pull request #89 from fakuzatsu/document-species-selection
document selection of species for catch 'em mode and for hatching eggs
2025-03-10 22:40:28 -05:00
Hyenate
b3fb2c83e1 Decompile sub_19E10 2025-03-10 22:38:34 -04:00
fakuzatsu
38c1d7ad37 expand speciesWeights appropriately + name change 2025-03-10 19:56:31 +00:00
Gameonlp
4836f55433 Decompile sub_1333C, modified struct PinballGame and struct Unk02031520 2025-03-09 10:40:01 +01:00
Gameonlp
97733d840a added new functions discovered while decompiling 1333C 2025-03-09 10:39:10 +01:00
Gameonlp
5aa52f8b19 Added discovered new struct and gUnknown Arrays 2025-03-09 10:33:55 +01:00
fakuzatsu
0e3b478353 document selection of species for catchEm and eggs 2025-03-04 20:05:49 +00:00