Commit Graph

432 Commits

Author SHA1 Message Date
jiangzhengwenjz
5110cafe24 fix header 2019-06-07 03:40:49 +08:00
jiangzhengwenjz
67542ec22d fix for merge 2019-06-04 01:54:51 +08:00
jiangzhengwenjz
b6a166c459 more symbol name fixes 2019-06-04 00:00:21 +08:00
jiangzhengwenjz
49a1de36d3 sub_815B0CC and rollback of failed attempt to make it compilable 2019-06-03 03:22:03 +08:00
jiangzhengwenjz
0a13397b85 some more functions 2019-06-02 15:25:04 +08:00
PikalaxALT
5bcafd74ec fldeff_softboiled 2019-06-01 14:18:27 -04:00
jiangzhengwenjz
55406f92fd teachy_tv and minor update to match DizzyEgg's struct def 2019-06-01 16:07:06 +08:00
garak
b249154009 synchronize text printer function names with pokeemerald 2019-05-30 17:44:48 -04:00
garak
e73ce5317d Parametrized to Parameterized 2019-05-30 17:05:30 -04:00
PikalaxALT
36fc72f25e slot_machine nonmatching sub_8141198 2019-05-24 18:57:01 -04:00
PikalaxALT
8502697ecd Merge branch 'master' into slot_machine 2019-05-22 21:40:32 -04:00
garak
28885f5a47 dump event script text strings 2019-05-21 14:35:12 -04:00
PikalaxALT
c33448ba09 slot_machine: through sub_813FBC0 2019-05-20 14:17:26 -04:00
PikalaxALT
348bd19fdd text_window 2019-05-20 11:09:41 -04:00
PikalaxALT
68ac134c0c Finish wireless_communication_status_screen 2019-05-20 10:15:31 -04:00
PikalaxALT
b5d753383f braille_text 2019-05-19 14:36:55 -04:00
PikalaxALT
12de501f36 map_obj_lock 2019-05-19 13:02:57 -04:00
PikalaxALT
4661be7836
Merge pull request #57 from SatoMew/master
Add weather labels and missing constants
2019-05-19 12:10:26 -04:00
PikalaxALT
6c2d5ea50d text_window_graphics 2019-05-19 11:56:19 -04:00
PikalaxALT
d045449298 prof_pc 2019-05-17 18:48:53 -04:00
SatoMew
333d2f37a8 Add weather.h 2019-05-17 15:34:34 +01:00
SatoMew
cfc43d1111 Label weather 2019-05-17 14:14:21 +01:00
PikalaxALT
468d5a0594 finish heal_location 2019-05-16 17:44:16 -04:00
PikalaxALT
4156dd6b57 setrespawn 2019-05-16 13:57:21 -04:00
PikalaxALT
247608c3b3 Disassemble spawn points array 2019-05-16 13:51:22 -04:00
PikalaxALT
006881415d Resolve most hardcoded values in map scripts 2019-05-16 10:40:51 -04:00
PikalaxALT
9a464931d2 Replace some hardcoded flags/vars 2019-05-14 17:35:04 -04:00
PikalaxALT
15c153273b Define map scene vars 2019-05-14 17:14:47 -04:00
PikalaxALT
efbbd67f81 Fix scrcmd names and define world map flags 2019-05-14 16:45:10 -04:00
PikalaxALT
e885a81ed6
Merge pull request #55 from PikalaxALT/unk_8159F40
Some more decomp and porting
2019-05-14 16:20:43 -04:00
PikalaxALT
31e1a9e759
Merge pull request #48 from garakmon/mapdump
map data
2019-05-14 16:20:13 -04:00
PikalaxALT
82216dd31f unk_815C980 2019-05-14 15:22:37 -04:00
garak
55d66b5177 convert map data to json 2019-05-13 19:44:24 -04:00
PikalaxALT
e08f10fd41 through sub_815A5E8 2019-05-12 15:51:22 -04:00
garak
4b98d7d07a fix map and layout constants 2019-05-10 14:03:24 -04:00
PikalaxALT
210f875730 through sub_815A008 2019-05-09 16:33:30 -04:00
garak
4e5d818f89 dump event scripts 2019-05-09 13:46:28 -04:00
PikalaxALT
d850ef92c6 decomp unk_810C3A4 as part of vs_seeker 2019-05-09 09:26:21 -04:00
PikalaxALT
e9e87a0fe4 egg_hatch as part of daycare 2019-05-06 10:49:10 -04:00
PikalaxALT
a37da53f20 Daycare 2019-05-05 14:56:59 -04:00
PikalaxALT
7f07bd6607 blend_palette 2019-05-05 12:24:15 -04:00
PikalaxALT
58aa02b87a util 2019-05-03 17:02:57 -04:00
PikalaxALT
ee839a3cd9
Merge pull request #50 from ultima-soul/fldeff
Port fldeff_teleport and decompile fldeff_berrytree
2019-04-29 13:20:00 -04:00
PikalaxALT
35e7dffe66 trainer_pokemon_sprites 2019-04-29 13:06:11 -04:00
PikalaxALT
8d8fa584dd prototypes 2019-04-29 12:30:30 -04:00
PikalaxALT
3ecda62650 Decompile bag.s 2019-04-29 12:27:50 -04:00
ultima-soul
e833d37423 Merge branch 'master' into fldeff 2019-04-28 16:55:43 -07:00
PikalaxALT
523c53506d Port blit from Emerald 2019-04-27 12:39:26 -04:00
PikalaxALT
274151836b Finish mystery_gift_menu.c 2019-04-26 12:49:08 -04:00
PikalaxALT
7b4e2ec05b through mevent_message 2019-04-26 08:51:05 -04:00
PikalaxALT
76a421f6f1 Port data from emerald 2019-04-25 20:35:26 -04:00
PikalaxALT
d3057e7ae6 through HandleLoadWonderCardOrNews 2019-04-25 17:44:25 -04:00
PikalaxALT
6cebd1f853 through MysteryGift_HandleThreeOptionMenu 2019-04-25 16:52:29 -04:00
PikalaxALT
f95188d887 link_rfu_4 is part of mystery_gift_menu 2019-04-25 10:20:18 -04:00
PikalaxALT
9575eba481 start to port mystery gift from emerald 2019-04-25 08:52:36 -04:00
PikalaxALT
b4ffd53ee2 Documentation of SeaGallop 2019-04-24 22:42:54 -04:00
PikalaxALT
2ef974d776 Decompile seagallop 2019-04-24 17:14:11 -04:00
PikalaxALT
29dc2b2284 Remove agbsdk includes
Resolves #51
2019-04-21 21:02:32 -04:00
ultima-soul
d74dda011a Port fldeff_teleport 2019-04-17 14:09:54 -07:00
PikalaxALT
f4b8673938
Merge pull request #45 from SatoMew/master
decompile roulette_util.c
2019-04-15 14:03:39 -04:00
PikalaxALT
dfbddec062 tm_case and peripheral documentation 2019-04-15 13:17:19 -04:00
PikalaxALT
d5504aefae tm_case documentation, 1 2019-04-15 08:49:52 -04:00
PikalaxALT
642729d030 Decompile tm_case data 2019-04-14 21:51:07 -04:00
PikalaxALT
a4b19e9187 tm_case finish code 2019-04-14 20:29:37 -04:00
PikalaxALT
c95740ab85 tm_case sub_8132F60 2019-04-14 19:11:11 -04:00
PikalaxALT
584bdbe5b5 tm_case through sub_8132F20 2019-04-14 18:42:50 -04:00
PikalaxALT
ae4e94dd73 tm_case through sub_813226C 2019-04-14 16:39:07 -04:00
PikalaxALT
ef00905bd7 tm_case through sub_8132120 2019-04-14 15:59:22 -04:00
PikalaxALT
ed4b353795 tm_case through sub_8131D48 2019-04-14 15:02:59 -04:00
PikalaxALT
8ec229b557 Initial map header dump 2019-04-13 14:12:36 -04:00
SatoMew
9e1028f6f1 Create roulette_util.h 2019-04-13 18:13:39 +01:00
PikalaxALT
7f34be2b77 Correct region map section constants 2019-04-13 13:10:07 -04:00
PikalaxALT
f40038533a
Merge pull request #43 from garakmon/dump1
Dumping some data
2019-04-13 12:36:48 -04:00
PikalaxALT
bd5c36e0f3 Split data_835B488.s to sound.s; correct FRLG music constants 2019-04-12 10:23:45 -04:00
PikalaxALT
c85f726224 Decompile roamer 2019-04-11 19:21:10 -04:00
PikalaxALT
915694e8a7 Documentation of oak_speech 2019-04-11 18:26:02 -04:00
PikalaxALT
c5e238b8c1 Roamer: Documentation 2019-04-11 16:30:30 -04:00
PikalaxALT
6252f311fb menu2 2019-04-11 15:42:34 -04:00
scnorton
18b20721d9 Remaining oak_speech data 2019-04-11 13:20:51 -04:00
scnorton
fb7ba21610 finish oak_speech code decomp 2019-04-11 12:55:13 -04:00
PikalaxALT
6eb7cc6cfa through CreateNidoranFSprite 2019-04-11 08:46:30 -04:00
PikalaxALT
35892e6b53 through sub_8130C20 2019-04-10 20:26:51 -04:00
PikalaxALT
716639a628 through sub_81306D4 2019-04-10 19:43:47 -04:00
scnorton
6982393439 through sub_8130324 nonmatching 2019-04-10 16:43:44 -04:00
scnorton
2f337edf36 through sub_812FD78 2019-04-10 12:11:36 -04:00
scnorton
bf7084cb60 through sub_812F33C 2019-04-10 10:16:20 -04:00
PikalaxALT
dbd4851087 sub_812EF50 2019-04-10 08:47:54 -04:00
scnorton
789e598c92 sub_812EEB0 2019-04-09 18:23:34 -04:00
scnorton
fb423f957d sub_812EB58; port scanline_effect 2019-04-09 14:30:54 -04:00
scnorton
d54a9b56da through sub_812EB2C 2019-04-09 11:23:33 -04:00
garak
fbd00ab00d swap SaffronCity map names 2019-03-02 17:56:11 -05:00
garak
a0dcf770bc name map connections 2019-02-26 20:49:26 -05:00
garak
7135fa4b82 add map group constants 2019-02-26 20:29:31 -05:00
scnorton
7738fcee63 through sub_815E9FC 2019-01-08 10:20:51 -05:00
PikalaxALT
9c5f01fc8e through sub_815E948 2019-01-08 08:45:19 -05:00
scnorton
6da60e9b36 fieldmap: Common and EWRAM syms 2019-01-07 16:53:28 -05:00
scnorton
316975ebea Complete code decomp of fieldmap.s 2019-01-07 16:47:21 -05:00
scnorton
38abcf9774 through sub_80598CC 2019-01-07 16:39:32 -05:00
scnorton
34cf3662fc GetMapBorderIdAt 2019-01-07 15:48:36 -05:00
scnorton
e1bd043bf3 through sub_8059250 2019-01-07 15:32:11 -05:00
scnorton
9aab26afa5 through MapGridGetMetatileIdAt 2019-01-07 14:39:28 -05:00
PikalaxALT
bc79312d48 Start decomping fieldmap 2019-01-07 08:54:56 -05:00
PikalaxALT
08ffdce1b6 Nuke SCRCMD_DEF macro 2019-01-06 20:13:06 -05:00
scnorton
1581631e62 Finish decompiling scrcmd 2019-01-06 16:17:40 -05:00
scnorton
abac6f3ec8 Through ScrCmd_takecoins 2019-01-06 16:14:59 -05:00
scnorton
fdd7b1033c Through ScrCmd_pokemart 2019-01-06 16:00:27 -05:00
scnorton
2822d29c0b through ScrCmd_bufferstring 2019-01-06 15:28:10 -05:00
scnorton
6a064a4fa4 Through ScrCmd_getbraillestringwidth 2019-01-06 15:08:17 -05:00
scnorton
607d6e13d4 ScrCmd_waitbuttonpress 2019-01-06 14:52:00 -05:00
scnorton
bc97743759 ScrCmd_cmdC7; merge pikalaxalt/trainer_tower into pikalaxalt/scrcmd 2019-01-06 13:43:01 -05:00
scnorton
96e1b19dc1 through ScrCmd_release; propose names for remaining funcs 2019-01-06 13:06:56 -05:00
scnorton
b16831e97b through ScrCmd_fadeinbgm 2019-01-06 11:57:00 -05:00
PikalaxALT
257bde9b08 through ScrCmd_fadescreenspeed 2019-01-06 10:22:04 -05:00
PikalaxALT
1cb1fd2bf8 through ScrCmd_checkdecor 2019-01-06 10:09:03 -05:00
PikalaxALT
d2538cffa0 through ScrCmd_copyvar 2019-01-06 07:54:57 -05:00
PikalaxALT
1e699465bd through sub_815E5C4 2019-01-05 18:12:00 -05:00
PikalaxALT
4b459cd460 through sub_815E1F0 2019-01-05 17:08:30 -05:00
PikalaxALT
2e2c38a386 Facility Trainer Class defines 2019-01-03 20:57:15 -05:00
PikalaxALT
8acdc1034d Fix includes to work with asm files 2019-01-03 20:36:23 -05:00
PikalaxALT
155e506920 Merge branch 'master' into trainer_tower 2019-01-03 20:18:13 -05:00
PikalaxALT
84e22a9ecf Merge Delta456/master. Resolve #26; close #35 2019-01-03 20:17:34 -05:00
scnorton
3e4a7c8edd Rework UnkSubstruct_203F458_000C_004 structure 2019-01-03 16:13:18 -05:00
“Delta456”
366dd34cc5 Oops 2019-01-03 16:01:51 +05:30
scnorton
9dd48895b7 sub_815DD44; some more decomp 2019-01-02 17:10:26 -05:00
scnorton
e98d46f430 sub_815DA54 2019-01-02 10:19:27 -05:00
“Delta456”
a670065881 Oops 2019-01-02 18:31:48 +05:30
scnorton
0216888949 through sub_815D8F8 2018-12-30 12:32:42 -05:00
“Delta456”
264db23237 Forgot to add FR Map Names 2018-12-30 21:29:18 +05:30
“Delta456”
f4b84643d7 Add Trainer Classes and MapNames 2018-12-30 21:21:46 +05:30
scnorton
04e61537c2 Start decomp of trainer_tower 2018-12-30 10:46:21 -05:00
PikalaxALT
a7ab82a948 Guess a small struct in save block 2 2018-12-21 11:43:24 -05:00
PikalaxALT
2761c0f0a5 Drop devkitARM dependency entirely 2018-12-17 15:43:45 -05:00
PikalaxALT
c14c6d36f8 Rename most special vars 2018-12-05 08:43:55 -05:00
PikalaxALT
931f19d2ea Port mystery_event_script 2018-12-03 20:21:35 -05:00
PikalaxALT
59b87e9d2a sub_8146980 2018-12-03 10:09:28 -05:00
PikalaxALT
208c605447 sub_8146604 2018-12-03 08:41:06 -05:00
PikalaxALT
5151db6054 sub_8146288 2018-12-02 17:25:59 -05:00
PikalaxALT
60b8858b19 sub_81461D8 2018-12-02 16:48:04 -05:00
PikalaxALT
9e34e6b53d sub_8146060 2018-12-02 16:38:07 -05:00
PikalaxALT
30d4803a44 sub_8145D18 2018-12-02 16:06:01 -05:00
PikalaxALT
cd42b22d6b sub_8145A98 2018-12-02 13:33:03 -05:00
PikalaxALT
2fb1404613 sub_814593C and associated ewram 2018-12-02 12:09:16 -05:00
PikalaxALT
8f0f725039 sub_814571C and associated graphics dump 2018-12-02 11:42:45 -05:00
PikalaxALT
884f1934e8 start decompiling mevent_8145654 2018-12-02 10:02:39 -05:00
PikalaxALT
2fbe528d5e Attempt to give meaningful names to mevent srv fields 2018-12-01 20:27:35 -05:00
PikalaxALT
01aada9e93 merge mevent server and document mevent_server_helpers 2018-12-01 11:24:05 -05:00
PikalaxALT
b9a6cba30a Finish decomp of mevent_server 2018-11-30 16:51:22 -05:00
PikalaxALT
8a8e86fa4f split mevent_server 2018-11-30 15:26:16 -05:00
PikalaxALT
f178d06946 through mevent_srv_ish_exec 2018-11-30 12:26:24 -05:00
PikalaxALT
7c2517611b sub_8144CA0 2018-11-30 12:16:42 -05:00
PikalaxALT
5a80a339cd sub_81449E0 2018-11-30 10:52:54 -05:00
PikalaxALT
80dbdacace through sub_814490C 2018-11-30 10:27:25 -05:00
PikalaxALT
294b150d70 Set up to decomp mevent_server 2018-11-30 08:47:58 -05:00
PikalaxALT
5e98e6b8df Fix this field's name to be consistent with offset 2018-11-29 21:02:08 -05:00
PikalaxALT
9200df7516 Finish decomp of mevent.s 2018-11-29 20:56:53 -05:00
PikalaxALT
939ae833c3 through sub_81445C0 2018-11-29 19:17:38 -05:00
PikalaxALT
d68f434a52 through sub_814449C 2018-11-29 18:48:06 -05:00
PikalaxALT
51622adaec through sub_8144218 2018-11-29 18:15:22 -05:00
PikalaxALT
159f242e32 through sub_8144018 2018-11-29 15:33:58 -05:00
PikalaxALT
cec95ebfb4 through sub_8143DBC 2018-11-29 14:02:49 -05:00
PikalaxALT
7460069110 sub_8143910 2018-11-29 11:35:31 -05:00
PikalaxALT
2943997dcb through sub_81438F0 2018-11-29 09:54:26 -05:00
PikalaxALT
21a301b77d through sub_81436EC 2018-11-28 22:15:11 -05:00
PikalaxALT
c6778caf1e Identify most of SaveBlock1 2018-11-28 18:55:55 -05:00
PikalaxALT
c79a939d3d Identify easy chat arrays in save block 1 2018-11-28 18:18:10 -05:00
PikalaxALT
592a0f03e8 Name the game stats array 2018-11-28 18:10:28 -05:00
PikalaxALT
ff55777ac8 Define the PC items allocation in SaveBlock1 2018-11-28 14:15:29 -05:00
PikalaxALT
013fcf86fb Fix spacing in globah.h 2018-11-28 13:49:46 -05:00
PikalaxALT
144027e4fa Dump another fame checker tilemap 2018-11-28 10:50:41 -05:00
PikalaxALT
66c7fc0d70 All functions and assets in fame_checker are named 2018-11-28 08:42:21 -05:00
PikalaxALT
d2bd51c49f Rename most assets and functions in fame_checker 2018-11-27 16:50:10 -05:00
PikalaxALT
a738e3dca5 More documentation and enums 2018-11-27 08:44:24 -05:00
PikalaxALT
7e684b32f1 More documentation of fame checker 2018-11-26 22:27:19 -05:00
PikalaxALT
b21c50675b PRESSED-->JOY_NEW, PUSHED-->JOY_HELD 2018-11-26 18:24:17 -05:00
PikalaxALT
69106536eb Start documenting stuff; make objects static where possible 2018-11-26 18:12:17 -05:00
PikalaxALT
9750849c69 Genericize PRESSED macro 2018-11-26 16:47:19 -05:00
PikalaxALT
a2b7b3ebf2 Finish data decomp 2018-11-26 15:47:50 -05:00
PikalaxALT
e85ce72837 Another text pointer table decomped 2018-11-26 12:57:24 -05:00
PikalaxALT
6fb78b0885 more text dism 2018-11-26 12:51:56 -05:00
PikalaxALT
ae8b4043c1 More data decomp 2018-11-26 12:34:22 -05:00
PikalaxALT
f75453388c Finish decomp of fame_checker(.text) 2018-11-26 10:54:41 -05:00
PikalaxALT
eb8dface17 through sub_812E064 2018-11-26 10:26:12 -05:00
PikalaxALT
82c7bd49aa through sub_812DB64 2018-11-25 21:58:52 -05:00
PikalaxALT
5c013a0897 through sub_812DA14 2018-11-25 21:12:07 -05:00
PikalaxALT
f05f41b89a through sub_812D5EC 2018-11-25 19:21:05 -05:00
PikalaxALT
5090c3fab2 sub_812D420 2018-11-25 18:46:32 -05:00
PikalaxALT
83dc744b85 through sub_812D388 2018-11-25 18:32:21 -05:00
PikalaxALT
5b30b664be sub_812D1A8 2018-11-25 08:21:08 -05:00
PikalaxALT
8f9ec93326 through sub_812D094 2018-11-24 23:02:38 -05:00
PikalaxALT
c60b280118 through sub_812CD3C 2018-11-24 21:41:18 -05:00
PikalaxALT
93f67f9557 sub_812CAD8
New macro `PRESSED(x)` tests `gMain.newKeys & (x)`.  The macro itself
is inoptimal.  However, its use is required to match this function.
We suspect this macro may have been implemented globally, hence we
put it in `global.h`.  Propagating its use through the remainder of
this project, as well as [Ruby](/pret/pokeruby) and [Emerald](/pret/pokeemerald),
has been left as a to-do item.
2018-11-24 20:04:50 -05:00
PikalaxALT
2571ba516c through sub_812C694 2018-11-24 15:51:55 -05:00
PikalaxALT
5a262eec73 sub_812C3F8 2018-11-24 13:08:18 -05:00
PikalaxALT
d5d220bc5c quest_log_battle, 2 2018-11-23 21:55:21 -05:00
PikalaxALT
91bfbfb9fb quest_log_battle, 1 2018-11-23 21:22:31 -05:00
PikalaxALT
d347a95390 quest_log_8150454 2018-11-23 15:17:38 -05:00
PikalaxALT
76f0c361ed Try and guess what some of this stuff in crt0.s is 2018-11-21 20:11:12 -05:00
PikalaxALT
77d7434df2 Merge branch 'master' into quest_log 2018-11-21 09:00:41 -05:00
PikalaxALT
251d031ec9 through sub_8114CE4 2018-11-19 18:14:31 -05:00
melody
5989a8a461 Brings in surfable tile data structure 2018-11-14 00:10:54 -05:00