Commit Graph

954 Commits

Author SHA1 Message Date
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 5bae8dc95f diploma graphics labels 2016-10-21 23:00:45 -07:00
YamaArashi eea3e61cfd don't specify arguments in GetMonData()/GetBoxMonData() prototypes 2016-10-21 22:26:46 -07:00
Cameron Hall a857a6bcd4 decompile diploma (#66) 2016-10-21 20:34:51 -07:00
YamaArashi a741c108cd decompile more rom4 functions 2016-10-21 17:15:11 -07:00
Cameron Hall e30665cc2f decompile more pokedex functions (#65)
* decompile more pokedex functions

* use spaces instead of tabs

* mostly fix up sub_808D690

* fix sub_808DBE8

* decompile sub_808E398
2016-10-20 23:37:26 -07:00
YamaArashi c2a93ea21e new game PC items 2016-10-20 19:14:38 -07:00
YamaArashi fb52beedbf name some weather-related functions 2016-10-19 00:55:54 -07:00
YamaArashi 89f547d5ef Mori debug menu functions 2016-10-18 23:53:50 -07:00
YamaArashi 8ce2925d22 trainer battle specifications 2016-10-18 23:19:42 -07:00
YamaArashi 98520842e6 script condition table 2016-10-18 21:15:22 -07:00
YamaArashi 89dea52f12 DoDailyEvents -> DoTimeBasedEvents 2016-10-18 20:28:39 -07:00
YamaArashi 1cd137f766 name some functions 2016-10-18 20:24:10 -07:00
YamaArashi 269deb860e name some graphics functions 2016-10-18 12:58:12 -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
YamaArashi b52494be04 var.c 2016-10-17 23:11:09 -07:00
YamaArashi ea34a432b7 name wild encounter functions 2016-10-17 22:36:30 -07:00
YamaArashi ba2e0b4748 decompile unreferenced save functions 2016-10-17 12:42:22 -07:00
YamaArashi bf8fa9086c decompile more save functions 2016-10-17 07:19:47 -07:00
YamaArashi f13e7b9127 decompile another save function 2016-10-17 01:44:34 -07:00
YamaArashi 94b9c6890c decompile another save function 2016-10-16 23:52:44 -07:00
YamaArashi 4282ccc28f start decompiling save functions 2016-10-16 17:38:12 -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
YamaArashi 1125d78ad3 pokemon code cleanup 2016-10-16 16:51:31 -07:00
YamaArashi d18e4ed4a5 fix spacing around & 2016-10-16 16:42:39 -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
YamaArashi fa9ddc90c5 begin decompiling intro functions 2016-10-11 21:51:34 -07:00
YamaArashi e29af253ce define start menu variables in C 2016-10-09 16:07:48 -07:00
Cameron Hall 0a32b5feb1 decompile start menu code (#57)
* initial decompilation

* fix sub_80712B4

* finish decompiling start menu code

* refactor

* refactor some more

* make some variables static

* change spaces to tab
2016-10-09 15:50:46 -07:00
YamaArashi dbf4f10196 make some palette variables static 2016-10-09 15:21:18 -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 9166c047d2 decompile more functions from rom4.s 2016-10-07 11:18:45 -07:00
Cameron Hall 3634e8edc2 decompile starter chooser (#55) 2016-10-06 21:53:33 -07:00
YamaArashi 7bfb307a68 document InitMenu() parameters 2016-10-03 19:41:44 -07:00
YamaArashi 1bbd413183 decompile sub_8054814() 2016-10-03 19:33:18 -07:00
YamaArashi 380a809a7f Merge pull request #53 from camthesaxman/refactor
clean up and document main_menu.c
2016-10-02 21:46:34 -07:00
camthesaxman f7430dab63 clean up and document main_menu.c 2016-10-02 23:17:45 -05: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
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 956a257b4a small sound.c cleanup 2016-09-30 19:59:11 -07:00
YamaArashi 26ccb745d7 use 'extern' to make it clearer which functions are defined elsewhere 2016-09-30 19:17:20 -07:00
YamaArashi 9b50e911c8 clean up sound code 2016-09-30 18:45:14 -07:00