Commit Graph

25 Commits

Author SHA1 Message Date
ProjectRevoTPP 10f798323e finish decompiling player_pc.c 2017-06-10 03:20:02 -04:00
ProjectRevoTPP f5b7921fa3 cleanup player_pc.c 2017-06-09 02:43:39 -04:00
yenatch 9640df02dd Merge pull request #303 from marijnvdwerf/clean/includes
Clean/includes
2017-05-23 21:21:59 -04:00
Marijn van der Werf d35dc5bd69 Add strings2.h 2017-05-22 01:05:19 +02:00
Marijn van der Werf 010eb456d6 Decrease indentation level of switches 2017-05-22 00:17:33 +02:00
Cameron Hall fbebe08ae9 use macros to set DISPCNT and BG*CNT registers (#286)
* use macros to set DISPCNT and BG*CNT registers

* add a few more
2017-05-09 10:52:39 -07:00
Cameron Hall b9ff56bd89 define more data in C (#219)
* define some graphics data in C

* define wild pokemon in C

* use less #ifdefs

* define data in berry.c
2017-01-27 10:06:20 -08:00
YamaArashi bcaab97772 formatting 2017-01-21 16:48:06 -08:00
Marijn van der Werf 801877553d Remove trailing whitespace 2017-01-17 15:00:08 +01:00
Marijn van der Werf c9722602cb Sort includes 2017-01-17 15:00:04 +01: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
ProjectRevoTPP bdb3dea2b7 more labels in battle_ai.c and intro.c and misc places (#151)
* 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

* label intro.c a bit

* label battle_ai.c and document some stuff

* formatting

* more labeling and clarification.

* more label stuff
2017-01-03 00:30:20 -08: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
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
YamaArashi 716476e798 script special variables 2016-11-05 15:10:37 -07:00
YamaArashi 843a058320 add functions to syscall.h 2016-11-04 11:45:47 -07:00
camthesaxman 2f22053052 Change some plain numbers to defined constants (#51) 2016-10-02 17:04:57 -07:00
YamaArashi e7f37732a7 clean up inequalities 2016-10-02 14:46:05 -07:00
YamaArashi 6537e7a402 remove redundant includes 2016-10-02 14:41:01 -07:00
YamaArashi 27e6a517a1 put function prototypes in main.h 2016-10-02 14:38:59 -07:00
camthesaxman 43f374e64e add DmaClear macro (#50) 2016-10-02 14:15:12 -07:00
camthesaxman 6ce4ed25d6 Decompile wall clock routines (#49) 2016-10-02 13:41:16 -07:00