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
YamaArashi
8765b09e09
use name length defines
2016-09-10 02:36:05 -07:00
YamaArashi
19bffecc4d
decompile more pokemon functions
2016-09-10 01:59:10 -07:00
YamaArashi
69ca60ca91
fix mistake in function name
2016-09-09 23:54:32 -07:00
YamaArashi
59c69882dc
rename pokemon functions
2016-09-09 23:40:42 -07:00
YamaArashi
873594614b
clean up types in pokemon code
2016-09-09 22:46:55 -07:00
YamaArashi
0b48cbfed8
more decompilation of pokemon functions
2016-09-09 21:18:37 -07:00
YamaArashi
06bed8be90
starting decompliation of pokemon functions
2016-09-08 20:25:40 -07:00
YamaArashi
9ba7169baa
clean up main_menu.c
2016-09-05 21:00:02 -07:00
YamaArashi
80b3dc30e6
rename text window functions
2016-09-05 17:33:50 -07:00
YamaArashi
2085d7169e
incorporate camthesaxman's birch speech decompilation work
2016-09-05 01:41:14 -07:00
YamaArashi
411c2dc2d6
WIN_RANGE macro
2016-09-04 02:21:44 -07:00
YamaArashi
4d518e8ea5
WIP menu.c
2016-09-03 23:39:12 -07:00
YamaArashi
61601293b2
dump songs
2016-08-29 23:45:09 -07:00
YamaArashi
6bde976a5d
m4a ply_note disasm documentation
2016-08-27 12:38:28 -07:00
YamaArashi
28f41f995d
make game version equal 1 for sapphire
2016-08-18 22:03:18 -07:00
YamaArashi
d0f9e9c4a9
rename parameter to 'width'
2016-08-12 17:42:31 -07:00
Marcus Huderle
ad2d354a77
Remove extra line.
2016-08-01 23:22:42 -07:00
Marcus Huderle
3fd70a5723
Add enums for options.
2016-08-01 23:21:27 -07:00
Marcus Huderle
4d911ea86f
Label SaveBlock2.optionsTextBoxFrameType. Label gSaveBlock2.
2016-08-01 22:53:21 -07:00
YamaArashi
74957cfce6
RNG header
2016-07-24 23:06:43 -07:00
YamaArashi
abf89edae8
fix rsfont
2016-06-11 13:23:39 -07:00
YamaArashi
5dde2ecaaf
switch order of fill macros from dest, value to value, dest
2016-06-10 19:22:09 -07:00
YamaArashi
a27cec41b5
decompile palette.c
2016-06-10 18:37:25 -07:00
YamaArashi
a37de9f763
double-colon global labels in preproc; misc other stuff
2016-06-09 01:32:19 -07:00
YamaArashi
2998cc719a
link.c
2016-06-05 13:43:46 -07:00
YamaArashi
efe1980899
add const to fix warnings
2016-05-30 13:01:22 -07:00
YamaArashi
febe474749
prep for link code
2016-05-30 11:57:24 -07:00
YamaArashi
0ebfe95d65
text.c
2016-05-30 02:19:25 -07:00
YamaArashi
1d8ca2c1b9
rename again
2016-05-21 15:21:13 -07:00
YamaArashi
5cbdc23e7e
FreeAllSpriteTiles() to ClearSpriteTileRanges()
2016-05-21 15:15:29 -07:00
YamaArashi
c0203de808
sprite.c and updated preproc
2016-05-21 10:35:53 -07:00
YamaArashi
1879d0883e
main.c
2016-05-15 21:13:30 -07:00
YamaArashi
147c8672c3
new macros for declaring uninitialized IWRAM data
2016-05-15 16:43:56 -07:00
YamaArashi
91b1aab026
eliminate need for register variable in MPlayExtender
2016-05-15 13:03:12 -07:00
YamaArashi
ed9492f915
C header for song enums
2016-05-15 11:39:03 -07:00
YamaArashi
eaa9f37ca9
m4a lib; use fewer iwram syms
2016-05-15 01:55:33 -07:00
YamaArashi
b1e5ea3877
add sound defines
2016-05-10 21:35:05 -07:00
YamaArashi
1e6eb4f812
use compiled libgcc
2016-04-30 04:19:00 -07:00
YamaArashi
0601fb4d00
Prepare for switch to standard gas (with preprocessor)
2016-04-21 23:06:36 -07:00
YamaArashi
8890ea36ee
AGB flash library
2016-04-08 21:43:56 -07:00
YamaArashi
9edfc54fb8
rename RTC files
2016-04-05 21:03:12 -07:00
YamaArashi
e0e5cb9ce6
small string/RTC code changes
2016-04-05 20:51:34 -07:00
YamaArashi
35157edc12
rename RTC functions/variables
2016-04-05 02:39:13 -07:00
YamaArashi
1d398297a9
make TaskDummy static
2016-04-03 03:52:41 -07:00
YamaArashi
5b648ca259
task.c
2016-04-03 03:47:02 -07:00
YamaArashi
33005cef6b
preliminary revision 2 support (fixing berry glitch)
2016-02-03 02:14:14 -08:00
YamaArashi
d7894a90f4
RTC errors
2016-02-03 01:15:49 -08:00
YamaArashi
5fd538d180
RTC code/data
2016-02-03 00:26:25 -08:00
YamaArashi
6f965a9eca
librtc
2016-02-01 02:09:10 -08:00
YamaArashi
b274bdf7d3
play_time.c
2016-01-31 15:48:09 -08:00
YamaArashi
b78957167b
clean up
2016-01-31 04:58:08 -08:00
YamaArashi
6f1c908302
string_util.c
2016-01-31 04:29:44 -08:00