Commit Graph

502 Commits

Author SHA1 Message Date
Cameron Hall
22e4e3f378 decompile script_movement (#213)
* start decompiling script_movement

* finish decompiling

* delete script_movement.s
2017-01-22 19:35:31 -08:00
Cameron Hall
ef82a98a15 label a few things and put data in field_player_avatar.c (#212) 2017-01-21 20:04:49 -08:00
ProjectRevoTPP
50d60b4403 finish decompiling bike.c (#207)
* decompile first few functions of field_map_obj.c

* formatting

* almost finish decompiling bike.c

* finish decompiling bike.c
2017-01-21 01:36:36 -08:00
Cameron Hall
984985bd69 put data in bike.c (#206)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike

* decompile more of bike

* put data in bike.c
2017-01-20 22:21:13 -08:00
Cameron Hall
3d3ef45a8c decompile more of bike (#205)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike

* decompile more of bike
2017-01-20 21:20:02 -08:00
ProjectRevoTPP
cf0a4dbb86 start decompiling bike.c (#203)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike
2017-01-20 14:43:41 -08:00
Cameron Hall
9274e18927 decompile rom6 (#202)
* decompile rom6

* newline
2017-01-19 21:58:23 -08:00
Cameron Hall
56f432fca2 start decompiling rom3 (#198)
* start decompiling rom3

* newline

* decompile sub_800BA78
2017-01-18 14:35:34 -08:00
Marijn van der Werf
46cf490edd Declare gBGTilemapBuffers in header 2017-01-17 15:00:08 +01:00
Marijn van der Werf
648c6c7093 Move gStringVar declarations to text.h 2017-01-17 14:57:49 +01:00
YamaArashi
5d5c1df33a Merge pull request #190 from camthesaxman/battle_anim
finish decompiling battle_anim.c
2017-01-16 16:25:58 -08:00
camthesaxman
4c3cf9f22e finish decompiling battle_anim.c 2017-01-16 18:10:23 -06:00
YamaArashi
97004d4c90 decompile unknown_debug_menu 2017-01-14 19:25:40 -08:00
YamaArashi
370b2b3c3e decompile map_name_popup.c 2017-01-14 18:40:05 -08:00
YamaArashi
3f044a459b decompile fldeff_teleport.h 2017-01-14 18:03:33 -08:00
YamaArashi
a9ea37caf3 update GBA headers 2017-01-13 17:50:56 -08:00
ProjectRevoTPP
0db7231932 decompile braille_puzzles.c (#187)
* begin decompiling braille_puzzles.c

* finish decompiling braille_puzzles.c
2017-01-11 21:53:22 -08:00
YamaArashi
beb36d2696 decompile sub_8067EEC 2017-01-10 22:28:02 -08:00
YamaArashi
29c7e732e3 define battle AI rodata in C 2017-01-10 22:08:32 -08:00
ProjectRevoTPP
f88eeb6074 more labels and finish decompiling battle_ai.c except for unk_24 (#184)
* labels for save_menu_util.c

* formatting, i suck at it

* fix sub_80712B4 to not use MyTask struct

* pls don't kill me

* current changes

* decompile BattleAICmd_if_damage_bonus

* formatting

* label thinking struct unk8

* decompile BattleAICMd_if_status_not_in_party

* decompile more battle_ai.c functions

* Began decompilation of a random file

* decompile BattleAICmd_if_can_faint and BattleAICmd_if_cant_faint

* decompile unk_3F and unk_40

* decompile if_move_effect and if_not_move_effect

* formatting, silly

* decompile if_last_move_did_damage and if_encored

* decompile unk_45 if_random_2 and unk_47

* decompile get_hold_effect and get_gender

* decompile is_first_turn and get_stockpile_count

* decompile unk_4C and get_item

* decompile unk_4E unk_4F and unk_50

* decompile get_protect_count and the remaining stub macros

* decompile call jump and unk_5A

* decompile if_level_cond

* decompile the last AI macros besides unk_24

* finish decompiling battle_ai.c except for unk_24
2017-01-10 20:17:43 -08:00
Cameron Hall
6b0268e0c0 finish decompiling field_control_avatar.c (#182)
* start decompiling field_control_avatar.c

* remove field_control_player_avatar.c

* finish decompiling

* cleanup

* var and flag constants
2017-01-10 20:15:38 -08:00
camthesaxman
13dc0d36b0 fix up dewford_trend.c a bit 2017-01-10 22:07:09 -06:00
YamaArashi
a55e1270f4 Merge pull request #181 from marijnvdwerf/decompile/credits-2
Continue decompiling credits
2017-01-10 12:28:28 -08:00
Marijn van der Werf
0e96421b07 Continue decompiling credits 2017-01-10 21:08:59 +01:00
yenatch
72770d22ea Forgot to add Unown species constants to the enum 2017-01-08 23:43:45 -05:00
yenatch
fbd1fd4849 enum the species constants 2017-01-08 22:16:03 -05:00
Cameron Hall
e2daa41862 start decompiling field_control_avatar.c (#177)
* start decompiling field_control_avatar.c

* remove field_control_player_avatar.c
2017-01-08 15:42:17 -08:00
YamaArashi
cee1e81cb0 rename truck_scene.c to field_special_scene.c 2017-01-08 00:31:14 -08:00
YamaArashi
11f95794b9 decompile porthole code 2017-01-08 00:22:21 -08:00
Cameron Hall
c4c79da09a finish decompiling intro.c (#169)
* finish decompiling

* remove intro.s
2017-01-06 23:54:16 -08:00
YamaArashi
5428379474 Merge pull request #168 from camthesaxman/intro
decompile more intro functions
2017-01-06 18:48:55 -08:00
camthesaxman
b6b9ebd3ee decompile more intro functions 2017-01-06 20:32:46 -06:00
YamaArashi
350bd3b11a complete PokemonStorage struct 2017-01-06 02:34:39 -08:00
YamaArashi
8a4775755c move vars to header 2017-01-06 00:44:08 -08:00
YamaArashi
c1b2c31a4a item constants 2017-01-05 20:39:55 -08:00
YamaArashi
746b12fb99 global.h formatting 2017-01-05 20:22:44 -08:00
ProjectRevoTPP
dc2d1251f1 quick fix to make ROM build again 2017-01-06 04:13:59 +00:00
ProjectRevoTPP
94fb9ab2a9 more labels (#165)
* more labels and match sub_810745C

* formatting

* move BattleStruct to battle.h and combine both loose structs

* oops

* more labels for rom4.c
2017-01-05 19:50:45 -08:00
YamaArashi
2bf932b4f0 Merge pull request #163 from camthesaxman/intro
decompile more intro functions
2017-01-05 15:58:58 -08:00
Marijn van der Werf
505ad946b9 Decompile party_menu functions 2017-01-06 00:44:16 +01:00
camthesaxman
e7ea49dc38 decompile up to sub_813D584 2017-01-05 17:08:36 -06:00
YamaArashi
9b0872d1b8 define some menu data in C 2017-01-05 04:24:19 -08:00
YamaArashi
3dc2f89924 field_8 -> savedCallback 2017-01-05 02:53:34 -08:00
YamaArashi
8da8d575ba name clock functions 2017-01-05 02:49:06 -08:00
camthesaxman
1505e4e24c begin decompiling more intro code 2017-01-04 23:20:09 -06:00
YamaArashi
af4845a4a1 add some vars 2017-01-04 20:16:15 -08:00
YamaArashi
ef6bf02e70 decompile more summary screen functions 2017-01-04 19:38:14 -08:00
ProjectRevoTPP
4b16d04dcc decompile clock.c (#161)
* remove matsuda debug menu from ld_script

* decompile clock.c

* formatting
2017-01-04 19:20:17 -08:00
Cameron Hall
41d2b112eb almost finish decompiling matsuda_debug_menu.c (#158)
* almost finish decompiling matsuda_debug_menu.c

* rename sub_8071C20 to CloseMenu
2017-01-04 14:32:45 -08:00
ProjectRevoTPP
370c7f7853 more labels (#159)
* labels for tv.c and tv.s

* match function prologue a little bit better

* whoops

* label and document lottery_corner.c

* gSoftResetDisabled

* add labels for main_menu.c

* labels for metatile_behavior.c
2017-01-04 14:31:44 -08:00
Marijn van der Werf
052a033610 Decompile sub_800DC24 2017-01-04 20:39:34 +01:00
YamaArashi
355428ee31 name some functions 2017-01-04 04:45:33 -08:00
YamaArashi
b6b8d053ec Emerald version enum 2017-01-04 04:29:25 -08:00
YamaArashi
19f0d5a5cf make PokemonSummaryScreen_PrintTrainerMemo match 2017-01-03 21:10:34 -08:00
Marijn van der Werf
c03e7be9af Attempt to decompile trainer memo printing 2017-01-03 19:55:00 +01:00
YamaArashi
6f64e68814 decompile coord_event_weather.c 2017-01-02 23:23:23 -08:00
YamaArashi
bb2c7f3e07 name functions and split data more 2017-01-02 22:58:06 -08:00
Marijn van der Werf
2f362cf67a Partly decompile tv show 2017-01-03 02:39:58 +01:00
YamaArashi
e7054aed14 name_string_util.s 2017-01-02 04:48:04 -08:00
YamaArashi
98e5b2ccac name battle setup functions 2017-01-02 03:50:37 -08:00
YamaArashi
1ae67805bc battle type constants 2017-01-02 03:10:02 -08:00
ProjectRevoTPP
98062c69d6 label and document berry.c, decompress.c, item_use.c and label gBattleTypeFlags (#146)
* make ROM match again

* clean up item_use.c labels and clarify functions.

* label and clarify some functions in decompress.c

* label and clarify berry.c

* rename 20239F8 to gBattleTypeFlags

* formatting
2017-01-02 01:27:51 -08:00
YamaArashi
145e90483b event_data.c 2017-01-02 01:01:13 -08:00
YamaArashi
c4af9225bc split rom_806936C 2017-01-01 23:25:19 -08:00
YamaArashi
80e95a2047 braille puzzle stuff 2017-01-01 22:41:17 -08:00
YamaArashi
8ce0fb4b20 fix flag names 2017-01-01 22:13:39 -08:00
YamaArashi
6983ce9c20 add flags 2017-01-01 22:03:37 -08:00
YamaArashi
4099235b1f mail data in save block 1 2017-01-01 20:28:45 -08:00
YamaArashi
68edc37098 fix MapEvents struct 2017-01-01 19:00:01 -08:00
YamaArashi
530adda955 name some functions 2017-01-01 18:30:55 -08:00
ProjectRevoTPP
7de050c235 start decompiling item_use.c (#144)
* begin decompiling item_use.c

* decompile more of item_use.c

* commit what I have currently

* formatting
2017-01-01 16:16:57 -08:00
YamaArashi
84c5030e20 use more constants in CalculateBaseDamage 2016-12-31 12:07:32 -08:00
YamaArashi
fc7bec7f53 decompile more of pokemon_3 2016-12-30 22:41:03 -08:00
YamaArashi
5c1c941182 begin decompiling pokemon_3 2016-12-30 16:11:16 -08:00
YamaArashi
dd6ae92fac decompile sub_80B5578 and sub_80B5684 2016-12-30 00:02:01 -08:00
YamaArashi
1eeb0b58b5 add nonmatching cleaner code for mystery_event_menu.c 2016-12-29 21:32:16 -08:00
YamaArashi
9eceeb2a37 decompile mystery_event_menu.c 2016-12-29 21:16:25 -08:00
YamaArashi
47f0942e21 second save_failed_screen.c bugfix 2016-12-29 15:16:03 -08:00
YamaArashi
97aecd23b8 more bugfix ifdefs 2016-12-29 13:50:44 -08:00
YamaArashi
4f4b6a3f5b add conditional bugfix for setting mon IVs 2016-12-29 13:31:25 -08:00
YamaArashi
b42f5c0f7f use BUGFIX ifdefs 2016-12-29 13:13:07 -08:00
YamaArashi
c48b7b23a7 name save_failed_screen.c functions 2016-12-28 20:54:19 -08:00
ProjectRevoTPP
b255655ca8 Decompile more of player_pc.c (#136)
* start decompiling player_pc.c again

* submit more player_pc.c work
2016-12-19 22:54:51 -08:00
YamaArashi
d6c8fad0ba decompile ground effect flags functions 2016-12-19 19:16:38 -08:00
YamaArashi
b8d3542b46 move functions from start_menu.c to menu.c 2016-12-18 11:52:33 -08:00
YamaArashi
86f2d57e29 Merge pull request #134 from marijnvdwerf/clean/language
Rename `charset` and use macro for build language
2016-12-17 11:20:27 -08:00
YamaArashi
801c0b3fc3 metatile behavior constants 2016-12-17 11:15:36 -08:00
Marijn van der Werf
20efe6984e Rename charset and use macro for build language 2016-12-17 13:44:03 +01:00
YamaArashi
1d5641f054 Merge pull request #129 from marijnvdwerf/decompile/money
Decompile money
2016-12-16 17:48:14 -08:00
ProjectRevoTPP
b199c5d7f1 make ROM compile again/fix warnings 2016-12-17 01:36:30 +00:00
Marijn van der Werf
2b99f7bcec Decompile money 2016-12-16 20:39:39 +01:00
Marijn van der Werf
dd8946a0fd Decompile mail 2016-12-16 02:07:35 +01:00
Marijn van der Werf
6a675e2c9f Decompile berry tag screen 2016-12-13 15:06:04 +01:00
Marijn van der Werf
6a07ab586c Fix new errors 2016-12-12 10:43:32 +01:00
Marijn van der Werf
11373fb2d4 Fix various warnings 2016-12-12 09:50:41 +01:00
Marijn van der Werf
c945285679 Clean up Matsuda debug menu 2016-12-12 09:50:32 +01:00
ProjectRevoTPP
3621411553 decompile load_save.c (#125)
* start decompiling load_save.c

* almost finish decompiling load_save.c

* finish decompiling load_save.c

* i cannot hex math

* formatting
2016-12-11 23:08:36 -08:00
YamaArashi
0d33462f7a Merge pull request #123 from yenatch/fieldmap
Decompile src/fieldmap.c
2016-12-11 14:18:53 -08:00
yenatch
8cac5f582d Decompile src/fieldmap.c 2016-12-11 17:12:54 -05:00
ProjectRevoTPP
c7b4ec3cdf decompile more of matsuda_debug_menu.c (#122)
* begin decompiling matsuda_debug_menu.c

* i'm sorry for misspelling your name

* decompile more masuda_debug_menu.c

* mergable state

* whatever yama

* more decompilation of matsuda_debug_menu.c

* matsuda debug text label consistency

* add current work
2016-12-11 12:21:48 -08:00
Marijn van der Werf
b6387d8c43 Continue decompiling trainer_card 2016-12-11 16:00:45 +01:00
YamaArashi
12ac981dd7 use .o in comment for consistency 2016-12-07 23:36:38 -08:00
YamaArashi
f0f0d85ab6 decompile fldeff_strength.c 2016-12-07 23:34:37 -08:00
YamaArashi
3602331ae2 fix battle_setup.c warning 2016-12-04 16:45:35 -08:00
YamaArashi
087d746c8b Merge branch 'clean/warnings-1' of https://github.com/marijnvdwerf/pokeruby into marijnvdwerf-clean/warnings-1 2016-12-04 03:35:28 -08:00
YamaArashi
4ceea5913e formatting 2016-12-04 03:32:44 -08:00
Marijn van der Werf
97f58f823c Make InitWindowFromConfig use const config 2016-12-04 11:52:52 +01:00
Marijn van der Werf
1a93ee2095 Add functions used by matsuda menu to asm.inc.h 2016-12-04 11:52:19 +01:00
Marijn van der Werf
20958a3e04 Fix warnings in trainer_see.c 2016-12-04 11:48:32 +01:00
Marijn van der Werf
32fa3b735a Fix warnings in menu.c and option_menu.c 2016-12-04 11:48:28 +01:00
Marijn van der Werf
95ee1e7188 Decompile sub_8093110 and sub_8093130 2016-12-04 10:24:12 +01:00
Marijn van der Werf
1faa19a542 Fix more warnings in mori_debug_menu 2016-12-02 22:33:57 +01:00
Marijn van der Werf
3ea6fa99a3 Fix definition of daycare_count_pokemon 2016-12-02 22:33:57 +01:00
Marijn van der Werf
d37a0859ee Fix definition of helper function 2016-12-02 22:33:56 +01:00
Marijn van der Werf
d40539893b Pass struct array to PrintMenuItems 2016-12-02 22:33:56 +01:00
YamaArashi
fe79b6c4e3 name some player avatar flags 2016-12-02 13:08:29 -08:00
Marijn van der Werf
bd5333a4f2 Reorganise main_menu.c 2016-12-02 19:43:12 +01:00
Marijn van der Werf
1f222c04ef [WIP] Extract all external function declarations to headers (#114)
* Extract other external function declarations

* Fix GBA compilation

* Revert `sub_803C434` to asm
2016-12-02 10:06:22 -08:00
Marijn van der Werf
4258e60771 Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files

* Use `(void)` for functions without arguments.

* Move global-included data to seperate headers

* Don't import types or global in header

* Fix fieldmap imports

* Revert in-code changes

* Add missing newlines
2016-11-30 18:51:24 -08:00
Cameron Hall
e30044965f Decompile more intro functions (#108)
* start decompiling intro task

* ignore Thumbs.db

* decompile more code

* actually ignore Thumbs.db

* decompile more functions

* fix sapphire

* sort of fix task_intro_7

* name some functions and variables

* more cleanup
2016-11-25 11:32:45 -08:00
Cameron Hall
32b056d504 decompile field_player_avatar.c (#107)
* Mark .h files as C instead of C++

* also fix .inc files

* start decompiling field_player_avatar.c

* more decompilation

* fix CheckForFieldObjectCollision

* finish decompiling

* clean up a bit

* Revert .gitattributes
2016-11-24 09:42:18 -08:00
ProjectRevoTPP
cd98f109f7 make ROM match again with a lazy temporary fix 2016-11-19 22:08:30 +00:00
ProjectRevoTPP
2405562993 decompile trainer_see.c (#102)
* begin decompiling trainer_see.c

* ...actually add the c file you dummy

* decompile more of trainer_see.c

* finish decompiling trainer_see.c

* formatting
2016-11-18 22:18:26 -08:00
ProjectRevoTPP
a07e8aa2f4 Start decompiling battle_ai.c cmd functions (#100)
* begin decompiling battle AI macros

* decompile more battle AI macros

* nonmatching function

* decompile BattleAICmd_get_ability

* current nonmatching work

* get BattleAICmd_unk_30 a bit closer

* get battle_ai.c into a mergable state.
2016-11-14 19:28:20 -08:00
Cameron Hall
510f104706 more cleanup (#98) 2016-11-11 18:07:15 -08:00
Cameron Hall
cea650e783 decompile title_screen.c (#96)
* decompile title_screen.c

* macros

* cleanup

* consistency
2016-11-10 07:55:16 -08:00
Cameron Hall
74b660f22f start decompiling battle_ai.c (#92) 2016-11-06 01:09:06 -08:00
ProjectRevoTPP
e31301d6ea decompile mori_debug_menu.c (#90)
* decompile mori_debug_menu.c

* formatting
2016-11-05 14:11:17 -07:00
YamaArashi
45e50b871d introduce flag constants 2016-11-05 13:16:27 -07:00
YamaArashi
356e04a104 trainer music constants 2016-11-04 21:50:44 -07:00
YamaArashi
d40d2d9372 make item quantity u16 2016-11-04 21:30:42 -07:00
YamaArashi
81dd35ffdb add flag.h and var.h 2016-11-04 20:32:12 -07:00
Cameron Hall
4d4f1b5138 Big shroomish barboach (#87)
* start decompiling

* decompile more functions

* clean up and rename big_shroomish_barboach.c to pokemon_size_record.c

* remove save file

* remove extraneous line from Makefile
2016-11-04 19:21:42 -07:00
YamaArashi
843a058320 add functions to syscall.h 2016-11-04 11:45:47 -07:00
ProjectRevoTPP
51cbe1d874 decompile battle_setup.c (#86)
* purge text label redundancy in data2

* revo you dummy dont commit experimental changes like that

* Map header music constants

* Declare CoordEvent and BgEvent structs

* start labeling AI labels

* begin decompiling battle_setup.c

* more decompilation of battle_setup.c

* decompile even more battle_setup.c

* finish decompiling battle_setup.c aside from one function

* impeach PikalaxALT

* formatting
2016-11-04 11:32:13 -07:00
YamaArashi
be30d5bf44 name pokemon cry voice group 2016-11-01 20:07:33 -07:00
Cameron Hall
a45e18753a partially decompile dewford_trend.c and record_mixing.c (#78)
* start decompiling dewford_trend

* figure out some gSaveBlock1 members

* decompile more functions

* decompile sub_80FA4E4

* start decompiling record_mixing.c

* Decompile more code

* decompile more functions

* tabs to spaces
2016-10-30 15:59:09 -07:00
YamaArashi
b86183aecd fix typo in function name 2016-10-29 22:56:19 -07:00
YamaArashi
b528e1214c name functions 2016-10-28 01:32:17 -07:00
YamaArashi
5a9ece239b finish decompiling link NPC code 2016-10-27 22:08:38 -07:00
YamaArashi
13965060b2 cleanup 2016-10-27 21:37:28 -07:00
fl4shk
6ba67a506c Finished clear_save_data_menu.c 2016-10-27 21:13:50 -07:00
Cameron Hall
c027821c09 decompile more pokedex functions (#72)
* decompile more pokedex functions

* use spaces instead of tabs

* mostly fix up sub_808D690

* fix sub_808DBE8

* decompile sub_808E398

* decompile more pokedex functions

* decompile sub_808E978

* decompile more functions
2016-10-26 23:32:53 -07:00
Cameron Hall
e65f3ef732 decompile wild_encounter.c (#71)
* start decompiling wild_encounter

* decompile more code

* decompile more code

* decompile a few more functions

* try (unsuccessfully) to decompile StandardWildEncounter

* more work trying to get it to match

* finish decompiling all that I can

* clean up a bit and fix whitespace issues

* tab to spaces
2016-10-25 21:38:35 -07:00
YamaArashi
e1191bfe66 name/rename a lot of functions 2016-10-24 22:52:18 -07:00
YamaArashi
040bf705bb fix berry tree struct 2016-10-24 22:28:30 -07:00
YamaArashi
b98e30b0c4 maybe fix berry tree struct 2016-10-24 22:09:33 -07:00
YamaArashi
e9e147fe7d rename more functions 2016-10-24 03:07:53 -07:00
YamaArashi
1927edefd9 roamer struct status field 2016-10-24 00:19:24 -07:00
YamaArashi
6db473d98d player room decoration data 2016-10-23 23:20:05 -07:00
YamaArashi
4a47194768 already have secret base struct 2016-10-23 23:10:55 -07:00
YamaArashi
e6ad93fd57 roamer struct 2016-10-23 23:01:18 -07:00
YamaArashi
8eea9cf4ba more save block 1 data 2016-10-23 22:43:16 -07:00
YamaArashi
2caf3de8b8 more save block 1 struct fields 2016-10-23 21:13:43 -07:00
YamaArashi
51080f71f8 pokeblock data 2016-10-23 16:32:37 -07:00
YamaArashi
854cb120dc add asm_comment macro 2016-10-23 15:50:13 -07:00
YamaArashi
f5435a6f5c PC/bag item data 2016-10-23 13:29:17 -07:00
YamaArashi
12ae329038 add player party to save block 1 2016-10-23 12:23:02 -07:00
YamaArashi
ec0a1478fe berry tree struct 2016-10-23 12:09:13 -07:00
YamaArashi
a00910c71d add holdEffectParam to EnigmaBerry struct 2016-10-23 11:51:26 -07:00
YamaArashi
962852fc32 enigma berry structs 2016-10-23 11:47:05 -07:00
Cameron Hall
e348acba2e clean up scrcmd.c (#67)
* fix some awkward code

* add ScriptReadByte macro

* add missing headers

* don't use & to access multidimensional array rows
2016-10-22 00:05:59 -07:00
YamaArashi
37baad749d add explanatory comment about GetMonData()/GetBoxMonData() 2016-10-21 22:30:56 -07:00
YamaArashi
eea3e61cfd don't specify arguments in GetMonData()/GetBoxMonData() prototypes 2016-10-21 22:26:46 -07:00
YamaArashi
a741c108cd decompile more rom4 functions 2016-10-21 17:15:11 -07:00
YamaArashi
63941a405c flag.c 2016-10-18 00:53:12 -07:00
YamaArashi
cf34b11e46 put vars in gSaveBlock1 2016-10-17 23:49:18 -07:00
Cameron Hall
f2fb6f9b83 decompile option menu and begin decompiling pokedex (#58)
* start decompiling pokedex

* fix up this darn struct

* decompile most of the option menu code

* decompile more code

* finish up with option menu

* minor cleanup

* fix some pokedex functions

* remove disassembly files

* actually remove disassembly files

* more decompilation

* decompile 2 more functions

* minor cleanup

* Update start_menu.c with CB2_InitPokedex
2016-10-16 17:02:35 -07:00
Cameron Hall
2d0f69a4ab minor cleanups (#60)
* minor cleanups

* remove indentation on empty lines

* match formatting on if and for statements
2016-10-16 16:33:07 -07:00
ProjectRevoTPP
38d28d2c91 Label battle AI script and update map BGM constants (#59)
* purge text label redundancy in data2

* revo you dummy dont commit experimental changes like that

* Map header music constants

* Declare CoordEvent and BgEvent structs

* start labeling AI labels

* more labels

* even more AI labels

* finish labeling battle AI

* change flee2 to watch

* egg nickname

* oops
2016-10-16 11:44:26 -07:00
YamaArashi
049101deed change options bitfield types 2016-10-15 10:56:55 -07:00
YamaArashi
b2acbe1d80 decompile more rom4.s functions 2016-10-08 22:08:38 -07:00
YamaArashi
d9a314dea2 use more constants in m4a asm 2016-10-07 17:07:51 -07:00
YamaArashi
27e6a517a1 put function prototypes in main.h 2016-10-02 14:38:59 -07:00
YamaArashi
f522ceb65e add comment for DMA clear macros 2016-10-02 14:24:34 -07:00
camthesaxman
43f374e64e add DmaClear macro (#50) 2016-10-02 14:15:12 -07:00
YamaArashi
179c2e5041 initial decompilation of some field system code 2016-10-02 00:43:14 -07:00
YamaArashi
ee7db46023 trig.h 2016-10-01 22:08:32 -07:00
YamaArashi
1fda6f0f4b remove zeros from connection macros 2016-10-01 09:08:16 -07:00
YamaArashi
9b50e911c8 clean up sound code 2016-09-30 18:45:14 -07:00
YamaArashi
302e43fd91 menu.h 2016-09-30 09:54:35 -07:00
YamaArashi
18c171932b update headers 2016-09-28 01:35:19 -07:00
YamaArashi
3f88e8c005 game statistics 2016-09-26 20:32:41 -07:00
YamaArashi
25dd8729e5 decompile new game init code 2016-09-25 22:11:44 -07:00
YamaArashi
0a2857a7dc fix save block symbols 2016-09-25 17:19:28 -07:00
YamaArashi
fd0e633b79 remove common variable workaround macros 2016-09-25 01:43:12 -07:00
YamaArashi
67eb0f4812 name ClearStandardMessageBox() 2016-09-23 21:23:38 -07:00
YamaArashi
003e25a603 rename field message box functions 2016-09-23 21:10:10 -07:00
YamaArashi
c8a1dc2c36 clean up field message box code 2016-09-23 20:45:29 -07:00
YamaArashi
bbc0da892f decompile map object and field message box code 2016-09-23 19:26:57 -07:00
YamaArashi
7d57a4fc23 rename some script functions 2016-09-22 01:04:02 -07:00
YamaArashi
2ac23e201b decompile rest of script commands 2016-09-21 20:43:41 -07:00
YamaArashi
8805b04503 decompile more script functions 2016-09-20 20:18:00 -07:00
YamaArashi
0b2a61e5d8 WIP decompilation of script functions 2016-09-19 23:49:22 -07:00
YamaArashi
c5d2ccda13 add m4a function prototypes 2016-09-18 14:45:48 -07:00
YamaArashi
2782f7d614 expand WRAM sections and add some variables 2016-09-18 12:35:05 -07:00
YamaArashi
64a39c38e3 decompile pokemon functions 2016-09-12 15:42:25 -07:00
YamaArashi
6a79077def decompile more pokemon functions 2016-09-12 01:22:26 -07:00
YamaArashi
0f2e0c96a7 build revision 1 and 2 2016-09-10 22:40:33 -07:00
YamaArashi
61e860247e decompile functions for setting pokemon data 2016-09-10 12:26:47 -07:00
YamaArashi
8765b09e09 use name length defines 2016-09-10 02:36:05 -07:00
YamaArashi
19bffecc4d decompile more pokemon functions 2016-09-10 01:59:10 -07:00
YamaArashi
69ca60ca91 fix mistake in function name 2016-09-09 23:54:32 -07:00
YamaArashi
59c69882dc rename pokemon functions 2016-09-09 23:40:42 -07:00
YamaArashi
873594614b clean up types in pokemon code 2016-09-09 22:46:55 -07:00
YamaArashi
0b48cbfed8 more decompilation of pokemon functions 2016-09-09 21:18:37 -07:00
YamaArashi
06bed8be90 starting decompliation of pokemon functions 2016-09-08 20:25:40 -07:00
YamaArashi
9ba7169baa clean up main_menu.c 2016-09-05 21:00:02 -07:00
YamaArashi
80b3dc30e6 rename text window functions 2016-09-05 17:33:50 -07:00
YamaArashi
2085d7169e incorporate camthesaxman's birch speech decompilation work 2016-09-05 01:41:14 -07:00
YamaArashi
411c2dc2d6 WIN_RANGE macro 2016-09-04 02:21:44 -07:00
YamaArashi
4d518e8ea5 WIP menu.c 2016-09-03 23:39:12 -07:00
YamaArashi
61601293b2 dump songs 2016-08-29 23:45:09 -07:00
YamaArashi
6bde976a5d m4a ply_note disasm documentation 2016-08-27 12:38:28 -07:00
YamaArashi
28f41f995d make game version equal 1 for sapphire 2016-08-18 22:03:18 -07:00
YamaArashi
d0f9e9c4a9 rename parameter to 'width' 2016-08-12 17:42:31 -07:00
Marcus Huderle
ad2d354a77 Remove extra line. 2016-08-01 23:22:42 -07:00
Marcus Huderle
3fd70a5723 Add enums for options. 2016-08-01 23:21:27 -07:00
Marcus Huderle
4d911ea86f Label SaveBlock2.optionsTextBoxFrameType. Label gSaveBlock2. 2016-08-01 22:53:21 -07:00
YamaArashi
74957cfce6 RNG header 2016-07-24 23:06:43 -07:00
YamaArashi
abf89edae8 fix rsfont 2016-06-11 13:23:39 -07:00
YamaArashi
5dde2ecaaf switch order of fill macros from dest, value to value, dest 2016-06-10 19:22:09 -07:00
YamaArashi
a27cec41b5 decompile palette.c 2016-06-10 18:37:25 -07:00
YamaArashi
a37de9f763 double-colon global labels in preproc; misc other stuff 2016-06-09 01:32:19 -07:00
YamaArashi
2998cc719a link.c 2016-06-05 13:43:46 -07:00
YamaArashi
efe1980899 add const to fix warnings 2016-05-30 13:01:22 -07:00
YamaArashi
febe474749 prep for link code 2016-05-30 11:57:24 -07:00
YamaArashi
0ebfe95d65 text.c 2016-05-30 02:19:25 -07:00
YamaArashi
1d8ca2c1b9 rename again 2016-05-21 15:21:13 -07:00
YamaArashi
5cbdc23e7e FreeAllSpriteTiles() to ClearSpriteTileRanges() 2016-05-21 15:15:29 -07:00
YamaArashi
c0203de808 sprite.c and updated preproc 2016-05-21 10:35:53 -07:00
YamaArashi
1879d0883e main.c 2016-05-15 21:13:30 -07:00
YamaArashi
147c8672c3 new macros for declaring uninitialized IWRAM data 2016-05-15 16:43:56 -07:00
YamaArashi
91b1aab026 eliminate need for register variable in MPlayExtender 2016-05-15 13:03:12 -07:00
YamaArashi
ed9492f915 C header for song enums 2016-05-15 11:39:03 -07:00
YamaArashi
eaa9f37ca9 m4a lib; use fewer iwram syms 2016-05-15 01:55:33 -07:00
YamaArashi
b1e5ea3877 add sound defines 2016-05-10 21:35:05 -07:00
YamaArashi
1e6eb4f812 use compiled libgcc 2016-04-30 04:19:00 -07:00
YamaArashi
0601fb4d00 Prepare for switch to standard gas (with preprocessor) 2016-04-21 23:06:36 -07:00
YamaArashi
8890ea36ee AGB flash library 2016-04-08 21:43:56 -07:00
YamaArashi
9edfc54fb8 rename RTC files 2016-04-05 21:03:12 -07:00
YamaArashi
e0e5cb9ce6 small string/RTC code changes 2016-04-05 20:51:34 -07:00
YamaArashi
35157edc12 rename RTC functions/variables 2016-04-05 02:39:13 -07:00
YamaArashi
1d398297a9 make TaskDummy static 2016-04-03 03:52:41 -07:00
YamaArashi
5b648ca259 task.c 2016-04-03 03:47:02 -07:00
YamaArashi
33005cef6b preliminary revision 2 support (fixing berry glitch) 2016-02-03 02:14:14 -08:00
YamaArashi
d7894a90f4 RTC errors 2016-02-03 01:15:49 -08:00
YamaArashi
5fd538d180 RTC code/data 2016-02-03 00:26:25 -08:00
YamaArashi
6f965a9eca librtc 2016-02-01 02:09:10 -08:00
YamaArashi
b274bdf7d3 play_time.c 2016-01-31 15:48:09 -08:00
YamaArashi
b78957167b clean up 2016-01-31 04:58:08 -08:00
YamaArashi
6f1c908302 string_util.c 2016-01-31 04:29:44 -08:00