From 5a736e7e1d4a11add742d0b2d293d9544fea3e6d Mon Sep 17 00:00:00 2001 From: Rebbecca Bishop Date: Fri, 29 Sep 2023 10:35:39 -0500 Subject: [PATCH] Fixed the Animations Naming Signed-off-by: Sigrunixia --- docs/Adding-animation-to-plugin-source.md | 2 +- src/Animations.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Adding-animation-to-plugin-source.md b/docs/Adding-animation-to-plugin-source.md index 5612963..89f229e 100644 --- a/docs/Adding-animation-to-plugin-source.md +++ b/docs/Adding-animation-to-plugin-source.md @@ -124,7 +124,7 @@ import DISAPPOINT_IMG_PIKACHU from '../animations/pikachu/pikachu_disappoint.gif ### Animations class -Within the animations export class, you will want to add your animation map. +Within the animations class, you will want to add your animation map. **Before**: ```ts diff --git a/src/Animations.ts b/src/Animations.ts index 372cacb..d5b970c 100644 --- a/src/Animations.ts +++ b/src/Animations.ts @@ -60,6 +60,7 @@ export class Animations { // Add your character to the animation map. // Replace name with your new character's name. + // Be mindful of your indentations as comment mode strips them. // // this.nameAnimationMap = { // [AnimationType.EMERGE]: EMERGE_MOTION_NAME,