Commit Graph

1883 Commits

Author SHA1 Message Date
scnorton
283d9060a7 Some functions relating to affine animations 2017-09-17 13:59:30 -04:00
scnorton
71b40f50c0 Merge branch 'master' into field_map_obj 2017-09-17 13:38:33 -04:00
scnorton
4b04e92e8b Ten more functions (remaining function count is 99) 2017-09-17 13:26:17 -04:00
DizzyEggg
07c2a83827 Merge branch 'master' into decomp_battle3 2017-09-17 19:22:53 +02:00
scnorton
7af9833883 Additional script object callbacks 2017-09-17 13:06:03 -04:00
scnorton
513e3cd9bc Five small functions 2017-09-17 13:00:43 -04:00
scnorton
92a3f1cb2e More maybe_shadow_1_macro memes 2017-09-17 12:57:42 -04:00
scnorton
b06631f654 Functions for facing towards/away from another object? 2017-09-17 12:25:27 -04:00
scnorton
20152fb0af Yet Another Macro Cluster TM 2017-09-17 12:19:35 -04:00
DizzyEggg
75595f9b3d decompile battle 3 2017-09-17 17:14:32 +02:00
PikalaxALT
9b4c61658a npc_set_direction_and_anim__an_proceed 2017-09-17 10:58:24 -04:00
PikalaxALT
384ca4658b yet more an_walk_any_2_macro functions 2017-09-17 10:29:57 -04:00
PikalaxALT
f8b08d3ee7 more an_walk_any_2_macro functions 2017-09-17 10:25:48 -04:00
PikalaxALT
43b3195bc8 More special anims with timers 2017-09-17 10:23:18 -04:00
PikalaxALT
cd958b1e43 special_anim_with_timer 2017-09-17 10:07:43 -04:00
PikalaxALT
3a7f771eab maybe_shadow_1 might be a meme 2017-09-17 10:01:27 -04:00
PikalaxALT
3fdb217ba3 sub_80941E0 2017-09-17 09:55:17 -04:00
PikalaxALT
99e0fe1f24 callers of callers of sub_80940C4 2017-09-17 09:52:17 -04:00
PikalaxALT
9dc7839dd8 callers of sub_80940C4 2017-09-17 09:49:50 -04:00
DizzyEggg
c7592bc87c finish porting cam's port 2017-09-17 15:19:15 +02:00
PikalaxALT
8ee004b9b1 sub_80940C4 which may or may not be a meme 2017-09-17 08:45:24 -04:00
PikalaxALT
bf9a00250b maybe_shadow_1 which may or may not be a shadow 2017-09-17 08:38:00 -04:00
PikalaxALT
501baffc48 Yet another chunk of highly similar functions 2017-09-17 08:26:27 -04:00
PikalaxALT
6439551e1a Another chunk of functions, including some expanded from macros 2017-09-17 08:20:42 -04:00
DizzyEggg
a9a66b06ef start porting cam's port of battle3 2017-09-17 14:10:32 +02:00
PikalaxALT
0582b5cb90 npc_obj_ministep_stop_on_arrival 2017-09-17 08:05:33 -04:00
PikalaxALT
7c8991842f do_run_anim 2017-09-16 23:52:50 -04:00
PikalaxALT
529ccf9a96 do_go_anim 2017-09-16 23:49:31 -04:00
PikalaxALT
432924e56d npc_apply_direction 2017-09-16 23:31:43 -04:00
PikalaxALT
8e03a0199c an_look_any simple 2017-09-16 23:20:44 -04:00
PikalaxALT
4ef7127561 FieldObjectSetRegularAnim 2017-09-16 23:12:35 -04:00
PikalaxALT
4e22f1e55f MapObjectExec***Anim 2017-09-16 23:11:09 -04:00
PikalaxALT
5f189fa53b state_to_direction memes 2017-09-16 23:05:53 -04:00
PikalaxALT
0e3dbf3235 GetOppositeDirection 2017-09-16 23:03:04 -04:00
PikalaxALT
9514206969 Another block of functions for getting anim ids given direction 2017-09-16 22:58:17 -04:00
PikalaxALT
08cb777fd7 FieldObjectFaceOppositeDirection 2017-09-16 22:54:15 -04:00
PikalaxALT
d1666473d3 Another block of functions for getting anim IDs from directions 2017-09-16 22:48:19 -04:00
PikalaxALT
eb7e52d2a8 Deswiss the cheese 2017-09-16 22:44:47 -04:00
PikalaxALT
64d3a67b0c FieldObjectMoveDestCoords 2017-09-16 22:27:04 -04:00
PikalaxALT
eb41c57ecd GetFieldObjectMovingCameraOffset 2017-09-16 22:23:48 -04:00
PikalaxALT
812ad017e8 sub_80930E0 2017-09-16 22:19:23 -04:00
PikalaxALT
44e590add0 sub_8093038 2017-09-16 22:15:54 -04:00
PikalaxALT
3f2c6556cb sub_8092FF0 2017-09-16 21:59:14 -04:00
PikalaxALT
bd48354207 sub_8092F88 2017-09-16 21:52:55 -04:00
PikalaxALT
76b68e039d MoveCoordsPixel 2017-09-16 21:45:18 -04:00
PikalaxALT
f03c0dc3b4 MoveCoords 2017-09-16 21:39:29 -04:00
ProjectRevoTPP
16c05694fb split remaining rom files. 2017-09-16 21:32:37 -04:00
PikalaxALT
996d9f4b42 sub_8092E9C 2017-09-16 21:31:37 -04:00
PikalaxALT
951acc8c31 CheckForCollisionBetweenFieldObjects 2017-09-16 21:29:04 -04:00
PikalaxALT
c982993860 IsMetatileDirectionallyImpassable 2017-09-16 21:08:44 -04:00
PikalaxALT
3e472ccc8b IsCoordOutsideFieldObjectMovementRect 2017-09-16 21:04:52 -04:00
PikalaxALT
7d58ce75ad sub_8092C8C 2017-09-16 18:52:20 -04:00
PikalaxALT
fedbcd7bb7 npc_block_way 2017-09-16 18:42:35 -04:00
PikalaxALT
5812bc4ebe npc_block_way__next_tile 2017-09-16 18:33:38 -04:00
PikalaxALT
ca88036ebe npc_set_running_behaviour_etc 2017-09-16 18:29:14 -04:00
PikalaxALT
edd5c81a8e sub_8092AF8 2017-09-16 18:24:58 -04:00
PikalaxALT
589c34e30a obj_npc_animation_step, npc_apply_anim_looping 2017-09-16 18:18:34 -04:00
PikalaxALT
119c0e96b5 sub_8092A4C 2017-09-16 18:04:26 -04:00
PikalaxALT
fa436fca4d a block of direction-based anim num fns 2017-09-16 17:41:46 -04:00
PikalaxALT
34950dbd13 remaining field object step callbacks 2017-09-16 17:34:41 -04:00
PikalaxALT
15aba9a076 Hidden1 2017-09-16 17:24:26 -04:00
PikalaxALT
6247fe742c Tree and Mountain Disguise FOCB 2017-09-16 16:53:55 -04:00
PikalaxALT
12885ca371 CopyPlayer2 2017-09-16 16:40:00 -04:00
PikalaxALT
c6bb13939e state_to_direction memes 2017-09-16 16:10:55 -04:00
PikalaxALT
559833ccf6 Merge branch 'master' into field_map_obj 2017-09-16 15:41:54 -04:00
Diegoisawesome
5a74c0e913 Merge remote-tracking branch 'pret/master' 2017-09-16 14:24:47 -05:00
Cameron Hall
19d2d73c70 Merge pull request #28 from DizzyEggg/decomp_pokemon
decompile pokemon1/2/3
2017-09-16 14:14:50 -05:00
PikalaxALT
66fbc9753f sub_8091F94 2017-09-16 13:54:33 -04:00
PikalaxALT
ee3dc1edda Some more functions, including some swiss-cheesing that got out of hand 2017-09-16 09:43:49 -04:00
PikalaxALT
86df6d1073 Field object path movement 2017-09-16 08:44:43 -04:00
PikalaxALT
a082f92581 sub_8091110 2017-09-16 08:13:37 -04:00
Diegoisawesome
6ba1dc8169 Merge remote-tracking branch 'pret/master' 2017-09-16 03:21:42 -05:00
Diegoisawesome
448497dfbb Finish extracting data2.s 2017-09-16 03:21:09 -05:00
PikalaxALT
3e9e4b13ec MoveFieldObjectInNextDirectionInSequence 2017-09-15 21:39:24 -04:00
PikalaxALT
79e8235701 AlternatelyGoInOppositeDirections 2017-09-15 21:26:56 -04:00
scnorton
1c6177f678 Rotatoes 2017-09-15 16:34:03 -04:00
scnorton
2e1ecdb877 Tridirectional spinners 2017-09-15 16:08:01 -04:00
scnorton
f6840ba7e7 RandomlyLookSouthOrEast 2017-09-15 16:00:39 -04:00
scnorton
b269048369 RandomlyLookSouthOrWest 2017-09-15 15:57:38 -04:00
scnorton
8c6367f997 RandomlyLookNorthOrEast 2017-09-15 15:53:07 -04:00
scnorton
0571056955 RandomlyLookNorthOrWest 2017-09-15 15:26:51 -04:00
scnorton
bf101743c2 RandomlyLookEastOrWest 2017-09-15 14:42:54 -04:00
scnorton
7440bba1b1 RandomlyLookNorthOrSouth 2017-09-15 14:36:54 -04:00
scnorton
9f6a4be9f0 BerryTree 2017-09-15 14:26:01 -04:00
PikalaxALT
9a13b1f34e FaceFixedDirection 2017-09-14 21:30:14 -04:00
PikalaxALT
68c62595f5 RandomlyGoEastOrWest 2017-09-14 21:25:30 -04:00
PikalaxALT
4a1383d77b RandomlyGoNorthOrSouth 2017-09-14 21:22:14 -04:00
PikalaxALT
0ae3347e47 Rename some functions 2017-09-14 08:38:21 -04:00
PikalaxALT
c1c12981fe LookRandomDirections helpers 2017-09-13 21:11:59 -04:00
PikalaxALT
2895765964 LookRandomDirections 2017-09-13 20:36:58 -04:00
PikalaxALT
ddf712beac sub_808F8BC 2017-09-13 20:34:25 -04:00
PikalaxALT
c1f5183f40 Three-direction get-running-past-facing callbacks 2017-09-13 20:26:08 -04:00
PikalaxALT
6b906d95b9 Three more running-past-facing-direction callbacks 2017-09-13 20:22:38 -04:00
PikalaxALT
a04666e2d3 Running-past facing direction callbacks (North/East restricted) 2017-09-13 19:54:43 -04:00
PikalaxALT
f9de01dc86 sub_808F638 and sub_808F648 2017-09-13 19:45:59 -04:00
PikalaxALT
64ffa8f963 Merge branch 'master' into field_map_obj 2017-09-13 19:29:19 -04:00
PikalaxALT
c2e31f0618 sub_808F608 2017-09-13 19:21:05 -04:00
PikalaxALT
d72231379b FieldObjectIsTrainerAndCloseToPlayer 2017-09-13 19:13:44 -04:00
DizzyEggg
c80b76e85a Merge branch 'master' into decomp_berry 2017-09-13 18:24:59 +02:00
DizzyEggg
117f8a6abd Merge branch 'master' into decomp_pokemon 2017-09-13 18:24:01 +02:00
PikalaxALT
e26501f130 Support functions for GoRandomDirections 2017-09-13 10:59:25 -04:00
scnorton
28b272bf52 NoMovement1, GoRandomDirections 2017-09-13 09:41:11 -04:00
DizzyEggg
4c16bb5ee6 decompile util.s 2017-09-13 12:58:57 +02:00
DizzyEggg
5f4c5e280c berry.s decompiled 2017-09-13 11:16:26 +02:00
Diegoisawesome
3e1c6024a7 Continue extracting from data2.s 2017-09-13 01:10:12 -05:00
shinyquagsire23
dd316b28e0 Decompile up to ARM functions in librfu, split ARM interrupt functions into their own .s 2017-09-12 20:11:51 -06:00
scnorton
c8696f1552 npc_paltag_by_palslot 2017-09-12 17:35:08 -04:00
DizzyEggg
c9603c40d8 Merge branch 'master' into decomp_pokemon 2017-09-12 23:02:08 +02:00
PikalaxALT
9286c93c8a npc_paltag_set_load 2017-09-12 16:49:04 -04:00
PikalaxALT
c6ef344262 sub_808F254 2017-09-12 16:17:52 -04:00
DizzyEggg
8731a8caa5 one more function in pokemon1 2017-09-12 15:36:04 +02:00
DizzyEggg
0fe7030230 pokemon 3 is almost decompiled 2017-09-12 15:05:40 +02:00
DizzyEggg
6539188fa6 label and decomp some pokemon animation stuff 2017-09-12 13:05:54 +02:00
DizzyEggg
e5ff9e3db1 will fix later i guess 2017-09-12 10:39:17 +02:00
Diegoisawesome
a9f09ca051 Begin renaming string.s unknowns 2017-09-12 01:23:34 -05:00
Diegoisawesome
04598f0749 Rename data2 external file symbols 2017-09-12 00:00:05 -05:00
shinyquagsire23
a8a6816f0e Decompile STWI_start_command 2017-09-11 17:49:50 -06:00
shinyquagsire23
3c51ecded9 Decompile to STWI_init 2017-09-11 17:04:13 -06:00
DizzyEggg
4242ede445 almost there, troubles 2017-09-12 00:01:12 +02:00
DizzyEggg
738e776630 more pokemon2 decomp 2017-09-11 22:28:36 +02:00
DizzyEggg
8e88f2790a pokemon2 get mon data troubles 2017-09-11 18:27:54 +02:00
scnorton
9306122359 through sub_808F23C 2017-09-11 10:46:26 -04:00
scnorton
2b9b75a824 sub_808F1B4 2017-09-11 10:40:34 -04:00
scnorton
7c40186e35 FindFieldObjectTemplateInArrayByLocalId 2017-09-11 10:31:09 -04:00
scnorton
5ad282c82c GetFieldObjectTemplateByLocalIdAndMap 2017-09-11 10:29:00 -04:00
scnorton
bd9b81546f through FieldObjectGetBerryTreeId 2017-09-11 10:19:03 -04:00
DizzyEggg
5394435520 more of pokemon3 decompiled 2017-09-11 14:42:13 +02:00
DizzyEggg
154a70e228 start pokemon3 decomp 2017-09-11 11:35:41 +02:00
DizzyEggg
48239b6598 Merge branch 'master' into decomp_script 2017-09-11 09:22:10 +02:00
shinyquagsire23
ce08f34ed5 Finish with STWI_send_* 2017-09-10 22:22:10 -06:00
shinyquagsire23
9218c2ce16 Decompile to STWI_send_TestModeREQ 2017-09-10 21:46:26 -06:00
shinyquagsire23
dac306c5e9 Decompiled librfu to STWI_send_DisconnectREQ 2017-09-10 21:41:56 -06:00
scnorton
bcf844f965 sub_808F080 2017-09-10 17:47:37 -04:00
scnorton
8456991837 Functions for retrieving flag and script pointer given map object id 2017-09-10 17:11:03 -04:00
DizzyEggg
a2a66181fb decompile script.s 2017-09-10 23:05:23 +02:00
scnorton
b263dcc7cf FieldObjectSetDirection 2017-09-10 17:04:37 -04:00
scnorton
69a1ff984d obj_unfreeze 2017-09-10 16:57:08 -04:00
scnorton
251360624a CopySprite 2017-09-10 16:53:08 -04:00
scnorton
a89da3ae31 Functions operating on the camera object 2017-09-10 16:36:19 -04:00
scnorton
4dfae8b9e4 FindCameraObject 2017-09-10 16:32:26 -04:00
scnorton
c7b1a8c3da ObjectCB_CameraObject 2017-09-10 16:13:19 -04:00
scnorton
9e0a171098 AddCameraObject 2017-09-10 16:02:20 -04:00
scnorton
5a5ea8c740 UpdateFieldObjectsForCameraUpdate 2017-09-10 15:56:03 -04:00
scnorton
d8e2238086 FieldObjectDoesZCoordMatch 2017-09-10 15:54:41 -04:00
scnorton
79b19a36b8 UpdateFieldObjectCoordsForCameraUpdate 2017-09-10 15:35:21 -04:00
scnorton
5bb5886774 npc_coords_shift_still 2017-09-10 15:14:46 -04:00
scnorton
1ed1fbab1c sub_808EBA8 2017-09-10 15:12:48 -04:00
Diegoisawesome
a1368c545d Merge remote-tracking branch 'pret/master' 2017-09-09 20:54:41 -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
5eff1d5bdb label gHealthBoxesIds 2017-09-08 22:27:27 +02: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
a55c5925a6 label gMapHeader 2017-09-08 18:31:57 +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
DizzyEggg
8bfdc42d0e name b message functions, split battle2 2017-09-07 16:35:25 +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
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
e060123648 GetAvailableFieldObjectSlot 2017-09-06 17:25:20 -04:00
DizzyEggg
cb9b14a3e5 split lilycove_lady 2017-09-06 22:27:17 +02:00
scnorton
6448563ede unref_sub_808D77C 2017-09-06 16:14:55 -04:00
DizzyEggg
d41cc4c8d0 clean a bit more ewram.txt 2017-09-06 22:01:43 +02:00
DizzyEggg
cdd36116f2 label pokemon3.s 2017-09-06 21:48:30 +02:00
DizzyEggg
33ee3115ab add glink defines from pokeruby 2017-09-06 21:18:50 +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
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
DizzyEggg
b6661e7736 name some pokemon and battle labels 2017-09-05 20:13:34 +02:00
DizzyEggg
e18241d8ec dumped a lot of strings 2017-09-05 17:04:11 +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
0b39bfb2c2 label a bit of battle transition 2017-09-04 13:46:03 +02:00
DizzyEggg
a83501f3bc find pokemon animation and recorded 2017-09-04 13:23:40 +02:00
DizzyEggg
4bf54bfdd4 split roamer and decor inventories 2017-09-04 13:01:57 +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
d09f39e971 label battle animation unknowns 2017-09-03 20:13:23 +02:00
DizzyEggg
9dedb3a8bd split more battle buffer files 2017-09-03 18:58:40 +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
d5806bfe6a label some item functions 2017-09-03 00:00:38 +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
a47face8cf split battle buffer files 2017-09-02 20:56:53 +02:00
DizzyEggg
7a831c215e decompile decompress.s 2017-09-02 19:55:39 +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
b614971cba find b scripting commands table, thx revo 2017-09-01 22:35:45 +02:00
DizzyEggg
cb12aaec65 git commit -m "label sprite for real this time"
git commit -m
2017-09-01 22:29: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
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
camthesaxman
cbe13acff1 split out battle_3.s 2017-07-29 15:18:01 -05:00
camthesaxman
16d30072cb fix the alignment, maybe? 2017-07-28 19:53:49 -05:00
camthesaxman
b89f1431f8 stop optimizing literal pool loads 2017-07-28 19:26:59 -05:00
Diegoisawesome
b95747dc69 Begin disassembling window.s 2017-03-29 19:02:15 -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
20358c4c96 Begin disassembling text.s 2017-03-07 07:44:41 -06:00
ProjectRevoTPP
b2ec63d69e resolve implicit declarations and enforce warnings as errors 2017-03-05 13:27:22 -06: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
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
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
YamaArashi
0f27bfba8d split more code 2017-01-15 17:14:00 -08:00
YamaArashi
c01a3f4285 rename some functions to match pokeruby 2017-01-14 17:33:43 -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
2f76de380c placeholder strings 2017-01-14 02:22:08 -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
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
f5743c7d6f Ported libmks4agb from pokeruby 2016-11-01 21:48:22 -05: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
Diegoisawesome
67ac6db95e Finish port of agb_flash 2016-11-01 17:36:43 -05:00
YamaArashi
652600ba5d use ramscrgen 2016-11-01 17:36:37 -05:00
Diegoisawesome
7dad2846f8 Port agb_flash from pokeruby 2016-11-01 14:15:48 -05:00
YamaArashi
734ec8dd51 use ramscrgen 2016-11-01 12:10:55 -07:00
YamaArashi
6f0e42a91a split asm files 2016-11-01 10:16:34 -07:00
YamaArashi
fef81187dc add address of main function 2016-11-01 09:51:03 -07:00
YamaArashi
a793e62d83 .s -> .inc 2016-11-01 08:29: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
6874afafe5 contest AI 2016-09-03 15:27:28 -07:00
YamaArashi
231ea2f27c base_emerald to baserom 2016-09-03 15:07:51 -07:00
YamaArashi
13a00040d7 eliminate libgcc.s 2016-09-03 04:11:10 -07:00
YamaArashi
c9b1c40b86 split out graphics data 2016-09-03 03:03:50 -07:00
YamaArashi
8866801ef9 make it build 2016-09-03 02:20:49 -07:00
YamaArashi
b12e80fc04 split asm/emerald.s 2016-09-03 01:11:14 -07:00
YamaArashi
a05857f889 make asm compatible with stock gas 2016-09-02 23:11:29 -07:00
YamaArashi
f910e326a1 new charmap 2016-09-02 22:27:57 -07:00
YamaArashi
92fa2f05f4 update pokedex entries for preproc 2016-09-02 22:10:43 -07:00
YamaArashi
7bef2a2783 convert comments (; -> @) 2016-09-02 19:51:16 -07:00
YamaArashi
b4781cdf03 gpu_regs.c 2016-01-08 01:08:16 -08:00
YamaArashi
4e95a13295 update asm 2016-01-07 23:27:40 -08:00
YamaArashi
cf8f490381 begin compiling C source in the build process 2016-01-07 00:45:06 -08:00
YamaArashi
b18325fc3e fix last @ local label 2016-01-06 21:24:27 -08:00
YamaArashi
c14df031ad use $ for local labels 2016-01-06 20:44:58 -08:00
YamaArashi
8c312b28ab get rid of @ local labels 2016-01-06 20:23:20 -08:00
YamaArashi
b116b3cb2e update disasm with function data from idb 2016-01-03 07:04:11 -08:00
YamaArashi
54c7ef9fc6 naming/renaming some field object functions 2015-12-29 18:41:57 -08:00
YamaArashi
fe1076d42c update graphics function disasm 2015-12-03 00:17:29 -08:00
YamaArashi
4339dc18fc clean bg and core function names 2015-11-29 23:20:00 -08:00
YamaArashi
e84b5c5eef trainer pic indices 2015-11-28 22:12:14 -08:00
YamaArashi
f8504f2c9c new game Birch pic 2015-11-28 21:21:42 -08:00
YamaArashi
fe5e75ac8f update window, text, and main menu disasm 2015-11-28 19:28:41 -08:00
YamaArashi
03778a4c06 split out main menu (and Birch speech) 2015-11-28 19:26:45 -08:00
YamaArashi
54640ba0bf remove unnecessary '.align' before '.pool' 2015-11-27 19:38:13 -08:00
YamaArashi
716991410a RTC data 2015-11-27 19:14:13 -08:00
YamaArashi
d4cbc7e468 split out RTC functions 2015-11-27 18:54:15 -08:00
YamaArashi
9eabe80048 name game's RTC functions 2015-11-27 18:50:30 -08:00
YamaArashi
244ae4c8b8 name GPIO registers 2015-11-27 15:46:51 -08:00
YamaArashi
ddc1ae2fed name RTC lib functions 2015-11-27 15:32:24 -08:00
YamaArashi
08c0c508cf name unknown library as 'librtc' 2015-11-27 15:30:41 -08:00
YamaArashi
13340a9d82 split out tileset animation code 2015-11-27 09:39:52 -08:00
YamaArashi
144bab20ce name tileset functions 2015-11-27 09:34:59 -08:00
YamaArashi
6105801ee7 split out multiboot.s 2015-11-27 02:19:02 -08:00
YamaArashi
85036fe67f partially comment GameCube multi-boot library 2015-11-27 01:33:50 -08:00
YamaArashi
0e3464ffa0 name unknown lib as 'libgcnmultiboot' (GameCube multi-boot) 2015-11-26 18:37:35 -08:00
YamaArashi
5ce2d43498 field effect graphics and scripts 2015-11-25 16:43:06 -08:00
YamaArashi
f7a92b9a95 string ref charmap consts and field effect script macros 2015-11-24 18:04:56 -08:00
YamaArashi
3565d5ea5b split out string utility code 2015-11-24 12:35:16 -08:00
YamaArashi
e417efb820 split out string utility data 2015-11-24 12:29:15 -08:00
YamaArashi
c0502849fa powers of ten 2015-11-24 12:05:08 -08:00
YamaArashi
9968f7fbf8 update disasm 2015-11-24 11:59:32 -08:00
YamaArashi
69d1b312f6 title screen background tiles and palettes 2015-11-24 01:41:14 -08:00
YamaArashi
3e95160b25 tilesets 2015-11-22 15:29:11 -08:00
YamaArashi
08210ef39e field object data 2015-11-21 01:39:40 -08:00
YamaArashi
f978097c69 field object PNGs and palettes (without .s files yet) 2015-11-19 08:38:21 -08:00
YamaArashi
43dae25742 berry PNGs and palettes 2015-11-14 16:32:02 -08:00
YamaArashi
e205a499de renamed trainer pic to trainer front pic 2015-11-14 07:44:13 -08:00
YamaArashi
3d1b6597f3 trainer back pics 2015-11-08 14:13:45 -08:00
YamaArashi
a221c035f8 trainer graphics labels 2015-11-08 12:47:49 -08:00
YamaArashi
ab7ab10c72 trainer data 2015-11-08 11:41:34 -08:00
YamaArashi
d46221aad1 item graphics labels 2015-11-07 19:25:31 -08:00
YamaArashi
795246a93d pokemon graphics labels 2015-11-07 15:09:26 -08:00
YamaArashi
6292ec87fc berry data table 2015-10-30 19:04:45 -07:00
YamaArashi
72f13c0b51 berry firmness strings 2015-10-30 10:34:16 -07:00
YamaArashi
832b0b525f wild pokemon data
- Thanks to Sanqui for many Ruby/Sapphire names. https://github.com/Sanqui/romhacking/blob/master/pokemon/location-area-names
2015-10-25 22:56:06 -07:00
YamaArashi
269cda7ac9 remove "+1" from function pointer labels 2015-10-20 23:52:50 -07:00
YamaArashi
e771d87c78 move script command function table to separate file 2015-10-20 23:41:19 -07:00
yenatch
316be8337a truncate nonexistent command macros 2015-10-20 10:21:48 -07:00
yenatch
cd857e0e84 fix a broken comment and a repeated command name 2015-10-20 09:55:59 -07:00
yenatch
8fb91c74b2 add event script macros 2015-10-19 09:42:57 -07:00
YamaArashi
e17df124ff Hoenn region map entries 2015-10-18 05:11:30 -07:00
YamaArashi
b948fcbb0d pickup items 2015-10-18 02:17:47 -07:00
YamaArashi
d17f3b9746 battle arena move mind ratings 2015-10-18 01:15:48 -07:00
YamaArashi
89fdfa4811 move lists that determine battle factory battle style hint 2015-10-18 00:35:42 -07:00
YamaArashi
09084cf977 battle pyramid wild pokemon 2015-10-17 23:01:19 -07:00
YamaArashi
147ba4adc0 battle frontier/tent pokemon 2015-10-17 21:25:28 -07:00
YamaArashi
b9e336cf8b battle frontier/tent trainers 2015-10-17 18:50:43 -07:00
YamaArashi
b189af94cc use fewer easy chat macros 2015-10-16 21:58:26 -07:00
YamaArashi
22bafa45ca use macros for easy chat words 2015-10-16 17:32:39 -07:00
YamaArashi
8ce02b461e easy chat words by letter 2015-10-16 16:57:46 -07:00
YamaArashi
fc49fe46fd easy chat words 2015-10-16 12:33:20 -07:00
YamaArashi
009d9f877b easy chat group names 2015-10-15 00:50:43 -07:00
YamaArashi
a6f32421bb renaming 2015-10-14 14:37:16 -07:00
YamaArashi
27061f496e contest move effect func ptr table 2015-10-14 14:20:40 -07:00
YamaArashi
078afb798e contest move effects 2015-10-14 13:26:49 -07:00
YamaArashi
dd8f08f8a8 some contest text 2015-10-14 13:17:58 -07:00
YamaArashi
6dd8d212c6 contest move data 2015-10-14 10:40:52 -07:00
YamaArashi
b6e95f52d6 battle move data 2015-10-14 06:57:02 -07:00
YamaArashi
15deec2511 dumped item data 2015-10-14 03:12:21 -07:00
YamaArashi
f678112ce1 nature stat table 2015-10-13 06:59:37 -07:00
YamaArashi
654b3eef7c preliminary dump of item effect data 2015-10-13 02:12:21 -07:00
YamaArashi
ed64ddfb34 spinda spot graphics data 2015-10-12 23:07:18 -07:00
YamaArashi
f381883b5d Documented the name stored in an egg's data.
The Japanese word for egg is stored in an egg's name field when it's
created, but the name is not shown.
2015-10-12 21:35:15 -07:00
YamaArashi
79f2988694 egg moves 2015-10-12 20:26:16 -07:00
YamaArashi
fb02626f1e tm/hm learnsets 2015-10-12 18:53:18 -07:00
YamaArashi
d5b5623de7 evolution table 2015-10-12 18:08:47 -07:00
YamaArashi
bfae72bf1d level up learnsets 2015-10-12 16:14:45 -07:00
YamaArashi
54183f2d07 pokemon base stats 2015-10-12 13:08:49 -07:00
YamaArashi
6c87e0143d item descriptions 2015-10-11 22:14:07 -07:00
YamaArashi
c608a399db experience tables 2015-10-11 19:42:50 -07:00
YamaArashi
7b95d1ff81 pokedex data 2015-10-11 17:59:52 -07:00
YamaArashi
e67ef58403 ribbon descriptions 2015-10-11 14:30:45 -07:00
YamaArashi
7a16daf6ee add move descriptions 2015-10-11 11:16:52 -07:00
YamaArashi
63ee844510 ability descriptions 2015-10-11 03:06:48 -07:00
YamaArashi
5f550963fa nature names 2015-10-11 02:11:27 -07:00
YamaArashi
bc7f744daa ability names 2015-10-11 01:46:54 -07:00
YamaArashi
52c9f4a7dc type names 2015-10-11 01:20:41 -07:00
YamaArashi
1874db5e8a add trainer class names 2015-10-10 22:52:58 -07:00
YamaArashi
9fa2098029 add pokemon and move names, plus pokemon constants 2015-10-10 21:03:09 -07:00
YamaArashi
fcaed9692f I/O reg constants for dma3_manager.s 2015-10-10 10:28:00 -07:00
YamaArashi
ad6c576199 add WRAM symbols for DMA3 manager 2015-10-10 10:22:31 -07:00
YamaArashi
8cb7dcb2da add I/O register constants 2015-10-10 10:06:17 -07:00
YamaArashi
14a95252f8 create constants dir 2015-10-10 08:43:47 -07:00
YamaArashi
fd6e15b70a use .4byte and .2byte everywhere 2015-10-10 08:37:51 -07:00
YamaArashi
725956695b add labels for unknown ROM data 2015-10-10 05:20:38 -07:00
YamaArashi
e329fff4a2 make more labels into local labels 2015-10-10 03:50:53 -07:00
YamaArashi
ba0829d751 remove more manual literal pools 2015-10-10 03:41:19 -07:00
YamaArashi
98f62d9dfa remove unnecessary .arm and .thumb directives 2015-10-10 03:27:41 -07:00
YamaArashi
41013b2feb update for modified assembler 2015-10-10 03:15:57 -07:00
YamaArashi
c21b61688e add pokedex order data 2015-10-09 00:43:11 -07:00
YamaArashi
2f245f08c5 make data dir 2015-10-08 02:07:23 -07:00
YamaArashi
c467da924b make includes relative to the base dir 2015-10-08 02:03:14 -07:00
YamaArashi
57ce369ccf add missed font label 2015-10-08 00:27:41 -07:00
YamaArashi
f7aa4ad144 add font labels 2015-10-08 00:21:20 -07:00
YamaArashi
3d692070f7 add menu cursor dimension data 2015-10-07 18:30:49 -07:00
YamaArashi
dc8e2ebc13 change name of glyph width functions 2015-10-07 18:24:21 -07:00
YamaArashi
0f1e6fbfa4 add text renderer data 2015-10-07 06:48:45 -07:00
YamaArashi
69f436b393 add down arrow tiles data 2015-10-06 22:05:11 -07:00
YamaArashi
2b1c03dd2e replace unknown addresses with labels 2015-10-06 21:41:57 -07:00
YamaArashi
f64303defa add font half row offsets data and more 2015-10-06 21:24:58 -07:00
YamaArashi
770b750c37 change interrupt table address to label 2015-10-06 20:45:31 -07:00
YamaArashi
025bb6a8b9 add interrupt table and other data 2015-10-06 20:41:59 -07:00
YamaArashi
65228e6fb8 add type signatures
- many of these probably have mistakes
2015-10-06 20:15:42 -07:00
YamaArashi
dc52bd0d85 split out task.s 2015-10-06 19:12:31 -07:00
YamaArashi
61abdbe445 split out libraries 2015-10-06 07:00:49 -07:00
YamaArashi
25342bcf33 split out some code 2015-10-06 05:46:30 -07:00
YamaArashi
b05c4231a9 use .pool instead of manual literal pool in most cases 2015-10-05 19:15:37 -07:00
YamaArashi
064051d247 use more constants in InterruptMain 2015-10-05 06:53:39 -07:00
YamaArashi
9024595c93 split out files and add build batch file 2015-10-05 06:03:59 -07:00
YamaArashi
7f3c790d09 make asm directory 2015-10-05 05:52:26 -07:00