Commit Graph

284 Commits

Author SHA1 Message Date
Marcus Huderle
24cba6301f sub_43500 2025-07-27 15:24:56 -05:00
Smileynator
605ef7de26
Decomp sub_17C1C (#139)
* Updated all global values and the changes the resulting refactor.

* decomp sub_17C1C

* removed expected objects
2025-07-27 14:45:20 -05:00
Marcus Huderle
0b936116c5 sub_4387C 2025-07-27 11:52:31 -05:00
Marcus Huderle
48b7b956dd sub_44D58
Some checks failed
CI / build (push) Has been cancelled
2025-07-25 18:15:16 -05:00
Marcus Huderle
e14bdf3fe3 sub_45164 2025-07-25 17:12:00 -05:00
Marcus Huderle
2726baa4be sub_455D0 2025-07-24 08:57:21 -05:00
Retnuhytnuob
ffcc92878d
decomp sub_14488, sub_14740 (#137)
Some checks are pending
CI / build (push) Waiting to run
* decomp sub_14488

* decomp sub_14AF4

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-23 09:23:06 -05:00
Marcus Huderle
2d144060c8 sub_45E90 2025-07-23 09:19:34 -05:00
Marcus Huderle
b7836198b9 sub_467F4
Some checks are pending
CI / build (push) Waiting to run
2025-07-22 08:49:57 -05:00
Marcus Huderle
50857569a0 sub_46FD4
Some checks are pending
CI / build (push) Waiting to run
2025-07-21 19:28:43 -05:00
Marcus Huderle
c7007c27f5 sub_47100, sub_47110, sub_47160 2025-07-21 15:18:40 -05:00
Marcus Huderle
e357bc98d3 sub_472E4 2025-07-21 14:38:36 -05:00
Marcus Huderle
1e5f7b9cc0 sub_47344 2025-07-21 14:06:11 -05:00
Marcus Huderle
52918a5b30 sub_47670
Some checks are pending
CI / build (push) Waiting to run
2025-07-21 11:48:16 -05:00
Marcus Huderle
ec3568d127 sub_478D8 2025-07-21 11:30:37 -05:00
Marcus Huderle
2318665986 sub_48190
Some checks are pending
CI / build (push) Waiting to run
2025-07-20 20:26:20 -05:00
Smileynator
4ea532e5eb
Decompile sub_17898 (#136)
* Decompile sub_17898

* moved global variables in order

* Decompile sub_17898
2025-07-20 16:30:46 -05:00
Marcus Huderle
8bf9ead07d sub_495A0
Some checks are pending
CI / build (push) Waiting to run
2025-07-18 19:46:27 -05:00
Marcus Huderle
4e436cc355 sub_49A34 2025-07-17 08:17:14 -05:00
Retnuhytnuob
53a64bc33c
Decomp sub 34450 (#134)
Some checks are pending
CI / build (push) Waiting to run
* working in decomp me

* decomp function

* Fix unk5AC type

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-16 08:30:17 -05:00
Retnuhytnuob
ce8bb30b36
Data Dump for multiple small arrays; Corrections in Game obj; Add decomp reference aide (#128)
Some checks are pending
CI / build (push) Waiting to run
* initial data

* cleanup incorrect marker in pinballGame object

* Fix raw pointers

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-15 08:12:10 -05:00
Retnuhytnuob
2e873e095e
Rename gUnknown_0200... refs that point to the gMain space (#129)
* mark gMain variable refs

* removed address grid reference for spriteGroup; included on separate pr

* adjust labels in rom files
2025-07-15 07:44:36 -05:00
Retnuhytnuob
4c8d5a9871
DataDump Pokedex entries, (0x0805C8B4) with preproc support, and english dex glyphs (0x08092FA0) (#132)
* text graphics

* add dex preproc, data dump

* remove temp test data from rom.s

* cleanup temp files

* remove dump of 086AE5EC for focus

* correct file reference

* utf handling.

* add second colon

* Align dex entry structs to 4 bytes

* Fix dex text glyphs gfx:

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-13 08:18:51 -05:00
Smileynator
32cd26024c
Decompile sub_176B0 (#131)
Some checks failed
CI / build (push) Has been cancelled
* Decompile sub_176B0

* removed exp object
2025-07-06 10:31:13 -05:00
Δelta
a1ddcdc356
Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127)
Some checks are pending
CI / build (push) Waiting to run
* Decompiled sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, and sub_50B80 added gUnknown_0200C668,gUnknown_0200EA58,gUnknown_0200BAE8,gUnknown_0200BBA0 to variables.h

* Correct PinballGame struct field at offset 0x1BC thanks to @Retn
Correct struct access in sub_50B80
Remove section .text50AD4 from linker script

* Deleted expected objects

* cleanup

---------

Co-authored-by: THCFree <me@thcfree.dev>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-05 10:27:15 -05:00
Retnuhytnuob
71b5a5def6
define several const vals (#120)
Some checks failed
CI / build (push) Has been cancelled
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:52:00 -05:00
Smileynator
e218431b2e
Decompile sub_195C4, sub_19734 and sub_19894 (#125)
* Decompile sub_195C4

* Cleaned up mumble comment

* Formatting

* Decompile sub_19734
Fixed some small things

* Decomp sub_19894
Closed the gap between rom_18784 and rom_19B64

* cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:40:49 -05:00
Wendy Moniuk
86ff8dd6fa
Decompile sub_1ad84 (#123)
* decompile sub_50AD4

* decompile sub_1AD84

* small cleanup

---------

Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-06-30 08:32:44 -05:00
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