From 46ab65200da23738540036a299b7a022b332bfc3 Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Wed, 11 Jun 2025 18:29:46 -0400 Subject: [PATCH] ac_npc_shasho: use enum for NPC animations --- src/actor/npc/ac_npc_shasho_move.c_inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/actor/npc/ac_npc_shasho_move.c_inc b/src/actor/npc/ac_npc_shasho_move.c_inc index 4ec83b90..c7ae2c6e 100644 --- a/src/actor/npc/ac_npc_shasho_move.c_inc +++ b/src/actor/npc/ac_npc_shasho_move.c_inc @@ -1,6 +1,9 @@ static void aNSS_set_animation(ACTOR* actorx, int action) { - static int seq_no[] = { 1, 1, 0x36, 1, 0x3B, 0x36, 1, 0x3B, 1, 1 }; - NPC_CLIP->animation_init_proc(actorx, seq_no[action], 0); + static int seq_no[] = { + aNPC_ANIM_WALK1, aNPC_ANIM_WALK1, aNPC_ANIM_OPEN_D1, aNPC_ANIM_WALK1, aNPC_ANIM_TO_DECK_D1, + aNPC_ANIM_OPEN_D1, aNPC_ANIM_WALK1, aNPC_ANIM_TO_DECK_D1, aNPC_ANIM_WALK1, aNPC_ANIM_WALK1, + }; + NPC_CLIP->animation_init_proc(actorx, seq_no[action], FALSE); } static void aNSS_set_walk_spd(NPC_SHASHO_ACTOR* shasho_actor) {