Commit Graph

915 Commits

Author SHA1 Message Date
DizzyEggg
f4ab21ee67 Merge branch 'master' into decompile_use_pokeblock 2017-12-16 11:42:59 +01:00
PikalaxALT
da2e0dfe50 Merge branch 'master' into clock 2017-12-15 21:04:25 -05:00
DizzyEggg
bb82032208 battle setup review changes 2017-12-16 01:15:19 +01:00
DizzyEggg
44abbae60b nerge with master, fix conflicts 2017-12-16 01:08:55 +01:00
DizzyEggg
4351676749 decompile more of pokeblock.s 2017-12-16 00:08:23 +01:00
Diegoisawesome
e3c366df64 Merge remote-tracking branch 'pret/master' 2017-12-15 00:08:48 -06:00
Avara
c8ac4e8ce4 Opponents fixed and moved~ 2017-12-12 02:58:57 +00:00
camthesaxman
c681b482c2 convert more constants 2017-12-11 12:27:51 -06:00
DizzyEggg
8ac17e0948 move data from asm to pokeblock.c 2017-12-11 16:52:28 +01:00
Avara
0c20cd6990 Opponent Constants 2017-12-11 14:37:13 +00:00
DizzyEggg
37ae6a7758 move more pokeblock data to C and label 2017-12-10 16:38:27 +01:00
PikalaxALT
b1c6f80e10 through sub_800F048 2017-12-10 10:31:11 -05:00
PikalaxALT
beeb86be37 through (nonmatching) sub_800EFB0 2017-12-10 10:23:43 -05:00
DizzyEggg
bb1ae5f857 Merge branch 'master' into decompile_use_pokeblock 2017-12-09 21:24:47 +01:00
DizzyEggg
6561b62986 start pokeblock feed 2017-12-09 21:23:40 +01:00
PikalaxALT
253b3c2fa5 sub_800EDD4 2017-12-08 08:24:54 -05:00
PikalaxALT
abc3869eca through sub_800EDBC 2017-12-07 20:21:50 -05:00
PikalaxALT
6441ba7832 sub_800EB44 2017-12-07 20:04:07 -05:00
PikalaxALT
c9f43116aa through sub_800EAFC 2017-12-07 08:48:49 -05:00
PikalaxALT
94da6de903 sub_800E94C 2017-12-07 00:28:12 -05:00
PikalaxALT
4f342198c2 sub_800E88C 2017-12-06 23:55:40 -05:00
PikalaxALT
dc0d544119 sub_800E87C, remaining data in link_rfu 2017-12-05 23:54:31 -05:00
camthesaxman
19fbf024ff fix merge conflicts 2017-12-05 12:42:30 -06:00
camthesaxman
00896cb3b5 rename rng.c to random.c and rom4.c to overworld.c 2017-12-05 12:27:33 -06:00
Cameron Hall
fd75493bc6
Merge pull request #129 from DizzyEggg/dumb_naming
Name some battle labels
2017-12-05 12:05:06 -06:00
camthesaxman
caa13f8777 convert some constants to C headers 2017-12-05 11:55:48 -06:00
PikalaxALT
21619096da sub_800E748 2017-12-04 21:05:41 -05:00
PikalaxALT
765ad80884 through sub_800E700 2017-12-04 20:06:03 -05:00
PikalaxALT
92fd61d6f2 through sub_800E604 2017-12-04 19:51:26 -05:00
PikalaxALT
0b58905eea sub_800E3A8 2017-12-04 19:10:37 -05:00
PikalaxALT
8b5d6fe5d9 CreateWirelessStatusIndicatorSprite 2017-12-03 22:01:06 -05:00
PikalaxALT
d5bc329de7 through sub_800DF90 2017-12-03 20:32:49 -05:00
PikalaxALT
519c8d42f8 through sub_800DD94 2017-12-03 20:04:54 -05:00
DizzyEggg
4faa442d5a decompile and label mail 2017-12-03 19:19:11 +01:00
DizzyEggg
790df7159e more battlescript labels 2017-12-03 00:47:21 +01:00
DizzyEggg
e10aea9a51 give some more labels to battle struct fields 2017-12-02 23:31:58 +01:00
DizzyEggg
2fe25da65a move pokeball data to rom 2017-12-02 21:27:00 +01:00
DizzyEggg
c2fdde3a49 pokeball file is decompiled 2017-12-02 20:38:26 +01:00
DizzyEggg
c27f7a8131 start working on pokeball 2017-12-02 19:39:07 +01:00
PikalaxALT
c282e4fa59 sub_800DBF8 2017-12-02 10:19:02 -05:00
DizzyEggg
d75e7ace1d label battle stuff 2017-12-02 14:08:55 +01:00
PikalaxALT
e2244831a7 through sub_800DB18 2017-12-01 21:51:06 -05:00
DizzyEggg
273474d57a give names to some battlescripts 2017-12-02 00:03:46 +01:00
DizzyEggg
039c9f4bd8 merge with master 2017-12-01 21:27:29 +01:00
DizzyEggg
646664ff29 battle setup file is decompiled 2017-12-01 21:25:13 +01:00
PikalaxALT
a7e95b97ca sub_800D7D8 2017-11-30 23:20:43 -05:00
PikalaxALT
cf539e253e through sub_800D780 2017-11-30 22:56:56 -05:00
PikalaxALT
6f84853b08 sub_800D434 2017-11-30 08:26:39 -05:00
PikalaxALT
a781a6d5fd through sub_800D358 2017-11-30 00:19:44 -05:00
PikalaxALT
c906978692 through sub_800D294; fix sub_800CF34 2017-11-29 23:58:48 -05:00
DizzyEggg
e8ecb01ab2 more work on battle setup 2017-11-29 19:54:15 +01:00
PikalaxALT
295e45c788 sub_800D158 2017-11-29 08:46:16 -05:00
PikalaxALT
921011592c unsigned -> unsigned int; create header 2017-11-29 08:30:18 -05:00
PikalaxALT
10068b0345 Merge branch 'master' into field_poison 2017-11-29 08:19:54 -05:00
Diegoisawesome
8e9428c482 Add languages to enum 2017-11-29 00:53:18 -06:00
PikalaxALT
3f00d341d5 nonmatching sub_800CF34 2017-11-28 19:41:32 -05:00
DizzyEggg
10470ef536 start working on battle setup 2017-11-28 23:02:09 +01:00
Diegoisawesome
54da963091
Merge pull request #122 from PikalaxALT/unk_81BAD84
Unk 81 bad84
2017-11-28 10:11:49 -06:00
PikalaxALT
88636dfc2a Merge branch 'master' into clock 2017-11-27 20:09:53 -05:00
PikalaxALT
b9d08ed83b Merge branch 'master' into unk_81BAD84 2017-11-27 20:08:34 -05:00
PikalaxALT
1ac177723d Merge branch 'master' into field_poison 2017-11-27 20:07:33 -05:00
PikalaxALT
41eb2ed59e Merge branch 'master' into coins 2017-11-27 20:06:38 -05:00
PikalaxALT
cbd2718b5e Merge branch 'master' into link 2017-11-27 20:05:51 -05:00
Diegoisawesome
18c6b8efc2
Merge pull request #120 from PikalaxALT/unk_text_util
Decompile asm/unk_text_util.s
2017-11-27 18:39:50 -06:00
DizzyEggg
7275585d56 its flavour, not flavor 2017-11-27 21:54:15 +01:00
DizzyEggg
7144b3b7af fix flavour flavor not building, fuccing americans 2017-11-27 21:24:34 +01:00
Cameron Hall
6e317c6463
Merge pull request #124 from DizzyEggg/dump_battlescripts
Dump Battle Scripts
2017-11-27 14:00:29 -06:00
DizzyEggg
237261e193 berry blender review changes 2017-11-27 20:03:41 +01:00
DizzyEggg
b0657350a4 berry blender fix merge conflicts 2017-11-26 19:21:51 +01:00
DizzyEggg
59f64c622b name more battlescripts 2017-11-26 17:26:11 +01:00
DizzyEggg
1bb5b1fd07 more battle labels 2017-11-26 17:15:28 +01:00
DizzyEggg
8c30c42c36 more labelling and changes 2017-11-26 14:17:02 +01:00
DizzyEggg
9886eeb5d8 fix, rename, label battle labels and battlescripts 2017-11-26 13:26:58 +01:00
DizzyEggg
cc572f7c00 clear battle code and battlescripts 2017-11-26 11:55:17 +01:00
DizzyEggg
938d346b6d fixes and labels 2017-11-26 01:19:57 +01:00
DizzyEggg
76f4a8b195 clean up and use names for printfromtable 2017-11-26 00:33:40 +01:00
DizzyEggg
9151a6d094 dump battlescripts, rename battlescripts 2017-11-25 18:42:31 +01:00
PikalaxALT
b210d5f86b through c3_80BF560 2017-11-24 21:06:46 -05:00
PikalaxALT
efd23cb91b Cb2_ViewWallClock 2017-11-24 20:06:29 -05:00
PikalaxALT
24009ea941 through Cb2_StartWallClock and associated data 2017-11-24 19:49:03 -05:00
PikalaxALT
f54f2c424f LoadWallClockGraphics 2017-11-24 18:00:26 -05:00
PikalaxALT
ab569cc466 clock.s 2017-11-24 14:57:00 -05:00
PikalaxALT
da04898840 Clean up includes 2017-11-23 23:10:51 -05:00
PikalaxALT
772da493f9 data/unk_81BAD84 2017-11-23 21:15:57 -05:00
PikalaxALT
e8b1059345 CHAR_SPECIAL_F7 constant
Preface for string decompilation
2017-11-23 13:29:11 -05:00
PikalaxALT
ef18d3b8ec Decompile asm/unk_text_util.s 2017-11-23 11:23:05 -05:00
PikalaxALT
eff1ad3300 Decompile field poison 2017-11-22 20:13:15 -05:00
PikalaxALT
73b0f9eb53 sub_800CEB0 2017-11-22 00:16:00 -05:00
PikalaxALT
7a38a43f81 sub_800C7B4 2017-11-21 09:14:43 -05:00
PikalaxALT
035c0b0ecd sub_800C744 2017-11-19 18:34:28 -05:00
DizzyEggg
ad3a97e178 berry blender merge conflicts 2017-11-19 22:58:13 +01:00
PikalaxALT
cc82358864 sub_800C54C 2017-11-19 16:54:49 -05:00
DizzyEggg
a3b5af17ea berry blender is done 2017-11-19 22:48:46 +01:00
PikalaxALT
03ce7b042a sub_800C36C 2017-11-19 10:20:44 -05:00
PikalaxALT
d6d315d817 Merge branch 'master' into link 2017-11-19 00:07:56 -05:00
PikalaxALT
22600e81cc Start parsing out link_rfu common syms 2017-11-19 00:02:15 -05:00
PikalaxALT
bf06edfcd3 sub_800C27C 2017-11-18 23:30:23 -05:00
PikalaxALT
155bb03f46 sub_800C210 2017-11-18 21:09:42 -05:00
PikalaxALT
bd30e5aa24 sub_800C12C 2017-11-18 20:55:57 -05:00
PikalaxALT
728532be77 Return stuff to its rightful place, and set up struct definitions for later 2017-11-18 20:33:53 -05:00
DizzyEggg
3de416662b wild encounter, fix merge conflicts 2017-11-18 21:45:52 +01:00
DizzyEggg
185402fe21 more work on berry blender 2017-11-18 21:38:57 +01:00
PikalaxALT
648f3245c1 through sub_800C054 2017-11-18 15:00:38 -05:00
Diegoisawesome
5dc8beb034
Merge pull request #112 from DizzyEggg/decompile_recorded_battle
Decompile recorded battle
2017-11-18 13:29:27 -06:00
DizzyEggg
8fd3081306 start working on berry blender 2017-11-18 16:11:34 +01:00
DizzyEggg
f8b40754c7 wild encounter done 2017-11-18 12:27:10 +01:00
DizzyEggg
6b075ae0ff wild encounter file is decompiled 2017-11-17 22:28:55 +01:00
DizzyEggg
d0245cf8d2 recorded battle merge conflicts fix 2017-11-17 19:34:55 +01:00
DizzyEggg
1b7246395d merge conflicts, review changes, daycare 2017-11-17 19:31:03 +01:00
DizzyEggg
a2a17bba92 more work on wild encounter 2017-11-17 17:50:07 +01:00
PikalaxALT
06c1908d00 through sub_800BFCC 2017-11-17 08:44:54 -05:00
PikalaxALT
a054b244ab sub_800BF4C 2017-11-17 08:33:25 -05:00
PikalaxALT
8377b00662 rfu_REQ_sendData_wrapper 2017-11-17 00:05:28 -05:00
PikalaxALT
3c20c54b83 sub_800BEC0 2017-11-16 23:37:09 -05:00
PikalaxALT
236cbf96c8 Merge origin/master into pikalaxalt/link 2017-11-16 19:00:07 -05:00
DizzyEggg
b37d8c0821 start decompiling wild encounter 2017-11-16 20:38:10 +01:00
Diegoisawesome
c0d180a870
Merge pull request #100 from PikalaxALT/heal_location
Heal location and Field Region Map
2017-11-15 23:24:45 -06:00
PikalaxALT
b46a15b03e Enclose flag macro definitions in parentheses 2017-11-16 00:13:06 -05:00
Diegoisawesome
6a73c89e54
Merge pull request #113 from DizzyEggg/decompile_pss
Start Pokemon Storage System
2017-11-15 20:55:38 -06:00
DizzyEggg
ba00a1c688 daycare file fully done 2017-11-15 22:12:18 +01:00
DizzyEggg
1e79d53d2f merge daycare with master 2017-11-15 17:18:05 +01:00
PikalaxALT
89b695278d Merge branch 'master' into heal_location 2017-11-15 09:01:56 -05:00
PikalaxALT
50501396b2 DoHandshake 2017-11-15 08:44:11 -05:00
Diegoisawesome
ce0e5cbfe4 Merge branch 'master' of https://github.com/pret/pokeemerald into dump_maps 2017-11-15 00:47:34 -06:00
Diegoisawesome
3fb2a488f9
Merge pull request #111 from DizzyEggg/decompile_battle5
Decompile battle5
2017-11-14 16:52:40 -06:00
Diegoisawesome
118bf4f4b1
Merge pull request #108 from DizzyEggg/decompile_starter_choose
Decompile starter choose
2017-11-14 16:41:53 -06:00
DizzyEggg
0310be3007 more of daycare done 2017-11-14 23:25:07 +01:00
DizzyEggg
95949c772e more of daycare done 2017-11-14 21:43:23 +01:00
DizzyEggg
a972de7bca start working on daycare 2017-11-14 20:23:25 +01:00
PikalaxALT
3bb450645b LinkVSync 2017-11-14 08:44:32 -05:00
PikalaxALT
6f8da5dcb6 through DequeueRecvCmd 2017-11-14 08:31:37 -05:00
DizzyEggg
516a5b2219 fix merge conflicts, review changes 2017-11-13 20:00:20 +01:00
DizzyEggg
3e1f3d0e1e recorded battle file is decompiled 2017-11-13 19:01:23 +01:00
DizzyEggg
209b6eb467 more of recorded battle done 2017-11-13 18:07:23 +01:00
PikalaxALT
c81d50cb2f LinkMain1 2017-11-13 01:46:22 -05:00
PikalaxALT
910c39d4ef DisableSerial 2017-11-13 01:20:38 -05:00
PikalaxALT
fcb8c8cf32 through sub_800B524 2017-11-13 01:12:34 -05:00
PikalaxALT
7e4cb5f332 HandleLinkConnection 2017-11-13 01:01:27 -05:00
PikalaxALT
f21c5ebea5 through sub_800B1A0 2017-11-12 23:58:05 -05:00
PikalaxALT
85cf626316 sub_800B080 2017-11-12 23:33:03 -05:00
PikalaxALT
344a71d347 through CB2_LinkError 2017-11-12 23:16:51 -05:00
PikalaxALT
e6b38426b7 sub_800ADF8 2017-11-12 22:44:20 -05:00
PikalaxALT
ccf6599b40 sub_800AC34 2017-11-12 22:09:11 -05:00
PikalaxALT
79609d52c8 MAPSEC_DYNAMIC 2017-11-12 21:39:44 -05:00
PikalaxALT
b346bac98b through GetLinkPlayerCount_2 2017-11-12 21:31:08 -05:00
PikalaxALT
1ca032c6ff Address review items, 1 2017-11-12 21:13:18 -05:00
PikalaxALT
2e95c5575f sub_800AA60 2017-11-12 20:57:21 -05:00
DizzyEggg
c4674735d2 start working on recorded battle 2017-11-12 22:59:36 +01:00
DizzyEggg
716590c165 one more battle label change 2017-11-12 17:11:06 +01:00
DizzyEggg
9febe24d9f label some battle struct fields 2017-11-12 17:06:31 +01:00
DizzyEggg
cd879d6f8a Merge branch 'battle4_fixes' into decompile_battle5 2017-11-12 16:46:44 +01:00
DizzyEggg
47a8c6c432 battle5 decompiled and renamed 2017-11-12 16:39:21 +01:00
DizzyEggg
b7fa10d01e Merge branch 'master' into battle4_fixes 2017-11-12 00:17:38 +01:00
DizzyEggg
7472d639cf match one function in battlescript cmds 2017-11-11 20:01:04 +01:00
DizzyEggg
fa3691ca40 start pss 2017-11-11 14:45:08 +01:00
PikalaxALT
3321548956 Link common syms 2017-11-11 00:25:05 -05:00
PikalaxALT
e874cbd9d9 Rename functions in link.c 2017-11-11 00:05:44 -05:00
PikalaxALT
efd0651efe through sub_800A678 2017-11-10 22:34:23 -05:00
PikalaxALT
27c0dc0fd5 through sub_800A588 2017-11-10 22:08:17 -05:00
PikalaxALT
50c1622507 Split link.s and link_rfu.s 2017-11-10 20:47:24 -05:00
PikalaxALT
3503444d3b Some EWRAM offsets abstracted away 2017-11-10 20:27:02 -05:00
Diegoisawesome
2e40384fa2 Extract baseroms from event_scripts 2017-11-10 18:12:18 -06:00
PikalaxALT
27f9dd0a97 sub_800A0C8 2017-11-10 19:06:06 -05:00
PikalaxALT
d76901ff64 through sub_800A0AC 2017-11-10 08:37:50 -05:00
PikalaxALT
1523d5c01e sub_8009D90 2017-11-09 21:48:27 -05:00
Diegoisawesome
09e431077a Merge remote-tracking branch 'pret/master' into dump_maps 2017-11-09 20:30:56 -06:00
PikalaxALT
d94f74d261 sub_8009AA0 2017-11-09 21:14:43 -05:00
PikalaxALT
9a9f601244 sub_8009900 2017-11-08 19:58:59 -05:00
PikalaxALT
e68dbd6276 through sub_8009818 2017-11-08 19:29:37 -05:00
Diegoisawesome
e6ef86e4b0 Update variable and flag names 2017-11-08 15:20:10 -06:00
DizzyEggg
61408456e8 starter choose file is decompiled 2017-11-08 18:05:47 +01:00
PikalaxALT
d5547a3744 main.c common syms 2017-11-07 23:53:30 -05:00
PikalaxALT
9029fb27c1 through sub_8009734 2017-11-07 22:52:10 -05:00
PikalaxALT
f90106ae6c sub_8009638 2017-11-07 22:26:00 -05:00
PikalaxALT
0709dc7e4c sub_8009570 2017-11-07 22:14:40 -05:00
PikalaxALT
59eb766f47 sub_80094EC 2017-11-07 21:45:44 -05:00
PikalaxALT
fce326fbd4 through sub_8009414 2017-11-07 20:25:24 -05:00
DizzyEggg
a729e9838e move data to hall of fame c file 2017-11-06 18:41:32 +01:00
DizzyEggg
bd56bb073f start working on hall of fame 2017-11-05 12:05:07 +01:00
DizzyEggg
32c7d4f252 make it compile 2017-11-04 16:25:19 +01:00
DizzyEggg
352102a07a Merge branch 'master' into decompile_battle_7 2017-11-04 16:12:45 +01:00
DizzyEggg
6c8155074b battle 7 is decompiled 2017-11-04 16:11:13 +01:00
DizzyEggg
5243285ab2 start working on battle 7 2017-11-02 18:19:49 +01:00
PikalaxALT
ab3b8cd51a Merge branch 'master' into heal_location 2017-11-02 07:59:29 -04:00
Diegoisawesome
af197ccd3b
Merge pull request #98 from PikalaxALT/bard_music
Decompile bard music
2017-11-01 23:18:10 -05:00
PikalaxALT
75262c1920 Merge branch 'master' into bard_music 2017-11-02 00:09:14 -04:00
PikalaxALT
17fd3bccf7 Merge branch 'master' into secret_base 2017-11-01 23:39:54 -04:00
PikalaxALT
9cfdc8b7e8 Merge branch 'master' into heal_location 2017-11-01 23:37:41 -04:00
PikalaxALT
c99a08d448 More data decomp in region_map 2017-11-01 23:00:22 -04:00
PikalaxALT
4ff03f85a9 Decompile data related to Emerald-specific areas 2017-11-01 22:07:30 -04:00
PikalaxALT
50efd7b68d Decompile region map entry structs 2017-11-01 21:51:59 -04:00
PikalaxALT
e3005e88c7 Decompile remaining functions in region_map 2017-11-01 00:34:57 -04:00
PikalaxALT
8c73c1450f sub_8124904 2017-10-31 23:11:48 -04:00
PikalaxALT
f61822535b MCB2_FlyMap 2017-10-31 22:34:12 -04:00
PikalaxALT
f6d1e5a965 through sub_8124668 2017-10-31 22:05:23 -04:00
PikalaxALT
c3c08bf037 through sub_8124610 2017-10-31 21:55:57 -04:00
PikalaxALT
ef535b98b5 through GetMapName 2017-10-31 21:51:11 -04:00
PikalaxALT
968ff8c3c8 through UnhideRegionMapPlayerIcon 2017-10-31 20:58:47 -04:00
PikalaxALT
7d7c8e8ba6 sub_8124288 2017-10-31 19:40:35 -04:00
DizzyEggg
6cb1c4fd6e fix merge conflicts, evo scene 2017-10-31 19:36:25 +01:00
DizzyEggg
192817a7dc clarify controllers terminator 2017-10-31 18:49:29 +01:00
DizzyEggg
712ae56167 review change battle controllers 2017-10-31 18:04:08 +01:00
PikalaxALT
6cd0086bf9 through CreateRegionMapCursor 2017-10-31 08:38:17 -04:00
PikalaxALT
853ced6687 sub_8123FB0 2017-10-30 22:35:28 -04:00
PikalaxALT
4db83e0097 through sub_8123F9C 2017-10-30 22:20:09 -04:00
PikalaxALT
ccbeaccc9b sub_8123F30 2017-10-30 21:47:37 -04:00
PikalaxALT
7b6792230a sub_8123EB4 2017-10-30 21:34:19 -04:00
PikalaxALT
f0c71c7e3f get_flagnr_blue_points 2017-10-30 21:20:31 -04:00
PikalaxALT
cd9022f929 sub_8123C00 2017-10-30 21:14:52 -04:00
PikalaxALT
525b17a110 sub_81238AC 2017-10-30 21:08:28 -04:00
PikalaxALT
c324722987 through GetRegionMapSectionIdAt 2017-10-30 08:58:43 -04:00
PikalaxALT
f6a55433a2 through sub_81237B4 2017-10-30 08:46:36 -04:00
PikalaxALT
474df27136 through CalcZoomScrollParams 2017-10-30 08:39:39 -04:00
PikalaxALT
35a6d2046a sub_8123418 2017-10-29 23:08:06 -04:00
PikalaxALT
1597284694 sub_8123334 2017-10-29 22:05:15 -04:00
PikalaxALT
16c5a58f35 sub_8123254 2017-10-29 21:38:45 -04:00
PikalaxALT
8d35bf1c9e _swiopen 2017-10-29 21:31:38 -04:00
PikalaxALT
f07307dc73 sub_81230C4 2017-10-29 21:14:53 -04:00
PikalaxALT
a9afb8b130 through sub_81230AC 2017-10-29 20:58:53 -04:00
PikalaxALT
6f68e5af95 sub_8122DB0 2017-10-29 20:49:49 -04:00
PikalaxALT
76bb397e83 region_map.c through sub_8122CF8 2017-10-29 19:33:53 -04:00
DizzyEggg
51df918c04 evo scene file is done 2017-10-29 16:15:23 +01:00
PikalaxALT
6e10e8caad sub_8170428 2017-10-29 11:05:42 -04:00
PikalaxALT
929638f572 sub_8170290 2017-10-29 10:58:33 -04:00
PikalaxALT
0a060ae254 Start decompiling field_region_map 2017-10-29 10:38:25 -04:00
PikalaxALT
4049ed7e2c Rename REGION_MAP constants to adopt MAPSEC names from Ruby 2017-10-28 22:03:33 -04:00
PikalaxALT
bbda7125f6 Rename functions 2017-10-28 21:43:06 -04:00
PikalaxALT
00f4bba6d8 Decompile heal location functions 2017-10-28 20:55:01 -04:00
PikalaxALT
6fcde15bb6 Decompile heal location data 2017-10-28 20:43:33 -04:00
PikalaxALT
6e5dcf19f7 Slight reorganization of data includes 2017-10-28 15:43:50 -04:00
PikalaxALT
175e2e6b37 Slight touchup 2017-10-28 10:44:19 -04:00
PikalaxALT
607b7ac834 Decompile remaining bard music data 2017-10-28 10:42:12 -04:00
PikalaxALT
4ae9b1d9d0 Decompile Bard Sound structs 2017-10-28 10:27:28 -04:00
PikalaxALT
5da296e94e GetWordPhonemes; assign names and improve guess of types 2017-10-28 09:46:35 -04:00
PikalaxALT
002b394855 through sub_817C7F4 2017-10-28 09:05:40 -04:00
PikalaxALT
bb10a4dd57 Merge branch 'master' into secret_base 2017-10-27 23:25:15 -04:00
PikalaxALT
a5951592be Decompile data 2017-10-27 23:21:09 -04:00
PikalaxALT
9c3a79f3de through sub_80EB218 2017-10-27 22:12:11 -04:00
DizzyEggg
e8903fb4dd start workin on evo scene 2017-10-27 18:52:21 +02:00
DizzyEggg
f4e134569f evo graphics file is done 2017-10-27 15:49:14 +02:00
PikalaxALT
fbfcce3f35 sub_80EA3E4 2017-10-26 23:35:41 -04:00
PikalaxALT
fcaccb8501 through sub_80EA30C 2017-10-26 22:49:51 -04:00
PikalaxALT
1ed15b3952 through sub_80EA20C 2017-10-26 22:37:16 -04:00
PikalaxALT
81100d155a sub_80EA08C 2017-10-26 22:21:20 -04:00
PikalaxALT
68a253990d through sub_80E9FB0 2017-10-26 22:10:38 -04:00
PikalaxALT
48f38a888b through sub_80E9E44 2017-10-26 21:53:00 -04:00
PikalaxALT
135da0136f through game_continue 2017-10-26 21:39:34 -04:00
DizzyEggg
5e285c3bca Merge branch 'master' into decompile_battle_controllers 2017-10-26 23:13:09 +02:00
DizzyEggg
1506184465 battle controller opponent is done 2017-10-26 23:12:48 +02:00
camthesaxman
5ea2f463d7 also fix ambiguous MON_DATA_SPD_EV and MON_DATA_SPD2 constants 2017-10-26 13:47:14 -05:00
PikalaxALT
84a9441267 MWF: sub_80E9914 2017-10-25 19:54:24 -04:00
DizzyEggg
fa36e23683 start opponent controller, thx bird 2017-10-25 21:57:28 +02:00
PikalaxALT
ea507b8d43 sub_80E9780 2017-10-25 08:41:25 -04:00
PikalaxALT
b4f9acd039 sub_80E9744 2017-10-25 08:34:41 -04:00
PikalaxALT
835a04ada8 through sub_80E9668 2017-10-25 08:22:36 -04:00
PikalaxALT
9e3bb08e04 sub_80E933C 2017-10-24 22:34:52 -04:00
PikalaxALT
09605333c8 sub_80E9238 2017-10-24 22:17:26 -04:00
PikalaxALT
1f5378c6d1 sub_80E9108 2017-10-24 21:41:22 -04:00
PikalaxALT
0b0926f127 through sub_80E909C 2017-10-24 21:27:46 -04:00
PikalaxALT
6558af388b sub_80E8F9C 2017-10-24 21:10:58 -04:00
PikalaxALT
326e37a0d3 through sub_80E8D4C 2017-10-24 20:19:33 -04:00
DizzyEggg
3ece244246 wally controller is done 2017-10-24 21:45:41 +02:00
DizzyEggg
94b3a8dd69 spd to speed 2017-10-24 15:35:36 +02:00
DizzyEggg
0659b19e99 Merge branch 'master' into decompile_battle_controllers 2017-10-24 15:27:55 +02:00
DizzyEggg
bffcd426cf link opponent controller is done 2017-10-24 15:25:20 +02:00
camthesaxman
1bb931245b use SPEED instead of SPD in mon data constants 2017-10-23 20:43:26 -05:00
PikalaxALT
7bf352944f sub_80E8BF8 2017-10-23 19:29:16 -04:00
PikalaxALT
eb2c2f0a3f through sub_80E8BC8 2017-10-23 19:21:08 -04:00
DizzyEggg
1f3a867a0b battle link partner controller is done 2017-10-23 16:38:11 +02:00
DizzyEggg
356eb34e32 undo revert 2017-10-23 14:40:22 +02:00
DizzyEggg
5b70307962 revert merge coz its bugged 2017-10-23 13:36:55 +02:00
DizzyEggg
7d1373e3fa Merge branch 'master' into decompile_battle_controllers 2017-10-23 13:33:32 +02:00
DizzyEggg
918625196e recorded player controller is done 2017-10-23 13:32:11 +02:00
Diegoisawesome
88230e8d16 Merge pull request #91 from golemgalvanize/summary
partially decompile pokemon_summary_screen
2017-10-22 20:16:16 -05:00
PikalaxALT
1ef4dbe691 Fix global declarations of libc fns 2017-10-22 20:43:03 -04:00
PikalaxALT
0dd3db7061 Rename some functions and all RAM objects in decoration.c 2017-10-22 20:13:31 -04:00
PikalaxALT
c042e5148b Decoration + decoration_inventory (#89)
* SetDecorationInventoriesPointers

* ClearDecorationInventories

* CheckHasDecoration

* DecorationAdd

* DecorationCheckSpace

* DecorationRemove

* sub_8161A38

* CountDecorations; Funcion renaming

* Disassemble decoration data structs, tilemaps, and descriptions

* sub_8126968

* sub_81269D4

* through sub_8126A88

* through sub_8126B2C

* sub_8126B80

* sub_8126C08

* sub_8126C48

* sub_8126CA4

* sub_8126D10

* sub_8126E44

* sub_8126E8C

* sub_8126F68

* sub_8127058

* sub_8127088

* sub_81270E8

* through sub_8127208

* through sub_8127268

* sub_8127284

* through sub_81272F8

* sub_8127330

* through sub_8127480

* sub_81274A0

* sub_8127500; makefile now tells scaninc to scan headers

* Actual real fix to mapfile being in build/emerald instead of wd

* through sub_812759C

* through sub_812764C

* through sub_8127744

* through sub_81277BC

* sub_81277E8

* sub_8127814

* through sub_81279C4

* through sub_8127ACC

* sub_8127B04

* sub_8127B54

* sub_8127B90

* sub_8127D38

* sub_8127E18

* sub_8127F68

* sub_8128060

* ConfigureCameraObjectForPlacingDecoration

* SetUpPlacingDecorationPlayerAvatar

* sub_812826C

* through sub_8128414

* through sub_81284F4

* sub_812853C

* sub_8128950

* through sub_8128AAC

* through sub_8128BBC

* c1_overworld_prev_quest

* sub_8128C64

* sub_8128CD4

* sub_8128D10

* sub_8128DB4

* through sub_8128E18

* through sub_8129068

* sub_8129088

* through sub_81291E8

* sub_812925C

* sub_81292D0

* sub_81292E8

* gpu_pal_decompress_alloc_tag_and_upload

* AddDecorationIconObjectFromIconTable

* GetDecorationIconPicOrPalette

* AddDecorationIconObjectFromFieldObject

* AddDecorationIconObject

* through sub_8129708

* sub_81297F8

* sub_81298EC

* SetUpPuttingAwayDecorationPlayerAvatar

* sub_8129ABC

* sub_8129B34

* sub_8129BCC

* through sub_8129C74

* through sub_8129D8C

* sub_8129E0C

* sub_8129E74

* sub_8129F20

* sub_8129FC8

* sub_812A040

* nonmatching sub_812A0E8

* through sub_812A22C

* sub_812A25C

* sub_812A2C4

* through sub_812A39C

* Remaining fns in decoration.s

* Decompile decoration headers

* Decompile all remaining decoration data that had already been disassembled

* Disassemble two data objects

* Suggest structure of list menu template

* decompile through decoration list menu template

* Disassemble decoration icon graphics table

* Rip icon gfx

* Decompile deco icon table

* Decompile more data related to drawing decorations

* Decompile gUnknown_085A7250 structs

* Decompile two sprite templates

* Decompile remaining data in decoration.s

* Decompile decoration ewram

* deco -> decor
2017-10-22 17:55:07 -05:00
DizzyEggg
26c79313d8 safari controller is done 2017-10-22 20:38:23 +02:00
DizzyEggg
f77dcef59d Merge branch 'master' into decompile_battle_controllers 2017-10-22 18:47:06 +02:00
DizzyEggg
df4e32a307 player battle controller is done 2017-10-22 18:43:15 +02:00
ProjectRevoTPP
29fb6d8d1e whoops 2017-10-21 23:23:03 -04:00
ProjectRevoTPP
a43d6d4a53 review changes 2017-10-21 23:20:50 -04:00
Diegoisawesome
b8f23aa20d Merge branch 'master' of github.com:pret/pokeemerald 2017-10-21 20:20:52 -05:00
Diegoisawesome
667914075b Merge branch 'librfu-decomp' 2017-10-21 20:11:31 -05:00
DizzyEggg
813b1bfd4a label and do more work at player controller 2017-10-22 01:04:02 +02:00
shinyquagsire23
482b42a295 Split librfu into separate C files in its own directory, rfu_initializeAPI matching except for register differences 2017-10-21 13:46:41 -06:00
DizzyEggg
3d1c16523e start working on battle controllers, especially player 2017-10-21 17:32:35 +02:00
Diegoisawesome
afd42c8e14 Merge pull request #92 from DizzyEggg/decompile_walda_phrase
decompile walda phrase
2017-10-20 14:01:40 -05:00
DizzyEggg
31e0b468c7 move from raq scene to walda phrase 2017-10-20 20:46:26 +02:00
DizzyEggg
8c85a27346 walda phrase is done 2017-10-20 20:39:00 +02:00
Diegoisawesome
d2cf86bff9 Merge pull request #82 from PikalaxALT/mail
Decompile functions for reading mail
2017-10-20 13:22:56 -05:00
DizzyEggg
ccd7e8b3b1 battle interface review changes 2017-10-20 19:24:46 +02:00
DizzyEggg
cda5c5f925 start working on walda phrase 2017-10-20 18:52:01 +02:00
DizzyEggg
b65da491a9 merge with master, fix conflicts 2017-10-20 10:49:21 +02:00
PikalaxALT
7bc152e2ed Merge branch 'master' into mail 2017-10-19 18:45:38 -04:00
DizzyEggg
36035518dc review battle anim changes 2017-10-20 00:01:17 +02:00
DizzyEggg
dee6133076 fix merge conflicts 2017-10-19 19:46:37 +02:00
Diegoisawesome
8ceecd9fba Merge pull request #81 from DizzyEggg/decompile_rom3
Decompile rom_3
2017-10-19 12:40:56 -05:00
DizzyEggg
9ccc472b97 label some functions 2017-10-19 18:25:48 +02:00
DizzyEggg
11bead31e9 battle interface is done 2017-10-19 15:28:41 +02:00
U-User-PC\User
d4532c70cb fix merge conflicts 2017-10-18 19:28:36 -04:00
DizzyEggg
ee6bdc9068 more battle interface 2017-10-18 23:52:21 +02:00
DizzyEggg
7c24b03742 Merge branch 'master' into decompile_battle_interface 2017-10-18 23:05:55 +02:00
DizzyEggg
6e56211f40 more of battle interface done 2017-10-18 21:42:00 +02:00
DizzyEggg
0ffc5652fd hp printing in healthboxes done I hope 2017-10-18 00:00:46 +02:00
DizzyEggg
4b45282dd3 start working on battle interface 2017-10-16 18:12:27 +02:00
DizzyEggg
003a8a501b fix merge conflict 2017-10-15 23:27:27 +02:00
DizzyEggg
dd0f19476c battle anim file is decompiled 2017-10-15 23:21:59 +02:00
DizzyEggg
ebb2999c03 more of battle anim done 2017-10-14 23:37:44 +02:00
DizzyEggg
752ce9b90d start working on battle anim 2017-10-14 16:55:25 +02:00
PikalaxALT
a252140f3b Merge branch 'master' into mail 2017-10-14 09:52:56 -04:00
DizzyEggg
455202eca0 Merge branch 'master' into decompile_rom3 2017-10-14 11:36:28 +02:00
DizzyEggg
14e41d6c50 rom3 is decompiled 2017-10-14 11:34:26 +02:00
Diegoisawesome
924c0c6b5a Merge branch 'master' of https://github.com/pret/pokeemerald into decomp_scrcmd 2017-10-13 20:29:11 -05:00
Diegoisawesome
2852f4f1b8 Continue attempt to decomp braillemessage 2017-10-13 19:48:09 -05:00
DizzyEggg
72ed861715 fix rom3 conflicts 2017-10-13 19:58:45 +02:00
DizzyEggg
20d158cf4a start decompiling emitters 2017-10-13 19:46:27 +02:00
Diegoisawesome
3040c1e1aa Merge pull request #75 from DizzyEggg/decompile_reshow_battle_screen
Decompile reshow battle screen
2017-10-13 12:42:42 -05:00
PikalaxALT
32168adbc8 Remaining functions 2017-10-13 12:03:15 -04:00
PikalaxALT
cc84713249 sub_8121B1C 2017-10-13 11:47:17 -04:00
DizzyEggg
c78679ae66 rom3 decomp start 2017-10-13 17:22:50 +02:00
PikalaxALT
e24f3808f4 Merge branch 'master' into mail 2017-10-13 11:16:34 -04:00
PikalaxALT
52db3ad5aa Decompile TV (#80)
* ClearTVShowData

* special_0x44

* DoTVShow (nonmatching because align)

* DoTVShowBravoTrainerPokemonProfile

* Update field names

* DoTVShowBravoTrainerBattleTower

* Renaming of struct fields

* sub_80EBFF4 and UpdateTVScreensOnMap

* SetTVMetatilesOnMap

* Power buttons for the TV screens on the map

* special_0x45

* sub_80EC18C

* special_0x4a

* ResetGabbyAndTy

* GabbyAndTyBeforeInterview

* GabbyAndTyAfterInterview

* Through IsTVShowInSearchOfTrainersAiring

* GabbyAndTyGetLastQuote

* GabbyAndTyGetLastBattleTrivia

* GabbyAndTySetScriptVarsToFieldObjectLocalIds

* InterviewAfter; use TVShow as a precursor for making the individual show structs anonymous

* Make TV structs anonymous within the union

* Move the TV union to its own subheader

* Move TV show enums to the global.tv.h subheader

* Funcion renaming

* Apply static attributes where able

* PutPokemonTodayCaughtOnAir

* sub_80EC8A4

* PutPokemonTodayFailedOnTheAir

* sub_80EC9E8, sub_80ECA10

* sub_80ECA38

* sub_80ECB00

* Put3CheersForPokeblocksOnTheAir

* PutFanClubSpecialOnTheAir

* ContestLiveUpdates_BeforeInterview

* Other before-interview Contest Live Updates functions

* ContestLiveUpdates_BeforeInterview_5

* InterviewAfter_BravoTrainerPokemonProfile

* BravoTrainerPokemonProfile_BeforeInterview1

* BravoTrainerPokemonProfile_BeforeInterview2

* Disassemble TV data

* Decompile TV data

* InterviewAfter_BravoTrainerBattleTowerProfile

* SaveRecordedItemPurchasesForTVShow

* PutNameRaterShowOnTheAir

* StartMassOutbreak

* PutLilycoveContestLadyShowOnTheAir

* InterviewAfter_FanClubLetter

* Rip TV strings

* InterviewAfter_RecentHappenings

* InterviewAfter_PkmnFanClubOpinions

* sub_80ED718

* EndMassOutbreak

* sub_80ED888

* sub_80ED8B4

* UpdateMassOutbreakTimeLeft

* sub_80ED950

* PutFishingAdviceShowOnTheAir

* through sub_80EDA80

* ewram and common syms are now fetched from the object files

* BSS symbols are taken from the tv.o file

* through sub_80EDC60

* sub_80EDCE8

* sub_80EDD78

* through sub_80EDE84

* nomatching sub_80EDE98

* sub_80EDFB4

* sub_80EE104

* sub_80EE104

* sub_80EE184

* sub_80EE2CC

* sub_80EE35C

* sub_80EE44C

* sub_80EE4DC

* sub_80EE5A4

* sub_80EE69C

* sub_80EE72C

* sub_80EE7C0

* sub_80EE818

* sub_80EE8C8

* sub_80EEA70

* sub_80EEB98

* sub_80EEBF4

* through sub_80EED60

* Functions relating to Pokemon News

* sub_80EEF6C

* GetPriceReduction

* IsPriceDiscounted

* sub_80EF120

* through sub_80EF370

* sub_80EF40C

* HasMixableShowAlreadyBeenSpawnedWithPlayerID

* TV_SortPurchasesByQuantity

* FindActiveBroadcastByShowType_SetScriptResult

* InterviewBefore

* through sub_80EF88C

* through sub_80EF93C

* through sub_80EFA24

* through TV_BernoulliTrial

* sub_80EFB58

* sub_80EFBA4

* sub_80EFBDC

* through sub_80EFD98

* ChangePokemonNickname

* ChangeBoxPokemonNickname

* sub_80EFF9C

* through player_id_to_dword

* CheckForBigMovieOrEmergencyNewsOnTV

* GetMomOrDadStringForTVMessage

* sub_80F01E8

* sub_80F0358

* sub_80F049C

* TV record mixing functions

* sub_80F06D0

* sub_80F0708 nonmatching

* through sub_80F0B24

* sub_80F0B64

* through sub_80F0C04

* sub_80F0C7C

* sub_80F0D60

* sub_80F0E58

* sub_80F0E84

* through sub_80F0F24

* sub_80F0F64

* sub_80F1208

* sub_80F1254

* sub_80F1290

* sub_80F12A4

* sub_80F14F8

* DoTVShowTodaysSmartShopper

* DoTVShowTheNameRaterShow

* DoTVShowPokemonTodaySuccessfulCapture

* DoTVShowPokemonTodayFailedCapture

* DoTVShowPokemonFanClubLetter

* DoTVShowRecentHappenings

* DoTVShowPokemonFanClubOpinions

* DoTVShowPokemonNewsMassOutbreak

* DoTVShowPokemonContestLiveUpdates

* DoTVShowPokemonBattleUpdate

* DoTVShow3CheersForPokeblocks

* DoTVShowInSearchOfTrainers

* Label GabbyAndTyData fields; remove ddump comments from data/text/tv.inc

* DoTVShowPokemonAngler

* DoTVShowTheWorldOfMasters; update RAM symbols and field names

* Decorate static functions

* DoTVShowTodaysRivalTrainer; region map enums

* TVDewfordTrendWatcherNetworkTextGroup

* DoTVShowHoennTreasureInvestigators

* DoTVShowFindThatGamer

* DoTVShowBreakingNewsTV

* DoTVShowSecretBaseVisit

* DoTVShowPokemonLotterWinnerFlashReport

* DoTVShowThePokemonBattleSeminar

* DoTVShowTrainerFanClubSpecial, DoTVShowTrainerFanClub

* DoTVShowSpotTheCuties

* DoTVShowPokemonNewsBattleFrontier

* DoTVShowWhatsNo1InHoennToday

* Helpers for DoTVShowSecretBaseSecrets

* DoTVShowSecretBaseSecrets

* DoTVShowSafariFanClub

* Finish decompilation of tv.s

* Some renaming

* Rename text group pointers

* revoke statis; pokenews enums

* Labels are number one

* Label all TV struct fields

* Make data/text/tv.inc more readable

* Split data/text/tv.inc

* Rename pokenews text pointers

* Frontier Symbol constants; indicate static rodata objects with 's' prefix

* Fix leading spaces/tabs

F*** CLion sometimes

* Fix inconsequential warning
2017-10-13 10:09:36 -05:00
PikalaxALT
74c59af856 sub_8121A1C 2017-10-13 08:47:26 -04:00
DizzyEggg
0f44747788 review changes 2017-10-13 12:25:32 +02:00
DizzyEggg
b229a1c295 Merge branch 'master' into decompile_reshow_battle_screen 2017-10-13 12:18:32 +02:00
PikalaxALT
3c4478b370 Decompile data 2017-10-13 00:11:55 -04:00
Diegoisawesome
24bd8c73e1 Name some new script commands 2017-10-12 22:34:58 -05:00
PikalaxALT
aa3af7a3a7 sub_81219F0 2017-10-12 23:05:36 -04:00
PikalaxALT
52af334b89 sub_81215EC 2017-10-12 22:59:01 -04:00
Diegoisawesome
df04aca8d2 Merge branch 'decompile_battle_9' of https://github.com/DizzyEggg/pokeemerald into DizzyEggg-decompile_battle_9 2017-10-12 19:46:39 -05:00
Diegoisawesome
3131014b1b Merge branch 'qwerty2' of https://github.com/DizzyEggg/pokeemerald into DizzyEggg-qwerty2 2017-10-12 17:55:10 -05:00
PikalaxALT
8d31a46c6f sub_8121478 2017-10-12 15:59:43 -04:00
Diegoisawesome
f300f853c8 Add const qualifiers to scrcmd 2017-10-12 14:39:18 -05:00
Diegoisawesome
f1b6358047 Port/decomp scrcmd 2017-10-12 02:06:19 -05:00
DizzyEggg
a3b62f43ee battle 9 is decompiled 2017-10-11 12:49:42 +02:00
DizzyEggg
6dfe8ced2c ai switching basically done 2017-10-10 21:45:07 +02:00
DizzyEggg
57e5624e06 battle9 is being worked on 2017-10-10 18:01:45 +02:00
DizzyEggg
e382a73e9d merge branch master 2017-10-10 11:48:16 +02:00
Diegoisawesome
8914645231 Merge pull request #72 from DizzyEggg/fix_static_names
Add Save Location header and fix static names
2017-10-09 18:17:04 -05:00
U-User-PC\User
42f633cbf4 (un)fix battle.h 2017-10-09 16:00:18 -04:00
U-User-PC\User
f438734192 fixing merge conflicts 2017-10-09 13:32:57 -04:00
DizzyEggg
ab03b03c4b decompile reshow battle screen 2017-10-09 18:18:40 +02:00
DizzyEggg
9d4acb9635 some work on international string util 2017-10-09 15:40:08 +02:00
DizzyEggg
fdfbbb4951 add diploma header and static names fix 2017-10-09 13:55:31 +02:00
DizzyEggg
7b690dbe3a add save location header, change static names 2017-10-09 13:48:41 +02:00
DizzyEggg
95e4ae06ce battle message decompiled and dumped 2017-10-08 14:54:51 +02:00
DizzyEggg
7552caaadc placeholders for battle strings are done 2017-10-07 19:59:41 +02:00
DizzyEggg
db63fc1a09 battle message huge take off 2017-10-07 15:15:47 +02:00
ProjectRevoTPP
e38fd8347d use rodata for save_failed_screen 2017-10-06 21:59:47 -04:00