Browse Source

Fixed Cosplay Pikachu not being properly sorted

old
Jean 11 months ago
parent
commit
8d3b57bbab
Signed by: easthighNerd <jean@easthighnerd.net> GPG Key ID: F4B3EACD21AEFFF4
6 changed files with 15 additions and 0 deletions
  1. +15
    -0
      pokemon-global_link.sh
  2. +0
    -0
      res/img/pokemon/global-link/025-belle.png
  3. +0
    -0
      res/img/pokemon/global-link/025-libre.png
  4. +0
    -0
      res/img/pokemon/global-link/025-phd.png
  5. +0
    -0
      res/img/pokemon/global-link/025-pop-star.png
  6. +0
    -0
      res/img/pokemon/global-link/025-rock-star.png

+ 15
- 0
pokemon-global_link.sh View File

@@ -58,6 +58,21 @@ while [[ "${DEX_NUMBER}" -le "99" ]]; do
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-mega-y.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-mega-y.png
fi
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-belle.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-belle.png
fi
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-libre.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-libre.png
fi
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-phd.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-phd.png
fi
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-pop-star.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-pop-star.png
fi
if [[ -f "${GLOBAL_LINK_DIR}/pokemon/global-link/${DEX_NUMBER}-rock-star.png" ]]; then
mv "${GLOBAL_LINK_DIR}"/pokemon/global-link/{,0}${DEX_NUMBER}-rock-star.png
fi

DEX_NUMBER="$(bc<<<${DEX_NUMBER}+1)"
done


res/img/pokemon/global-link/25-belle.png → res/img/pokemon/global-link/025-belle.png View File


res/img/pokemon/global-link/25-libre.png → res/img/pokemon/global-link/025-libre.png View File


res/img/pokemon/global-link/25-phd.png → res/img/pokemon/global-link/025-phd.png View File


res/img/pokemon/global-link/25-pop-star.png → res/img/pokemon/global-link/025-pop-star.png View File


res/img/pokemon/global-link/25-rock-star.png → res/img/pokemon/global-link/025-rock-star.png View File


Loading…
Cancel
Save