Commit Graph

616 Commits

Author SHA1 Message Date
ProjectRevoTPP
28b5bca0d6 move multichoice data to script_menu.c 2017-03-18 03:50:15 +01:00
ProjectRevoTPP
a4b503cb61 commit deleted files 2017-03-18 03:48:35 +01:00
YamaArashi
3a6c13999d contest incbins 2017-02-11 17:01:28 -08:00
YamaArashi
e16d7152cc intro_credits_graphics incbins 2017-02-11 12:03:35 -08:00
YamaArashi
34d16c75f9 pokemon storage system incbins 2017-02-11 11:14:21 -08:00
YamaArashi
4da8580ed3 hall_of_fame baserom incbins 2017-02-11 10:52:45 -08:00
YamaArashi
43f14a1c54 rom_810CBB4 baserom incbins 2017-02-11 10:23:08 -08:00
Marijn van der Werf
4cd4b8dc0b Dump intro palettes 2017-02-11 15:32:45 +01:00
ProjectRevoTPP
f21587ea9e misc labels and memcpy/set cleanups (#232)
* some labels and enumerate player speeds

* clear up speed enums

* GetPlayerSpeed

* oops

* start decompiling mauville_old_man.c

* formatting

* decompile more of mauville_old_man.c

* someone fix this please

* formatting

* make ROM build again

* formatting again

* make ROM match again

* label, document, reorganize, and clean up battle_ai.c

* move stuff to battle.h and get rid of battle_2000000

* various changes

* labeling

* minor labels and formatting

* contest ai labels and misc stuff
2017-02-10 21:38:59 -08:00
YamaArashi
c78e787f93 credits and field_effect_helpers baserom incbins 2017-02-10 11:04:38 -08:00
YamaArashi
b7563c6e9a more baserom incbins 2017-02-10 10:47:38 -08:00
YamaArashi
8cd3ebf8b3 shop incbins 2017-02-05 11:57:58 -08:00
YamaArashi
c6cdfc6ce8 get rid of some baserom incbins 2017-02-05 11:50:07 -08:00
Cameron Hall
2afc20150b decompile more of field_map_obj (#231)
* decompile more code

* decompile more of field_map_obj

* decompile more of field_map_obj
2017-02-04 19:47:11 -08:00
ProjectRevoTPP
c22eb152ce label, document, reorganize, and clean up battle_ai.c (#228)
label, document, reorganize, and clean up battle_ai.c
2017-02-01 21:50:47 -08:00
Cameron Hall
9a500a622b define data in title_screen.c and fix build (#221)
* define more data in C

* correct typo in comments

* define data in title_screen.c

* define data in title_screen.c and fix build
2017-01-28 10:08:09 -08:00
Cameron Hall
b9f1143d3e define more data in C (#220)
* define more data in C

* correct typo in comments
2017-01-27 22:31:09 -08: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
Cameron Hall
448acff16e finish decompiling naming_screen (#217)
* decompile more code

* incbin graphics data

* decompile more code

* decompile more code

* finish decompiling

* name some functions and variables
2017-01-25 22:07:36 -08:00
Cameron Hall
9442bdcbf3 decompile more of naming_screen (#216)
* decompile more code

* incbin graphics data

* decompile more code
2017-01-24 20:31:44 -08:00
Cameron Hall
ef82a98a15 label a few things and put data in field_player_avatar.c (#212) 2017-01-21 20:04:49 -08:00
camthesaxman
8a5ada74a1 finish decompiling battle_party_menu 2017-01-21 15:50:12 -06:00
Cameron Hall
984985bd69 put data in bike.c (#206)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike

* decompile more of bike

* put data in bike.c
2017-01-20 22:21:13 -08:00
YamaArashi
12a71d6558 Merge pull request #195 from marijnvdwerf/clean/data-variables
Use variable names instead of raw offsets in data
2017-01-17 10:12:07 -08:00
Marijn van der Werf
f610a6cea5 Use variable names instead of raw offsets in data 2017-01-17 18:44:39 +01:00
Marijn van der Werf
bf04e37763 Include data for gUnknown_0840CA00 2017-01-17 17:17:58 +01:00
YamaArashi
0a2ec5bde3 Merge pull request #189 from camthesaxman/battle_anim
add some data to C file and clean up battle_anim.c
2017-01-15 12:35:17 -08:00
camthesaxman
256f15f60c add some data to C file and clean up 2017-01-15 11:26:24 -06:00
YamaArashi
29c7e732e3 define battle AI rodata in C 2017-01-10 22:08:32 -08:00
YamaArashi
a55e1270f4 Merge pull request #181 from marijnvdwerf/decompile/credits-2
Continue decompiling credits
2017-01-10 12:28:28 -08:00
Marijn van der Werf
0e96421b07 Continue decompiling credits 2017-01-10 21:08:59 +01:00
yenatch
fbd1fd4849 enum the species constants 2017-01-08 22:16:03 -05:00
YamaArashi
cee1e81cb0 rename truck_scene.c to field_special_scene.c 2017-01-08 00:31:14 -08:00
YamaArashi
529ce9f9ff dump more incbins 2017-01-07 22:08:50 -08:00
YamaArashi
177978c941 more incbins 2017-01-07 21:10:58 -08:00
YamaArashi
aa69fa2e0a misc. incbins 2017-01-07 19:42:14 -08:00
YamaArashi
850bdd76ac save failed screen incbins 2017-01-07 18:36:48 -08:00
YamaArashi
ee4c47d8c7 naming screen incbins 2017-01-07 17:22:05 -08:00
YamaArashi
30dc3d6fbf menu cursor incbins 2017-01-07 16:43:31 -08:00
YamaArashi
44dfc173df roulette incbins 2017-01-07 16:21:10 -08:00
YamaArashi
0286de627b pokenav incbins 2017-01-07 13:02:50 -08:00
Marijn van der Werf
771b8a7cfe Continue decompilation 2017-01-07 17:05:00 +01:00
YamaArashi
d8aee3a4a5 decorations incbins 2017-01-07 02:54:24 -08:00
YamaArashi
f7beca7c60 bard incbins 2017-01-07 01:03:29 -08:00
YamaArashi
1f6776e991 slot machine incbins 2017-01-07 00:31:37 -08:00
Marijn van der Werf
f1a304b7e4 Start decompiling credits 2017-01-07 00:55:24 +01:00
YamaArashi
1409ca97ed dump subsprite table 2017-01-06 01:01:20 -08:00
YamaArashi
d75c719707 define pokemon size record data in C 2017-01-06 00:39:20 -08:00
YamaArashi
a5f060bc1b get rid of battle AI incbin 2017-01-06 00:06:33 -08:00
YamaArashi
7ed2b30fc2 get rid of Shedinja-related incbin 2017-01-05 23:58:43 -08:00
YamaArashi
b94b4d1e52 split data 2017-01-05 23:40:01 -08:00
YamaArashi
eeacf2f835 lottery prize data 2017-01-05 20:44:28 -08:00
YamaArashi
b9a1bbfca3 split out more data 2017-01-05 20:17:12 -08:00
ProjectRevoTPP
94fb9ab2a9 more labels (#165)
* more labels and match sub_810745C

* formatting

* move BattleStruct to battle.h and combine both loose structs

* oops

* more labels for rom4.c
2017-01-05 19:50:45 -08:00
Marijn van der Werf
076d9e8def Contest painting 2017-01-06 04:06:24 +01:00
Marijn van der Werf
505ad946b9 Decompile party_menu functions 2017-01-06 00:44:16 +01:00
YamaArashi
9c364f5d17 define fanfare data in C 2017-01-05 05:00:19 -08:00
YamaArashi
96ccf2cf22 define palette struct in C 2017-01-05 04:53:16 -08:00
YamaArashi
624e2551de split out tileset anim data 2017-01-05 04:47:00 -08:00
YamaArashi
9b0872d1b8 define some menu data in C 2017-01-05 04:24:19 -08:00
YamaArashi
3d412c4502 split out party_menu data 2017-01-05 03:56:31 -08:00
YamaArashi
fc29d14c6c split out reset_rtc_screen data 2017-01-05 03:52:07 -08:00
YamaArashi
861adbbe6a split out field_tasks data 2017-01-05 03:47:33 -08:00
YamaArashi
8da8d575ba name clock functions 2017-01-05 02:49:06 -08:00
ProjectRevoTPP
370c7f7853 more labels (#159)
* labels for tv.c and tv.s

* match function prologue a little bit better

* whoops

* label and document lottery_corner.c

* gSoftResetDisabled

* add labels for main_menu.c

* labels for metatile_behavior.c
2017-01-04 14:31:44 -08:00
Marijn van der Werf
052a033610 Decompile sub_800DC24 2017-01-04 20:39:34 +01:00
Marijn van der Werf
cb271e2ab7 Rename some graphics 2017-01-03 10:57:45 +01: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
YamaArashi
929148fb7d define script data in C 2017-01-02 23:42:33 -08:00
YamaArashi
6f64e68814 decompile coord_event_weather.c 2017-01-02 23:23:23 -08:00
YamaArashi
bb2c7f3e07 name functions and split data more 2017-01-02 22:58:06 -08:00
Marijn van der Werf
2f362cf67a Partly decompile tv show 2017-01-03 02:39:58 +01:00
yenatch
21c52178ec No more baserom in data/graphics.s 2017-01-02 16:29:53 -05:00
YamaArashi
98e5b2ccac name battle setup functions 2017-01-02 03:50:37 -08:00
YamaArashi
b3b9bc6610 rename AI type 2017-01-02 03:14:30 -08:00
ProjectRevoTPP
98062c69d6 label and document berry.c, decompress.c, item_use.c and label gBattleTypeFlags (#146)
* 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
2017-01-02 01:27:51 -08:00
YamaArashi
c4af9225bc split rom_806936C 2017-01-01 23:25:19 -08:00
YamaArashi
80e95a2047 braille puzzle stuff 2017-01-01 22:41:17 -08:00
YamaArashi
8297717cbd name more functions 2017-01-01 19:45:57 -08:00
YamaArashi
530adda955 name some functions 2017-01-01 18:30:55 -08:00
YamaArashi
ed6210dd25 Merge pull request #143 from yenatch/battle-anim
Decompile battle_anim_80A7E7C
2017-01-01 11:34:34 -08:00
yenatch
b33f098d6e Remove argc in the battle_anim macros. 2017-01-01 12:08:44 -05:00
ProjectRevoTPP
9e5c4ef564 finish decompiling script_menu.c (#142)
* begin decompiling script_menu.c

* update MultichoiceStructs to use both structs

* decompile 2 more functions

* decompile more of script_menu.c

* do a bit more of script_menu.c

* whoops

* decompile task_yes_no_maybe

* finish decompiling script_menu.c

* formatting
2016-12-30 13:10:47 -08:00
YamaArashi
84a56e095d split out pokeball code/data 2016-12-20 20:34:49 -08:00
YamaArashi
1ef1142628 split out more data 2016-12-20 02:59:46 -08:00
YamaArashi
168e3bb04b split out more field data 2016-12-19 22:06:57 -08:00
YamaArashi
d6c8fad0ba decompile ground effect flags functions 2016-12-19 19:16:38 -08:00
YamaArashi
04cc260f44 TASK OVER error message string 2016-12-19 17:46:59 -08:00
YamaArashi
805b2241b1 decompile GetGroundEffectFlags_Reflection 2016-12-19 17:32:23 -08:00
ProjectRevoTPP
c7fe3c4388 decompile save_failed_screen.c except for two functions (#130)
* begin decompiling save_failed_screen.c

* add revision differences for sub_8146E50

* decompile sub_8147048

* help

* get sub_8147324 to almost match except for a single instruction

* finish decompiling save_failed_screen.c except for two nonmatching functions
2016-12-16 16:45:30 -08:00
YamaArashi
4967d2b5d6 fix nonmatching sub_80F8E80 2016-12-15 22:55:08 -08:00
Marijn van der Werf
dd8946a0fd Decompile mail 2016-12-16 02:07:35 +01:00
ProjectRevoTPP
3621411553 decompile load_save.c (#125)
* start decompiling load_save.c

* almost finish decompiling load_save.c

* finish decompiling load_save.c

* i cannot hex math

* formatting
2016-12-11 23:08:36 -08:00
ProjectRevoTPP
c7b4ec3cdf decompile more of matsuda_debug_menu.c (#122)
* begin decompiling matsuda_debug_menu.c

* i'm sorry for misspelling your name

* decompile more masuda_debug_menu.c

* mergable state

* whatever yama

* more decompilation of matsuda_debug_menu.c

* matsuda debug text label consistency

* add current work
2016-12-11 12:21:48 -08:00
YamaArashi
d4247e6eed unused data 2016-12-02 18:36:57 -08:00
YamaArashi
506587c676 fix matsuda debug menu nonmatching functions 2016-12-02 14:48:01 -08:00
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
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
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