Added follower_face macros and fixed FaceEast (both thanks to Karl)

This commit is contained in:
W1serV1ser committed 2023-03-12 16:23:15 -07:00
1 parent 260fca5b46
commit 2ac4feaa2c
2 files changed
+7

No files matched your search

+6
View File
@@ -162,5 +162,11 @@
create_movement_action figure_8, MOVEMENT_ACTION_FIGURE_8
create_movement_action fly_up, MOVEMENT_ACTION_FLY_UP
create_movement_action fly_down, MOVEMENT_ACTION_FLY_DOWN
create_movement_action follower_face_down, MOVEMENT_ACTION_FOLLOWING_POKEMON_FACESOUTH
create_movement_action follower_face_up, MOVEMENT_ACTION_FOLLOWING_POKEMON_FACENORTH
create_movement_action follower_face_left, MOVEMENT_ACTION_FOLLOWING_POKEMON_FACEWEST
create_movement_action follower_face_right, MOVEMENT_ACTION_FOLLOWING_POKEMON_FACEEAST
create_movement_action follower_shrink, MOVEMENT_ACTION_FOLLOWING_POKEMON_SHRINK
create_movement_action follower_grow, MOVEMENT_ACTION_FOLLOWING_POKEMON_GROW
create_movement_action step_end, MOVEMENT_ACTION_STEP_END
+1
View File
@@ -9768,6 +9768,7 @@ u8 MovementAction_FollowingPokemon_FaceWest_Step0(struct ObjectEvent *objectEven
u8 MovementAction_FollowingPokemon_FaceEast_Step0(struct ObjectEvent *objectEvent, struct Sprite *sprite)
{
SetObjectEventDirection(objectEvent, DIR_EAST);
RecreateObjectEvent(objectEvent, sprite);
sprite->animNum = 3;
sprite->x2 = -8;