fix: gave MOVEMENT_TYPE_FOLLOW_PLAYER an initial facing direction
This commit is contained in:
parent
4056804575
commit
d12a24aef2
@ -362,7 +362,7 @@ static const bool8 sMovementTypeHasRange[NUM_MOVEMENT_TYPES] = {
|
|||||||
[MOVEMENT_TYPE_COPY_PLAYER_CLOCKWISE_IN_GRASS] = TRUE,
|
[MOVEMENT_TYPE_COPY_PLAYER_CLOCKWISE_IN_GRASS] = TRUE,
|
||||||
};
|
};
|
||||||
|
|
||||||
const u8 gInitialMovementTypeFacingDirections[] = {
|
const u8 gInitialMovementTypeFacingDirections[NUM_MOVEMENT_TYPES] = {
|
||||||
[MOVEMENT_TYPE_NONE] = DIR_SOUTH,
|
[MOVEMENT_TYPE_NONE] = DIR_SOUTH,
|
||||||
[MOVEMENT_TYPE_LOOK_AROUND] = DIR_SOUTH,
|
[MOVEMENT_TYPE_LOOK_AROUND] = DIR_SOUTH,
|
||||||
[MOVEMENT_TYPE_WANDER_AROUND] = DIR_SOUTH,
|
[MOVEMENT_TYPE_WANDER_AROUND] = DIR_SOUTH,
|
||||||
@ -444,6 +444,7 @@ const u8 gInitialMovementTypeFacingDirections[] = {
|
|||||||
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_UP] = DIR_NORTH,
|
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_UP] = DIR_NORTH,
|
||||||
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_LEFT] = DIR_WEST,
|
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_LEFT] = DIR_WEST,
|
||||||
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_RIGHT] = DIR_EAST,
|
[MOVEMENT_TYPE_WALK_SLOWLY_IN_PLACE_RIGHT] = DIR_EAST,
|
||||||
|
[MOVEMENT_TYPE_FOLLOW_PLAYER] = DIR_SOUTH,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define OBJ_EVENT_PAL_TAG_BRENDAN 0x1100
|
#define OBJ_EVENT_PAL_TAG_BRENDAN 0x1100
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user