Commit Graph

273 Commits

Author SHA1 Message Date
ProjectRevoTPP 93cd061959 start decompiling script_pokemon_util_80F99CC.c 2017-02-28 04:12:14 +00:00
YamaArashi 83134f6dda define gFlashMemoryPresent in load_save.c 2017-02-19 12:17:21 -08: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
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
YamaArashi 6a66bda6c1 Merge pull request #229 from camthesaxman/field_map_obj
decompile more of field_map_obj
2017-02-03 09:30:58 -08:00
camthesaxman 2c66ef8ef3 decompile more code 2017-02-03 01:04:43 -06: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
ProjectRevoTPP 9813caaf53 make ROM match again (#227)
* 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
2017-01-31 00:08:44 -08:00
ProjectRevoTPP b6b5453431 start decompiling mauville_old_man.c (#225)
* 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
2017-01-29 17:59:54 -08:00
YamaArashi 047c35d6f1 Merge pull request #223 from camthesaxman/field_map_obj
decompile more of field_map_obj
2017-01-28 19:58:34 -08:00
camthesaxman c4c0e1d7d5 decompile some more 2017-01-28 21:23:50 -06:00
camthesaxman 25357a71a7 introduce BGCNT constants 2017-01-28 17:00:57 -06:00
YamaArashi ed8f49d5e1 tabs to spaces 2017-01-28 13:51:14 -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
camthesaxman a500cfc5fa start decompiling more of field_map_obj 2017-01-27 15:58:28 -06: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
YamaArashi c854250658 preproc incbins 2017-01-23 21:31:28 -08:00
YamaArashi a14cd89b9c Merge pull request #214 from camthesaxman/naming_screen
start decompiling naming_screen
2017-01-22 21:43:45 -08:00
camthesaxman b1925402a0 start decompiling naming_screen 2017-01-22 23:22:12 -06:00
Cameron Hall 22e4e3f378 decompile script_movement (#213)
* start decompiling script_movement

* finish decompiling

* delete script_movement.s
2017-01-22 19:35:31 -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
ProjectRevoTPP 50d60b4403 finish decompiling bike.c (#207)
* decompile first few functions of field_map_obj.c

* formatting

* almost finish decompiling bike.c

* finish decompiling bike.c
2017-01-21 01:36:36 -08: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
Cameron Hall 3d3ef45a8c decompile more of bike (#205)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike

* decompile more of bike
2017-01-20 21:20:02 -08:00
ProjectRevoTPP cf0a4dbb86 start decompiling bike.c (#203)
* start decompiling bike.c

* decompile more of bike.c

* decompile MovePlayerOnAcroBike and CheckMovementInputAcroBike
2017-01-20 14:43:41 -08:00
Cameron Hall 9274e18927 decompile rom6 (#202)
* decompile rom6

* newline
2017-01-19 21:58:23 -08:00
Cameron Hall 56f432fca2 start decompiling rom3 (#198)
* start decompiling rom3

* newline

* decompile sub_800BA78
2017-01-18 14:35:34 -08:00
Marijn van der Werf 46cf490edd Declare gBGTilemapBuffers in header 2017-01-17 15:00:08 +01:00
Marijn van der Werf 648c6c7093 Move gStringVar declarations to text.h 2017-01-17 14:57:49 +01:00
YamaArashi 5d5c1df33a Merge pull request #190 from camthesaxman/battle_anim
finish decompiling battle_anim.c
2017-01-16 16:25:58 -08:00
camthesaxman 4c3cf9f22e finish decompiling battle_anim.c 2017-01-16 18:10:23 -06:00
YamaArashi 97004d4c90 decompile unknown_debug_menu 2017-01-14 19:25:40 -08:00
YamaArashi 370b2b3c3e decompile map_name_popup.c 2017-01-14 18:40:05 -08:00
YamaArashi 3f044a459b decompile fldeff_teleport.h 2017-01-14 18:03:33 -08:00
YamaArashi a9ea37caf3 update GBA headers 2017-01-13 17:50:56 -08:00
ProjectRevoTPP 0db7231932 decompile braille_puzzles.c (#187)
* begin decompiling braille_puzzles.c

* finish decompiling braille_puzzles.c
2017-01-11 21:53:22 -08:00
YamaArashi beb36d2696 decompile sub_8067EEC 2017-01-10 22:28:02 -08:00
YamaArashi 29c7e732e3 define battle AI rodata in C 2017-01-10 22:08:32 -08:00
ProjectRevoTPP f88eeb6074 more labels and finish decompiling battle_ai.c except for unk_24 (#184)
* labels for save_menu_util.c

* formatting, i suck at it

* fix sub_80712B4 to not use MyTask struct

* pls don't kill me

* current changes

* decompile BattleAICmd_if_damage_bonus

* formatting

* label thinking struct unk8

* decompile BattleAICMd_if_status_not_in_party

* decompile more battle_ai.c functions

* Began decompilation of a random file

* decompile BattleAICmd_if_can_faint and BattleAICmd_if_cant_faint

* decompile unk_3F and unk_40

* decompile if_move_effect and if_not_move_effect

* formatting, silly

* decompile if_last_move_did_damage and if_encored

* decompile unk_45 if_random_2 and unk_47

* decompile get_hold_effect and get_gender

* decompile is_first_turn and get_stockpile_count

* decompile unk_4C and get_item

* decompile unk_4E unk_4F and unk_50

* decompile get_protect_count and the remaining stub macros

* decompile call jump and unk_5A

* decompile if_level_cond

* decompile the last AI macros besides unk_24

* finish decompiling battle_ai.c except for unk_24
2017-01-10 20:17:43 -08:00
Cameron Hall 6b0268e0c0 finish decompiling field_control_avatar.c (#182)
* start decompiling field_control_avatar.c

* remove field_control_player_avatar.c

* finish decompiling

* cleanup

* var and flag constants
2017-01-10 20:15:38 -08:00
camthesaxman 13dc0d36b0 fix up dewford_trend.c a bit 2017-01-10 22:07:09 -06: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 72770d22ea Forgot to add Unown species constants to the enum 2017-01-08 23:43:45 -05:00
yenatch fbd1fd4849 enum the species constants 2017-01-08 22:16:03 -05:00
Cameron Hall e2daa41862 start decompiling field_control_avatar.c (#177)
* start decompiling field_control_avatar.c

* remove field_control_player_avatar.c
2017-01-08 15:42:17 -08:00
YamaArashi cee1e81cb0 rename truck_scene.c to field_special_scene.c 2017-01-08 00:31:14 -08:00
YamaArashi 11f95794b9 decompile porthole code 2017-01-08 00:22:21 -08:00