Commit Graph

502 Commits

Author SHA1 Message Date
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