summaryrefslogtreecommitdiff
path: root/src/field_effect_helpers.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2018-12-09 11:56:50 +0100
commit4683cdc30cbe81db56b69dfeb7a1fb32fe6641e2 (patch)
treec7c791620bcb6849a24b549b4a5c48abec281c10 /src/field_effect_helpers.c
parent606fb71392651dac4f5f8773c4117f35de7b087e (diff)
parent0b91d2948a431a5d44166544897a550061c01a31 (diff)
Merge branch 'master' into weather
Diffstat (limited to 'src/field_effect_helpers.c')
-rwxr-xr-xsrc/field_effect_helpers.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/field_effect_helpers.c b/src/field_effect_helpers.c
index a68a72c76..3046eccd5 100755
--- a/src/field_effect_helpers.c
+++ b/src/field_effect_helpers.c
@@ -1007,15 +1007,15 @@ void UpdateSurfBlobFieldEffect(struct Sprite *sprite)
static void SynchroniseSurfAnim(struct EventObject *eventObject, struct Sprite *sprite)
{
u8 surfBlobDirectionAnims[] = {
- 0, // DIR_NONE
- 0, // DIR_SOUTH
- 1, // DIR_NORTH
- 2, // DIR_WEST
- 3, // DIR_EAST
- 0,
- 0,
- 1,
- 1,
+ [DIR_NONE] = 0,
+ [DIR_SOUTH] = 0,
+ [DIR_NORTH] = 1,
+ [DIR_WEST] = 2,
+ [DIR_EAST] = 3,
+ [DIR_SOUTHWEST] = 0,
+ [DIR_SOUTHEAST] = 0,
+ [DIR_NORTHWEST] = 1,
+ [DIR_NORTHEAST] = 1,
};
if (sub_8155640(sprite) == 0)