Commit Graph

110 Commits

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