Commit Graph

131 Commits

Author SHA1 Message Date
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
YamaArashi
13965060b2 cleanup 2016-10-27 21:37:28 -07:00
fl4shk
6ba67a506c Finished clear_save_data_menu.c 2016-10-27 21:13:50 -07:00
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