Commit Graph

616 Commits

Author SHA1 Message Date
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
YamaArashi
5b4e2d3f18 decompile field_effect.c 2016-11-18 16:37:29 -08:00
Cameron Hall
510f104706 more cleanup (#98) 2016-11-11 18:07:15 -08:00
Cameron Hall
2e7fd90c5b decompile field_door.c (#97)
* decompile

* name some functions and variables

* formatting and name more functions
2016-11-10 18:01:14 -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
yenatch
154710bfbd Decompile part of weather.s. 2016-11-07 22:09:40 -05:00
Cameron Hall
7b1e836e9b cleanup (#93)
* cleanup

* cleanup
2016-11-06 21:02:20 -08:00
YamaArashi
279394c8e5 contest rank var 2016-11-05 15:36:57 -07:00
YamaArashi
ee9a346e69 contest category var 2016-11-05 15:27:55 -07:00
YamaArashi
716476e798 script special variables 2016-11-05 15:10:37 -07:00
YamaArashi
356e04a104 trainer music constants 2016-11-04 21:50:44 -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
3acf4be38a badge flags 2016-11-04 13:17:48 -07:00
Cameron Hall
506cb08c79 decompile field_posion.c (#79)
* start decompiling field_poison.c

* finish decompiling
2016-10-30 18:30:32 -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
Diegoisawesome
ad7aa68d9b (Almost) finished menu_cursor.c (#77) 2016-10-29 16:25:42 -07:00
YamaArashi
ff71446e68 naming screen PC icon sprites 2016-10-28 23:30:45 -07:00
YamaArashi
2cb7107612 name battle AI commands by macro names 2016-10-28 21:34:39 -07:00
ProjectRevoTPP
97c6849805 decompile truck_scene.c (#76)
* begin decompiling truck_scene.c

* more truck_scene.c work.

* Task_Truck2 pushed for YamaArashi, nonmatching

* begin decompiling truck_scene.c

more truck_scene.c work.

Task_Truck2 pushed for YamaArashi, nonmatching

* make truck scene match

* cleanup

* more consistency

* finish decompiling truck_scene.c

* formatting

* oops
2016-10-28 20:59:19 -07:00
YamaArashi
d9e59a388c included .s to .inc 2016-10-28 15:41:15 -07:00
yenatch
0c7d1385e8 Add BGM_ROUTE_118. 2016-10-28 15:35:27 -04:00
YamaArashi
241699e997 name functions 2016-10-27 00:01:41 -07:00
Cameron Hall
d722332128 decompile lottery corner functions (#73)
* save current work

* finish decompiling

* clean up a bit

* new line at end of file
2016-10-26 23:34:13 -07:00
YamaArashi
97aff6e40e format Feebas data 2016-10-26 00:56:58 -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
6cb3764a09 name labels 2016-10-25 21:23:44 -07:00
YamaArashi
7507ee8f98 heal location data 2016-10-25 21:17:10 -07:00
YamaArashi
b0c9dfeca4 Brendan/May icons 2016-10-25 21:01:31 -07:00
YamaArashi
84037f37f2 rename functions 2016-10-25 20:11:00 -07:00
YamaArashi
e1191bfe66 name/rename a lot of functions 2016-10-24 22:52:18 -07:00
YamaArashi
e9e147fe7d rename more functions 2016-10-24 03:07:53 -07:00
YamaArashi
92e63e2577 rename some functions 2016-10-24 01:47:52 -07:00
YamaArashi
8dddb58d76 unknown subsprite incbins 2016-10-24 00:56:12 -07:00
YamaArashi
9211a3702e roamer location data 2016-10-24 00:28:02 -07:00
YamaArashi
8eea9cf4ba more save block 1 data 2016-10-23 22:43:16 -07:00
YamaArashi
f5435a6f5c PC/bag item data 2016-10-23 13:29:17 -07:00
YamaArashi
3a5e29514b decompile more rom4 functions 2016-10-22 14:52:52 -07:00
YamaArashi
5bae8dc95f diploma graphics labels 2016-10-21 23:00:45 -07:00
YamaArashi
c2a93ea21e new game PC items 2016-10-20 19:14:38 -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
1bd681722b name missed field effect function 2016-10-18 19:51:37 -07:00
YamaArashi
097f7247f8 name missed field effect 2016-10-18 19:44:34 -07:00
YamaArashi
cd5770848e name field effect functions 2016-10-18 19:42:54 -07:00
YamaArashi
0f62302363 move field effect object images 2016-10-18 19:01:53 -07:00
YamaArashi
64ee4533fe name unknown field effect objects 2016-10-18 18:14:01 -07:00
YamaArashi
562d21e8f4 name unknown field effect scripts 2016-10-18 18:00:58 -07:00
YamaArashi
d93f1158c5 update sand pillar palette 2016-10-18 15:13:00 -07:00
YamaArashi
c43ff74fc4 name field effects 2016-10-18 13:58:11 -07:00
YamaArashi
bb2e1caa17 name field move functions 2016-10-18 13:54:26 -07:00
YamaArashi
d3f5f73d13 name pokemon menu action functions 2016-10-18 13:27:50 -07:00
YamaArashi
80eaaf73e9 consistent naming 2016-10-18 13:00:36 -07:00
YamaArashi
269deb860e name some graphics functions 2016-10-18 12:58:12 -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
12fcc3c7c8 save section locations 2016-10-16 12:25:44 -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
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
e917ff8398 remove trailing tab 2016-10-06 22:01:57 -07:00
YamaArashi
186358ae31 fix pokeball coords 2016-10-06 21:59:58 -07:00
Cameron Hall
3634e8edc2 decompile starter chooser (#55) 2016-10-06 21:53:33 -07:00
YamaArashi
1bbd413183 decompile sub_8054814() 2016-10-03 19:33:18 -07:00
camthesaxman
f7430dab63 clean up and document main_menu.c 2016-10-02 23:17:45 -05: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
44b20be156 extract some data from baserom 2016-09-30 19:36:27 -07:00
YamaArashi
9b50e911c8 clean up sound code 2016-09-30 18:45:14 -07:00
YamaArashi
41e4ec0d02 fix more alignment issues 2016-09-28 20:15:02 -07:00
YamaArashi
3f88e8c005 game statistics 2016-09-26 20:32:41 -07:00
YamaArashi
bbc0da892f decompile map object and field message box code 2016-09-23 19:26:57 -07:00
YamaArashi
0b2a61e5d8 WIP decompilation of script functions 2016-09-19 23:49:22 -07:00
YamaArashi
573fa4cd84 unknown game init data 2016-09-19 00:29:36 -07:00
YamaArashi
5f27ef1a39 unused palettes 2016-09-19 00:14:52 -07:00
YamaArashi
4fec693f04 trade screen text palette 2016-09-18 21:54:39 -07:00
YamaArashi
b694d54ec0 rename intro.s to birch_speech.s 2016-09-18 17:19:40 -07:00
YamaArashi
316278fa54 name birch speech strings 2016-09-18 17:09:30 -07:00
ProjectRevoTPP
d50f25ab1e purge text label redundancy in data2 (#44) 2016-09-16 09:42:48 -07:00
YamaArashi
64a39c38e3 decompile pokemon functions 2016-09-12 15:42:25 -07:00
YamaArashi
6a79077def decompile more pokemon functions 2016-09-12 01:22:26 -07:00
YamaArashi
0f2e0c96a7 build revision 1 and 2 2016-09-10 22:40:33 -07:00
Marcus Huderle
b613eb4301 Move data/music/ to sound/ 2016-09-10 11:16:30 -07:00
Marcus Huderle
3cb79cf078 Merge 'master' with 'origin/master' 2016-09-10 11:00:02 -07:00
YamaArashi
70615f7eef gLevelUpLearnsetPointers -> gLevelUpLearnsets 2016-09-09 22:52:23 -07:00
yenatch
5080b9083c Merge remote-tracking branch 'origin/master' into more-map-splits 2016-09-09 01:16:58 -04:00
yenatch
8de743b6ac Split out groups of includes related to maps. 2016-09-09 01:14:32 -04:00
YamaArashi
06bed8be90 starting decompliation of pokemon functions 2016-09-08 20:25:40 -07:00
Marcus Huderle
b96fa854e1 Use .aif files for programmable wave instruments. 2016-09-08 17:57:29 -07:00
Marcus Huderle
001e1c77b8 Output .bin file for direct sound metadata (loop point, pitch adust, and number of samples). This was needed since we couldn't incbin a string argument in a macro. 2016-09-08 16:42:47 -07:00
Marcus Huderle
fe1fad3aa5 Use labels to calculate direct sound's number of samples. 2016-09-08 14:24:18 -07:00
Marcus Huderle
ccdc106333 Convert .aif files to .pcm samples, and update Makefile to use aif2pcm tool. 2016-09-08 14:06:35 -07:00
YamaArashi
80b3dc30e6 rename text window functions 2016-09-05 17:33:50 -07:00
YamaArashi
110fc301e1 text_window.c 2016-09-05 14:55:23 -07:00
YamaArashi
55bfe3ca01 WIP main_menu.c 2016-09-04 01:15:12 -07:00
ProjectRevoTPP
48711cdf9a fix build error and add gitignore 2016-09-03 21:39:36 +01:00
ProjectRevoTPP
893d4115c9 nuke whitespace 2016-09-03 21:34:55 +01:00
ProjectRevoTPP
828892df21 remaining work and tidy up previously dumped stuff in graphics.s 2016-09-03 21:27:34 +01:00
ProjectRevoTPP
b953d0cb38 oops 2016-09-03 18:44:57 +01:00
ProjectRevoTPP
da48d58ac2 finish dumping majority of gfx in graphics.s 2016-09-03 18:22:54 +01:00
ProjectRevoTPP
0ef010cb4b dump text window frames and misc gfx 2016-09-03 06:56:24 +01:00
ProjectRevoTPP
724a95924c Merge remote-tracking branch 'origin/master' 2016-09-03 03:18:55 +01:00