Commit Graph

162 Commits

Author SHA1 Message Date
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