Commit Graph

290 Commits

Author SHA1 Message Date
YamaArashi
084dc5134c some German differences 2017-05-05 16:46:59 -07:00
ProjectRevoTPP
a85fc2a69c use macros and defines for save.c making it easier to add new sections 2017-05-04 21:49:14 -07:00
YamaArashi
d7284694ec decompile time_events 2017-05-04 00:21:04 -07:00
YamaArashi
f492004cb6 introduce YesNoFuncTable struct 2017-05-03 21:54:43 -07:00
YamaArashi
c26ecaec0f clean up whitespace 2017-05-03 18:16:31 -07:00
YamaArashi
218b9abd41 Struct_0202F7D4 -> AffineAnimCmd 2017-05-03 18:02:14 -07:00
ProjectRevoTPP
7f03ba4951 decompile a little more of player_pc.c and dump half of battle_anim data incbins (#254)
* matching sub_813A280 and sub_813A4B4

* move data to item_use.c

* slightly less ugly NewGameInitPCItems

* more less ugly NewGameInitPCItems - Game Freak doesn't know how to use structs

* decompile HandleQuantityRolling and sub_813A6FC

* partially label and comment battle_anim.c

* decompile sub_813A794 and sub_813A83C

* minor comments on battle_anim.c

* decompile up to GF shenanigans #14390

* up to GF shenanigans #38571

* dump half of battle_anim_80CA710.s incbins

* dump most incbins from battle_anim_812C144.s

* obj_rot_scal fixes

* subsprite

* i cant even identify byte arrays
2017-05-03 17:37:07 -07:00
yenatch
2090636b04 Use an enum for items. 2017-04-29 16:49:59 -04:00
Marijn van der Werf
ddc846fa6a Sort includes 2017-04-27 16:07:18 +02:00
YamaArashi
4b4597a27a decompile fldeff_sweetscent.s 2017-04-17 15:00:44 -07:00
Marijn van der Werf
4a6035a14c Decompile fldeff_softboiled 2017-04-17 22:22:00 +02:00
ProjectRevoTPP
83d7f52f2c finish decompiling item_use.c (#244)
* nonmatching sub_80C9720 and decompile sub_80C9838

* finish decompiling Itemfinder functions.

* decompile ItemUseOutOfBattle_PokeblockCase and ItemUseOutOfBattle_CoinCase

* rename field_doortransition

* rename weather file

* decompile more of item_use.c

* decompile up to repel code

* decompile up to stat increase code

* finish decompiling item_use.c

* remove item_use from ld_script
2017-04-08 18:05:20 -07:00
YamaArashi
9d39cca19c decompile post_battle_event_funcs 2017-04-07 22:39:56 -07:00
ProjectRevoTPP
3d5864529e label changes for clarity 2017-03-22 06:04:41 +01:00
ProjectRevoTPP
0042dd649d start decompiling item_use.c again 2017-03-22 06:04:01 +01:00
ProjectRevoTPP
6035511c13 reorganize and add new headers for many files 2017-03-18 04:00:15 +01:00
ProjectRevoTPP
e684559a13 move strings to C file 2017-03-18 03:51:12 +01:00
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