Commit Graph

188 Commits

Author SHA1 Message Date
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
c2e31f0618 sub_808F608 2017-09-13 19:21:05 -04:00
PikalaxALT
d72231379b FieldObjectIsTrainerAndCloseToPlayer 2017-09-13 19:13:44 -04: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
scnorton
c8696f1552 npc_paltag_by_palslot 2017-09-12 17:35:08 -04: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
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
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
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
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
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
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
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
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
scnorton
9498dfa71c InitFieldObjectStateFromTemplate (nonmatching, same as ruby) 2017-09-06 14:25:17 -04: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