diff options
author | KDSKardabox <bollygame94@gmail.com> | 2018-12-09 13:44:41 +0530 |
---|---|---|
committer | KDSKardabox <bollygame94@gmail.com> | 2018-12-09 13:44:41 +0530 |
commit | 8712757d2454a8ee15680a658ea7df8621954bef (patch) | |
tree | 5f0ebfdccc0e22c0e52f8d223ec4889c7597569f /src/field_effect_helpers.c | |
parent | f8838491f6c46df771c5414f8b6da781294300b7 (diff) | |
parent | 0b91d2948a431a5d44166544897a550061c01a31 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/field_effect_helpers.c')
-rwxr-xr-x | src/field_effect_helpers.c | 18 |
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) |