Marijn van der Werf
64412ee4c4
Decompile ShowLinkBattleRecords
2017-05-08 14:19:49 -07:00
Marijn van der Werf
00c64ddd66
Decompile sub_803037C
2017-05-08 14:19:49 -07:00
YamaArashi
3cc8c20445
decompile birch_pc
2017-05-08 11:28:28 -07:00
YamaArashi
9c75355d71
decompile more pokemon functions
2017-05-07 21:10:44 -07:00
YamaArashi
02c44d7f38
decompile battle music and pokemon palette functions
2017-05-07 19:11:25 -07:00
YamaArashi
68ce0d8bb0
decompile EV and pokerus functions
2017-05-07 12:09:15 -07:00
Marijn van der Werf
91208b74b8
Start decompiling easy_chat
2017-05-07 10:15:38 -07:00
YamaArashi
83d695b6ac
decompile pokemon functions
2017-05-07 00:40:28 -07:00
Marijn van der Werf
8795103ac9
Decompile cycling field specials
2017-05-06 16:26:29 -07:00
Marijn van der Werf
11156a09cf
Declare StringLengthN conditionally in header
2017-05-06 13:35:32 -07:00
YamaArashi
e22b9c54f1
decompile some pokemon functions
2017-05-05 22:10:36 -07:00
Marijn van der Werf
12ef81ae0d
Various German patches
2017-05-05 20:06:57 -07:00
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
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
Cameron Hall
c4c79da09a
finish decompiling intro.c ( #169 )
...
* finish decompiling
* remove intro.s
2017-01-06 23:54:16 -08:00
YamaArashi
5428379474
Merge pull request #168 from camthesaxman/intro
...
decompile more intro functions
2017-01-06 18:48:55 -08:00
camthesaxman
b6b9ebd3ee
decompile more intro functions
2017-01-06 20:32:46 -06:00
YamaArashi
350bd3b11a
complete PokemonStorage struct
2017-01-06 02:34:39 -08:00
YamaArashi
8a4775755c
move vars to header
2017-01-06 00:44:08 -08:00
YamaArashi
c1b2c31a4a
item constants
2017-01-05 20:39:55 -08:00
YamaArashi
746b12fb99
global.h formatting
2017-01-05 20:22:44 -08:00
ProjectRevoTPP
dc2d1251f1
quick fix to make ROM build again
2017-01-06 04:13:59 +00: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
YamaArashi
2bf932b4f0
Merge pull request #163 from camthesaxman/intro
...
decompile more intro functions
2017-01-05 15:58:58 -08:00
Marijn van der Werf
505ad946b9
Decompile party_menu functions
2017-01-06 00:44:16 +01:00
camthesaxman
e7ea49dc38
decompile up to sub_813D584
2017-01-05 17:08:36 -06:00
YamaArashi
9b0872d1b8
define some menu data in C
2017-01-05 04:24:19 -08:00
YamaArashi
3dc2f89924
field_8 -> savedCallback
2017-01-05 02:53:34 -08:00
YamaArashi
8da8d575ba
name clock functions
2017-01-05 02:49:06 -08:00
camthesaxman
1505e4e24c
begin decompiling more intro code
2017-01-04 23:20:09 -06:00
YamaArashi
af4845a4a1
add some vars
2017-01-04 20:16:15 -08:00
YamaArashi
ef6bf02e70
decompile more summary screen functions
2017-01-04 19:38:14 -08:00
ProjectRevoTPP
4b16d04dcc
decompile clock.c ( #161 )
...
* remove matsuda debug menu from ld_script
* decompile clock.c
* formatting
2017-01-04 19:20:17 -08:00
Cameron Hall
41d2b112eb
almost finish decompiling matsuda_debug_menu.c ( #158 )
...
* almost finish decompiling matsuda_debug_menu.c
* rename sub_8071C20 to CloseMenu
2017-01-04 14:32:45 -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
YamaArashi
355428ee31
name some functions
2017-01-04 04:45:33 -08:00
YamaArashi
b6b8d053ec
Emerald version enum
2017-01-04 04:29:25 -08:00
YamaArashi
19f0d5a5cf
make PokemonSummaryScreen_PrintTrainerMemo match
2017-01-03 21:10:34 -08:00
Marijn van der Werf
c03e7be9af
Attempt to decompile trainer memo printing
2017-01-03 19:55:00 +01: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
YamaArashi
e7054aed14
name_string_util.s
2017-01-02 04:48:04 -08:00
YamaArashi
98e5b2ccac
name battle setup functions
2017-01-02 03:50:37 -08:00
YamaArashi
1ae67805bc
battle type constants
2017-01-02 03:10:02 -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
145e90483b
event_data.c
2017-01-02 01:01:13 -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
8ce0fb4b20
fix flag names
2017-01-01 22:13:39 -08:00
YamaArashi
6983ce9c20
add flags
2017-01-01 22:03:37 -08:00
YamaArashi
4099235b1f
mail data in save block 1
2017-01-01 20:28:45 -08:00
YamaArashi
68edc37098
fix MapEvents struct
2017-01-01 19:00:01 -08:00
YamaArashi
530adda955
name some functions
2017-01-01 18:30:55 -08:00
ProjectRevoTPP
7de050c235
start decompiling item_use.c ( #144 )
...
* begin decompiling item_use.c
* decompile more of item_use.c
* commit what I have currently
* formatting
2017-01-01 16:16:57 -08:00
YamaArashi
84c5030e20
use more constants in CalculateBaseDamage
2016-12-31 12:07:32 -08:00
YamaArashi
fc7bec7f53
decompile more of pokemon_3
2016-12-30 22:41:03 -08:00
YamaArashi
5c1c941182
begin decompiling pokemon_3
2016-12-30 16:11:16 -08:00
YamaArashi
dd6ae92fac
decompile sub_80B5578 and sub_80B5684
2016-12-30 00:02:01 -08:00
YamaArashi
1eeb0b58b5
add nonmatching cleaner code for mystery_event_menu.c
2016-12-29 21:32:16 -08:00
YamaArashi
9eceeb2a37
decompile mystery_event_menu.c
2016-12-29 21:16:25 -08:00
YamaArashi
47f0942e21
second save_failed_screen.c bugfix
2016-12-29 15:16:03 -08:00
YamaArashi
97aecd23b8
more bugfix ifdefs
2016-12-29 13:50:44 -08:00
YamaArashi
4f4b6a3f5b
add conditional bugfix for setting mon IVs
2016-12-29 13:31:25 -08:00
YamaArashi
b42f5c0f7f
use BUGFIX ifdefs
2016-12-29 13:13:07 -08:00
YamaArashi
c48b7b23a7
name save_failed_screen.c functions
2016-12-28 20:54:19 -08:00
ProjectRevoTPP
b255655ca8
Decompile more of player_pc.c ( #136 )
...
* start decompiling player_pc.c again
* submit more player_pc.c work
2016-12-19 22:54:51 -08:00
YamaArashi
d6c8fad0ba
decompile ground effect flags functions
2016-12-19 19:16:38 -08:00
YamaArashi
b8d3542b46
move functions from start_menu.c to menu.c
2016-12-18 11:52:33 -08:00
YamaArashi
86f2d57e29
Merge pull request #134 from marijnvdwerf/clean/language
...
Rename `charset` and use macro for build language
2016-12-17 11:20:27 -08:00
YamaArashi
801c0b3fc3
metatile behavior constants
2016-12-17 11:15:36 -08:00
Marijn van der Werf
20efe6984e
Rename charset and use macro for build language
2016-12-17 13:44:03 +01:00
YamaArashi
1d5641f054
Merge pull request #129 from marijnvdwerf/decompile/money
...
Decompile money
2016-12-16 17:48:14 -08:00
ProjectRevoTPP
b199c5d7f1
make ROM compile again/fix warnings
2016-12-17 01:36:30 +00:00
Marijn van der Werf
2b99f7bcec
Decompile money
2016-12-16 20:39:39 +01:00
Marijn van der Werf
dd8946a0fd
Decompile mail
2016-12-16 02:07:35 +01:00
Marijn van der Werf
6a675e2c9f
Decompile berry tag screen
2016-12-13 15:06:04 +01:00
Marijn van der Werf
6a07ab586c
Fix new errors
2016-12-12 10:43:32 +01:00
Marijn van der Werf
11373fb2d4
Fix various warnings
2016-12-12 09:50:41 +01:00
Marijn van der Werf
c945285679
Clean up Matsuda debug menu
2016-12-12 09:50:32 +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
YamaArashi
0d33462f7a
Merge pull request #123 from yenatch/fieldmap
...
Decompile src/fieldmap.c
2016-12-11 14:18:53 -08:00
yenatch
8cac5f582d
Decompile src/fieldmap.c
2016-12-11 17:12:54 -05: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
Marijn van der Werf
b6387d8c43
Continue decompiling trainer_card
2016-12-11 16:00:45 +01:00
YamaArashi
12ac981dd7
use .o in comment for consistency
2016-12-07 23:36:38 -08:00
YamaArashi
f0f0d85ab6
decompile fldeff_strength.c
2016-12-07 23:34:37 -08:00
YamaArashi
3602331ae2
fix battle_setup.c warning
2016-12-04 16:45:35 -08:00
YamaArashi
087d746c8b
Merge branch 'clean/warnings-1' of https://github.com/marijnvdwerf/pokeruby into marijnvdwerf-clean/warnings-1
2016-12-04 03:35:28 -08:00
YamaArashi
4ceea5913e
formatting
2016-12-04 03:32:44 -08:00
Marijn van der Werf
97f58f823c
Make InitWindowFromConfig use const config
2016-12-04 11:52:52 +01:00
Marijn van der Werf
1a93ee2095
Add functions used by matsuda menu to asm.inc.h
2016-12-04 11:52:19 +01:00
Marijn van der Werf
20958a3e04
Fix warnings in trainer_see.c
2016-12-04 11:48:32 +01:00
Marijn van der Werf
32fa3b735a
Fix warnings in menu.c and option_menu.c
2016-12-04 11:48:28 +01:00
Marijn van der Werf
95ee1e7188
Decompile sub_8093110 and sub_8093130
2016-12-04 10:24:12 +01:00
Marijn van der Werf
1faa19a542
Fix more warnings in mori_debug_menu
2016-12-02 22:33:57 +01:00
Marijn van der Werf
3ea6fa99a3
Fix definition of daycare_count_pokemon
2016-12-02 22:33:57 +01:00
Marijn van der Werf
d37a0859ee
Fix definition of helper function
2016-12-02 22:33:56 +01:00
Marijn van der Werf
d40539893b
Pass struct array to PrintMenuItems
2016-12-02 22:33:56 +01:00
YamaArashi
fe79b6c4e3
name some player avatar flags
2016-12-02 13:08:29 -08:00
Marijn van der Werf
bd5333a4f2
Reorganise main_menu.c
2016-12-02 19:43:12 +01:00
Marijn van der Werf
1f222c04ef
[WIP] Extract all external function declarations to headers ( #114 )
...
* Extract other external function declarations
* Fix GBA compilation
* Revert `sub_803C434` to asm
2016-12-02 10:06:22 -08:00
Marijn van der Werf
4258e60771
Declare more non-static functions in header files ( #111 )
...
* Declare more non-static functions in header files
* Use `(void)` for functions without arguments.
* Move global-included data to seperate headers
* Don't import types or global in header
* Fix fieldmap imports
* Revert in-code changes
* Add missing newlines
2016-11-30 18:51:24 -08:00
Cameron Hall
e30044965f
Decompile more intro functions ( #108 )
...
* start decompiling intro task
* ignore Thumbs.db
* decompile more code
* actually ignore Thumbs.db
* decompile more functions
* fix sapphire
* sort of fix task_intro_7
* name some functions and variables
* more cleanup
2016-11-25 11:32:45 -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
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
YamaArashi
b2acbe1d80
decompile more rom4.s functions
2016-10-08 22:08:38 -07:00
YamaArashi
d9a314dea2
use more constants in m4a asm
2016-10-07 17:07:51 -07:00
YamaArashi
27e6a517a1
put function prototypes in main.h
2016-10-02 14:38:59 -07:00
YamaArashi
f522ceb65e
add comment for DMA clear macros
2016-10-02 14:24:34 -07:00
camthesaxman
43f374e64e
add DmaClear macro ( #50 )
2016-10-02 14:15:12 -07:00
YamaArashi
179c2e5041
initial decompilation of some field system code
2016-10-02 00:43:14 -07: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
9b50e911c8
clean up sound code
2016-09-30 18:45:14 -07:00
YamaArashi
302e43fd91
menu.h
2016-09-30 09:54:35 -07:00
YamaArashi
18c171932b
update headers
2016-09-28 01:35:19 -07:00
YamaArashi
3f88e8c005
game statistics
2016-09-26 20:32:41 -07:00
YamaArashi
25dd8729e5
decompile new game init code
2016-09-25 22:11:44 -07:00
YamaArashi
0a2857a7dc
fix save block symbols
2016-09-25 17:19:28 -07:00
YamaArashi
fd0e633b79
remove common variable workaround macros
2016-09-25 01:43:12 -07:00
YamaArashi
67eb0f4812
name ClearStandardMessageBox()
2016-09-23 21:23:38 -07:00
YamaArashi
003e25a603
rename field message box functions
2016-09-23 21:10:10 -07:00
YamaArashi
c8a1dc2c36
clean up field message box code
2016-09-23 20:45:29 -07:00
YamaArashi
bbc0da892f
decompile map object and field message box code
2016-09-23 19:26:57 -07:00
YamaArashi
7d57a4fc23
rename some script functions
2016-09-22 01:04:02 -07:00
YamaArashi
2ac23e201b
decompile rest of script commands
2016-09-21 20:43:41 -07:00
YamaArashi
8805b04503
decompile more script functions
2016-09-20 20:18:00 -07:00
YamaArashi
0b2a61e5d8
WIP decompilation of script functions
2016-09-19 23:49:22 -07:00
YamaArashi
c5d2ccda13
add m4a function prototypes
2016-09-18 14:45:48 -07:00
YamaArashi
2782f7d614
expand WRAM sections and add some variables
2016-09-18 12:35:05 -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
YamaArashi
61e860247e
decompile functions for setting pokemon data
2016-09-10 12:26:47 -07:00