Commit Graph

954 Commits

Author SHA1 Message Date
ProjectRevoTPP a933e8e24d partially decompile matsuda_debug_menu.c (#117)
* begin decompiling matsuda_debug_menu.c

* i'm sorry for misspelling your name

* decompile more masuda_debug_menu.c

* mergable state

* whatever yama
2016-12-02 14:05:01 -08:00
YamaArashi 0f595209de SYS_USE_STRENGTH flag 2016-12-02 13:55:41 -08:00
Marijn van der Werf 4d2d30beb1 Fix warning in title_screen.c 2016-12-02 22:33:57 +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 d40539893b Pass struct array to PrintMenuItems 2016-12-02 22:33:56 +01:00
Marijn van der Werf 45e09dba8b Pass spritesheets to LoadCompressedObjectPic 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 25f100754c finally get InsertTask to match (#110)
* make InsertTask match

* fix InsertTask

* remove extra whitespace
2016-11-25 11:45:29 -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
YamaArashi e343c5cc0d Merge branch 'weather' of https://github.com/yenatch/pokeruby into yenatch-weather 2016-11-24 09:58:05 -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
Cameron Hall c84d788ebf decompile field_camera.c (#103)
* start decompiling field_camera.c

* can't get CameraUpdate to match

* finish decompiling
2016-11-18 22:36:57 -08: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
YamaArashi 5b4e2d3f18 decompile field_effect.c 2016-11-18 16:37:29 -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
yenatch 51292a001d Decompile asm/tileset.s -> src/tileset_anim.c 2016-11-14 22:17:19 -05:00
Cameron Hall 510f104706 more cleanup (#98) 2016-11-11 18:07:15 -08:00
YamaArashi 52aba81f34 cleanup 2016-11-11 10:32:31 -08:00
Cameron Hall 2e7fd90c5b decompile field_door.c (#97)
* decompile

* name some functions and variables

* formatting and name more functions
2016-11-10 18:01:14 -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
fl4shk 926ecbe822 safari_zone.c (#94)
* about halfway through with safari_zone.c

* Figured out more of UnkSafariZoneStruct

* Finished safari_zone.c
2016-11-08 23:51:59 -08:00
yenatch 154710bfbd Decompile part of weather.s. 2016-11-07 22:09:40 -05:00
YamaArashi ed1f329d16 landmark.c cleanup 2016-11-06 21:58:47 -08:00
Cameron Hall 7b1e836e9b cleanup (#93)
* cleanup

* cleanup
2016-11-06 21:02:20 -08:00
YamaArashi 7f5332c120 remove asm() in battle_ai.c 2016-11-06 11:56:03 -08:00
Cameron Hall 74b660f22f start decompiling battle_ai.c (#92) 2016-11-06 01:09:06 -08:00
Cameron Hall 865f6f6f4f decompile item.c (#91)
* start decompiling

* decompile item.c

* use static
2016-11-05 16:51:22 -07:00
YamaArashi 813ac22885 clean up trailing whitespace 2016-11-05 15:38:57 -07:00
YamaArashi ee9a346e69 contest category var 2016-11-05 15:27:55 -07:00
YamaArashi 716476e798 script special variables 2016-11-05 15:10:37 -07:00
ProjectRevoTPP e31301d6ea decompile mori_debug_menu.c (#90)
* decompile mori_debug_menu.c

* formatting
2016-11-05 14:11:17 -07:00
YamaArashi d26298bd4e rename some parameters 2016-11-05 13:25:45 -07:00
YamaArashi 45e50b871d introduce flag constants 2016-11-05 13:16:27 -07:00
fl4shk 9ad2946284 struct HealLocation (#89)
* struct HealLocation

* remove tabs again

* tiny change
2016-11-05 12:24:41 -07:00
YamaArashi b80b17d7cb clean up battle_setup.c 2016-11-05 11:15:33 -07:00
fl4shk bb020226fc heal_location.c and landmark.c 2016-11-05 10:29:27 -07:00
YamaArashi 356e04a104 trainer music constants 2016-11-04 21:50:44 -07:00
YamaArashi 02d3a61287 use correct trainer party member structs 2016-11-04 21:39:05 -07:00
YamaArashi f5438ed834 fix battle_setup.c warnings besides implicit declaration 2016-11-04 21:26:36 -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 128c14288f use more TRUE/FALSE 2016-11-04 13:43:51 -07:00
YamaArashi a6aa9549f5 cleanup 2016-11-04 13:35:55 -07:00
YamaArashi dea11b898a switch formatting 2016-11-04 13:29:36 -07:00
YamaArashi 3acf4be38a badge flags 2016-11-04 13:17:48 -07:00
YamaArashi fa5bf7d67e remove extraneous spaces 2016-11-04 12:29:55 -07:00