Commit Graph

2663 Commits

Author SHA1 Message Date
Diegoisawesome
bdb6c775d9 Remove bg.h 2017-09-09 21:48:33 -05:00
Diegoisawesome
a1368c545d Merge remote-tracking branch 'pret/master' 2017-09-09 20:54:41 -05:00
Diegoisawesome
f29fc55796 Cleanup bg.c 2017-09-09 20:52:33 -05:00
Diegoisawesome
001d1027e3 Finish bg.s, 6 nonmatching 2017-09-09 19:46:19 -05:00
DizzyEggg
10a525d5a0 decomp safari zone 2017-09-09 15:45:50 +02:00
DizzyEggg
3355389eab start coins decomp 2017-09-09 14:24:18 +02:00
PikalaxALT
ba6987b733 sub_808EB08 2017-09-08 21:35:46 -04:00
PikalaxALT
019935fb73 npc_coords_set 2017-09-08 21:28:22 -04:00
PikalaxALT
70e982d1fa npc_coords_shift 2017-09-08 21:27:02 -04:00
PikalaxALT
43c3b9fdff unref_sub_808EAC4 2017-09-08 21:25:20 -04:00
DizzyEggg
307278374b start money.s decomp 2017-09-09 00:45:25 +02:00
scnorton
b639ca3b15 sub_808EAB0 2017-09-08 18:12:27 -04:00
scnorton
a17a1bb27a npc_load_two_palettes__and_record 2017-09-08 18:04:23 -04:00
scnorton
dddb44e301 npc_load_two_palettes__no_record 2017-09-08 17:58:41 -04:00
scnorton
5a020a47f3 FindFieldObjectPaletteIndexByTag 2017-09-08 17:34:12 -04:00
scnorton
07b1668623 pal_patch_for_npc_range 2017-09-08 17:21:58 -04:00
scnorton
e6e0dc80f6 pal_patch_for_npc 2017-09-08 17:17:03 -04:00
DizzyEggg
44dbf4dea0 port pokemon size record 2017-09-08 22:23:14 +02:00
scnorton
2d3ce87c4c sub_808E8F4 2017-09-08 15:27:08 -04:00
scnorton
444887ba22 sub_808E8C0 2017-09-08 15:21:32 -04:00
scnorton
1de5a14a35 sub_808E894 2017-09-08 15:18:03 -04:00
scnorton
db2b371e70 gpu_pal_allocator_reset__manage_upper_four 2017-09-08 15:11:29 -04:00
scnorton
d3edf5642e sub_808E82C 2017-09-08 15:08:10 -04:00
scnorton
8ef5d05955 sub_808E7E4 2017-09-08 15:05:04 -04:00
scnorton
782f21f63e sub_808E78C 2017-09-08 14:58:17 -04:00
scnorton
62eca95358 sub_808E75C 2017-09-08 14:53:00 -04:00
scnorton
05685f3961 FieldObjectGetLocalIdAndMap 2017-09-08 14:40:34 -04:00
scnorton
67955bb51a npc_by_local_id_and_map_set_field_1_bit_x20 2017-09-08 14:36:58 -04:00
scnorton
511474cc15 FieldObjectHandleDynamicGraphicsId 2017-09-08 14:20:13 -04:00
scnorton
e0b2e6cdbf GetFieldObjectGraphicsInfo 2017-09-08 14:16:44 -04:00
scnorton
823f8d6a0c get_berry_tree_graphics 2017-09-08 14:05:45 -04:00
scnorton
9b98055ecc PlayerObjectTurn 2017-09-08 13:46:21 -04:00
PikalaxALT
ddcce8c3bc FieldObjectTurn 2017-09-08 13:41:55 -04:00
DizzyEggg
4d01d400a8 port lottery corner 2017-09-08 18:48:55 +02:00
DizzyEggg
bf11200d4a () to (void) 2017-09-08 18:28:00 +02:00
DizzyEggg
8544804758 failed nonmatch attempt, better arg names given I guess 2017-09-08 18:19:20 +02:00
DizzyEggg
ba1c066d57 new game fully decompiled 2017-09-08 16:46:37 +02:00
Diegoisawesome
6c6ebd9268 Fix nonmatchings, stuck on CopyRectToBgTilemapBufferRect 2017-09-08 01:02:35 -05:00
PikalaxALT
ad99377734 unref_sub_808E504 2017-09-07 21:17:55 -04:00
PikalaxALT
a87b35f9a7 FieldObjectSetGraphicsId 2017-09-07 21:04:32 -04:00
PikalaxALT
f8e8adf82e SetPlayerAvatarFieldObjectIdAndObjectId 2017-09-07 20:04:59 -04:00
PikalaxALT
11786cc325 sub_808E38C 2017-09-07 19:45:30 -04:00
PikalaxALT
de8ef5e125 sub_808E1B8 2017-09-07 19:28:46 -04:00
PikalaxALT
113482a7cc sub_808E16C 2017-09-07 18:54:51 -04:00
PikalaxALT
44be18e1df RemoveFieldObjectIfOutsideView 2017-09-07 17:41:56 -04:00
PikalaxALT
341a4735bc RemoveFieldObjectsOutsideView 2017-09-07 16:09:59 -04:00
PikalaxALT
f128e4c4f0 SpawnFieldObjectsInView 2017-09-07 15:58:38 -04:00
PikalaxALT
64ebd9b4fb sprite_new 2017-09-07 15:50:49 -04:00
PikalaxALT
f7742a68ae AddPseudoFieldObject 2017-09-07 14:31:23 -04:00
PikalaxALT
12562aa2d4 MakeObjectTemplateFromFieldObjectTemplate 2017-09-07 14:16:30 -04:00
DizzyEggg
4a1b2967ca make lots of define files 2017-09-07 19:45:32 +02:00
shinyquagsire23
b420fb3962 Decompiled librfu to STWI_send_CP_EndREQ 2017-09-07 03:59:39 -06:00
shinyquagsire23
f1216076d7 Begin librfu decompilation 2017-09-07 00:55:52 -06:00
Diegoisawesome
a2d37efb67 Almost perfect now but r8 and r12 are flipped 2017-09-06 23:53:13 -05:00
Diegoisawesome
3f61c01afa Stuck on CopyToBgTilemapBufferRect 2017-09-06 21:59:34 -05:00
PikalaxALT
112177b57f Slight touching up of data3.s; denote boundaries of data/field_map_obj.s for future split 2017-09-06 22:46:44 -04:00
PikalaxALT
1f83a2885e Through MakeObjectTemplateFromFieldObjectGraphicsInfo 2017-09-06 22:33:11 -04:00
PikalaxALT
22c8367956 SpawnSpecialFieldObject 2017-09-06 22:00:51 -04:00
PikalaxALT
bd4b3c4c6d SpawnFieldObject 2017-09-06 21:46:53 -04:00
PikalaxALT
b79e3af0a8 SpawnFieldObjectInternal 2017-09-06 20:28:36 -04:00
scnorton
e0216d6045 unref_sub_808D958 2017-09-06 18:26:37 -04:00
scnorton
398186d7c4 RemoveFieldObjectInternal 2017-09-06 18:12:44 -04:00
scnorton
942400ddbf RemoveFieldObject 2017-09-06 17:55:36 -04:00
scnorton
a6269f2f0f Static 2017-09-06 17:29:13 -04:00
scnorton
e060123648 GetAvailableFieldObjectSlot 2017-09-06 17:25:20 -04:00
scnorton
6448563ede unref_sub_808D77C 2017-09-06 16:14:55 -04:00
DizzyEggg
cdd36116f2 label pokemon3.s 2017-09-06 21:48:30 +02:00
DizzyEggg
b7d75cb615 split item effects and organize sym ewram 2017-09-06 21:11:10 +02:00
scnorton
9498dfa71c InitFieldObjectStateFromTemplate (nonmatching, same as ruby) 2017-09-06 14:25:17 -04:00
DizzyEggg
c3cc1b3370 make it compile 2017-09-06 18:39:03 +02:00
DizzyEggg
0cc4cadd2f label pokemon2 and some box stuff 2017-09-06 18:34:18 +02:00
DizzyEggg
c6eacc9be5 start porting pokemon1 2017-09-06 17:19:08 +02:00
scnorton
1087d1c822 GetFieldObjectIdByLocalIdAndMapInternal; rename gUnknown_02037350 to gMapObjects 2017-09-06 10:48:51 -04:00
scnorton
f15191bfc2 GetFieldObjectIdByXY 2017-09-06 09:52:31 -04:00
scnorton
ea9dabdfab TryGetFieldObjectIdByLocalIdAndMap 2017-09-06 09:49:51 -04:00
scnorton
f3f8c5ec2c sub_808D4F4 2017-09-06 09:42:10 -04:00
scnorton
368b0f9ee8 sub_808D450 2017-09-06 09:38:38 -04:00
scnorton
a08f11cab3 sub_808D438 2017-09-06 09:29:59 -04:00
scnorton
f677873d07 npcs_clear_ids_and_state 2017-09-06 09:25:16 -04:00
PikalaxALT
83dbdc0318 npc_clear_ids_and_state 2017-09-06 08:46:47 -04:00
PikalaxALT
63dd0ea397 Spawn source files for Field Map Obj 2017-09-06 08:35:16 -04:00
DizzyEggg
b6661e7736 name some pokemon and battle labels 2017-09-05 20:13:34 +02:00
DizzyEggg
1680fc0b81 start start menu decomp 2017-09-05 13:01:24 +02:00
DizzyEggg
54b8306115 really clean up battle ai 2017-09-05 09:41:48 +02:00
Diegoisawesome
afa3bf20c6 Continue work on bg.s 2017-09-05 01:02:31 -05:00
Diegoisawesome
ea33650dc1 Begin disassembling bg.s 2017-09-04 21:18:52 -05:00
DizzyEggg
2702b0ec9b decomp calc dmg and clean up battle ai 2017-09-04 21:43:13 +02:00
DizzyEggg
92892d140a begin load_save.c 2017-09-04 18:26:39 +02:00
DizzyEggg
1a9b1a45ca split battle rodata 2017-09-04 15:05:11 +02:00
DizzyEggg
75a94ce58e split and label 2017-09-04 12:22:04 +02:00
DizzyEggg
5afd2d5bfb begin new save.c, label lots of things 2017-09-03 22:50:17 +02:00
DizzyEggg
ddf85539c1 move ram save variables to C 2017-09-03 15:39:33 +02:00
DizzyEggg
a3f602f17c begin save.s decomp, thanks revo! 2017-09-03 14:13:01 +02:00
DizzyEggg
907e281de6 decompile label more of item.s 2017-09-03 13:33:13 +02:00
DizzyEggg
50530b4666 begin decompiling item.s 2017-09-03 00:47:51 +02:00
DizzyEggg
e0725bca55 move variables to rtc.c 2017-09-02 23:37:06 +02:00
DizzyEggg
048700fe57 decompile rtc 2017-09-02 23:28:44 +02:00
DizzyEggg
b5fea95a46 finish event data 2017-09-02 22:31:37 +02:00
DizzyEggg
a4cc67008e begin event data 2017-09-02 21:43:53 +02:00
DizzyEggg
a91ffaaa41 clean up decompress header 2017-09-02 20:08:08 +02:00
DizzyEggg
7a831c215e decompile decompress.s 2017-09-02 19:55:39 +02:00
DizzyEggg
7ecdcc5ed8 iwram and ewram vars to C 2017-09-02 17:32:34 +02:00
DizzyEggg
591837e3c3 decompile sound.s 2017-09-02 17:03:46 +02:00
DizzyEggg
2089dd0f86 start labelling, decompiling sound.s 2017-09-02 16:03:53 +02:00
DizzyEggg
84240b1a5a sprite.c: move ewram, iwram, rom data 2017-09-02 13:11:19 +02:00
DizzyEggg
24a1e3e544 decompile more of sprite.s 2017-09-02 12:12:09 +02:00
DizzyEggg
c146c247f2 decompile more of sprite.s 2017-09-02 01:42:44 +02:00
DizzyEggg
26bf61e06f start decompiling sprite.s 2017-09-02 00:21:11 +02:00
DizzyEggg
bc5acf7394 more splitting, move ewram sprite vars to C 2017-09-02 00:09:46 +02:00
DizzyEggg
449d546556 split some battle files 2017-09-01 23:40:13 +02:00
DizzyEggg
ee7580753b rename sprite labels 2017-09-01 19:43:26 +02:00
DizzyEggg
6987dd9a21 decompile text window 2017-09-01 19:01:58 +02:00
DizzyEggg
1d2be3c5e8 get rid of data window 2017-09-01 17:38:28 +02:00
DizzyEggg
7daeebd3f4 decompile window.s 2017-09-01 16:53:06 +02:00
DizzyEggg
6f03356237 begin working on pokeemerald 2017-08-31 16:48:24 +02:00
YamaArashi
e0dd5ef9a7 fix build errors 2017-04-05 13:51:55 -07:00
Diegoisawesome
b95747dc69 Begin disassembling window.s 2017-03-29 19:02:15 -05:00
Diegoisawesome
0931f65fa2 Cleanup files 2017-03-27 23:38:49 -05:00
Diegoisawesome
5a8eeb353d Mostly decompile text.s 2017-03-27 19:30:49 -05:00
Diegoisawesome
1d95689766 Continue disassembling text.s 2017-03-08 14:44:44 -06:00
Diegoisawesome
c47e109fbf Use constant NUM_TASKS in palette.c 2017-03-07 07:47:23 -06:00
Diegoisawesome
a2679fbbf0 Merge branch 'master' of https://github.com/Diegoisawesome/pokeemerald 2017-03-07 07:44:54 -06:00
Diegoisawesome
20358c4c96 Begin disassembling text.s 2017-03-07 07:44:41 -06:00
ProjectRevoTPP
5e42b2a558 formatting 2017-03-06 19:57:52 +00:00
ProjectRevoTPP
1bbdaee1e1 clean up a few functions in palette.c 2017-03-06 08:37:33 +00:00
ProjectRevoTPP
b2ec63d69e resolve implicit declarations and enforce warnings as errors 2017-03-05 13:27:22 -06:00
ProjectRevoTPP
4df1842682 resolve implicit declarations and enforce warnings as errors 2017-03-05 07:35:03 +00:00
Diegoisawesome
d12fd5c5ce Merge remote-tracking branch 'refs/remotes/pret/master' 2017-03-04 23:32:12 -06:00
Diegoisawesome
56f5e8bdab Disassemble palette.s
All but two functions match.
2017-03-04 22:43:34 -06:00
YamaArashi
83ae14e2b9 use constant in WaitForVBlank() 2017-02-17 10:58:42 -08:00
YamaArashi
73bf7791f8 use i/o register constants 2017-02-17 10:56:19 -08:00
YamaArashi
a60e850a86 make VBlankIntr() match 2017-02-17 10:52:03 -08:00
ProjectRevoTPP
afd45e9dd4 finish decompiling dma3_manager.c except for ProcessDma3Requests (#18) 2017-02-17 09:26:45 -08:00
ProjectRevoTPP
9a80b550f0 finish decompiling main.c (#17)
* partially decompile battle_ai.c up to tai60_unk

* nonmatching tai60_unk

* decompile more of battle_ai.c

* formatting

* finish porting battle_ai.c

* formatting

* decompile up to nonmatching VBlankIntr

* finish decompiling main.c

* formatting
2017-02-15 13:25:21 -08:00
ProjectRevoTPP
689df5cff8 finish decompiling battle_ai.c (#16)
* partially decompile battle_ai.c up to tai60_unk

* nonmatching tai60_unk

* decompile more of battle_ai.c

* formatting

* finish porting battle_ai.c

* formatting
2017-02-03 18:34:56 -08:00
YamaArashi
e2b834d21d begin decompiling main.s 2017-02-03 16:44:06 -08:00
YamaArashi
ae1f731e60 add missing 'static' 2017-02-03 09:34:55 -08:00
YamaArashi
8f9ed6e585 decompile rng 2017-02-02 16:30:30 -08:00
camthesaxman
bcff8d1b45 start decompiling battle_ai 2017-02-01 22:15:38 -06:00
camthesaxman
8a36c77ac8 make emerald build 2017-01-31 23:31:28 -06:00
YamaArashi
3c6e4dba69 formatting 2017-01-15 14:15:38 -08:00
YamaArashi
af822ef2a7 make StringCopyN_Multibyte match 2017-01-15 14:10:24 -08:00
YamaArashi
b7e2a25915 port matching InsertTask() from pokeruby 2017-01-14 17:14:36 -08:00
YamaArashi
72470c7048 remove explicit array size 2017-01-14 15:50:29 -08:00
YamaArashi
53935efc64 mostly finish string_util.c 2017-01-14 15:17:51 -08:00
YamaArashi
1268134668 decompile string_util 2017-01-14 14:20:49 -08:00
YamaArashi
ebf4c5ca76 decompile multiboot 2017-01-13 17:46:05 -08:00
YamaArashi
452bbe41cf port siirtc from pokeruby 2016-11-02 14:06:41 -07:00
YamaArashi
dcf291abe4 name pokemon cry voicegroup 2016-11-01 20:10:09 -07:00
Diegoisawesome
69c734c9a8 Ported libmks4agb from pokeruby (#12)
* Port agb_flash from pokeruby

* use ramscrgen

* formatting

* delete ewram_syms.txt and iwram_syms.txt

* Finish port of agb_flash

* Ported libmks4agb from pokeruby

* Reordered declarations to match pokeruby
2016-11-01 20:03:16 -07:00
Diegoisawesome
2f6f3f8256 Port agb_flash from pokeruby (#11)
* Port agb_flash from pokeruby

* use ramscrgen

* formatting

* delete ewram_syms.txt and iwram_syms.txt

* Finish port of agb_flash
2016-11-01 16:04:03 -07:00
YamaArashi
555bbb5494 define variables in gpu_regs.c 2016-11-01 14:52:19 -07:00
YamaArashi
f71ceb29b4 define variables in mallo.c 2016-11-01 14:45:06 -07:00
YamaArashi
d708372ea9 formatting 2016-11-01 12:13:12 -07:00
YamaArashi
4db33778ad formatting 2016-11-01 08:35:13 -07:00
Diegoisawesome
442002dada Ported libc from pokeruby 2016-11-01 10:17:40 -05:00
Diegoisawesome
4df1937738 Ported task.c and others from pokeruby 2016-10-31 09:43:17 -05:00
YamaArashi
8866801ef9 make it build 2016-09-03 02:20:49 -07:00
YamaArashi
bc10815b94 reorganize headers and add CpuFill macros 2016-01-08 12:49:23 -08:00
YamaArashi
b06f500539 rename macro in gpu_regs.c 2016-01-08 11:46:13 -08:00
YamaArashi
8cc19c6b5e use FALSE instead of 0 2016-01-08 01:12:04 -08:00
YamaArashi
b4781cdf03 gpu_regs.c 2016-01-08 01:08:16 -08:00
YamaArashi
d35478a398 move C files 2016-01-06 18:57:32 -08:00