mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 01:59:20 +01:00
pokemon*.sh: minor fixes and code review
This commit is contained in:
parent
3ca3901fd2
commit
5c4ba5c207
@ -36,9 +36,9 @@ viola_nerf () {
|
||||
enter either 'nerf' or press [Enter] to keep:
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case choice in
|
||||
case ${choice} in
|
||||
[nN]erf ) HANS_EXTRA_PATH="${HANS_PATH}/Viola Nerf Files" ;;
|
||||
* ) echo "invalid choice made, keeping first gym leader's team strength" ;;
|
||||
esac
|
||||
@ -63,14 +63,14 @@ Encounter type changes the wild Pokemon availability:
|
||||
enter either 'legal', 'rebalanced' or 'insanity':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[lL]egal ) HANS_PATH="${RIIVOLUTION_DIR}/Legal version"
|
||||
viola_nerf ;;
|
||||
[rR]ebalanced ) HANS_PATH="${RIIVOLUTION_DIR}/Rebalanced version"
|
||||
viola_nerf ;;
|
||||
[iI]nsanity ) HANS_PATH="${RIIVOLUTION_DIR}/Insanity Mode"
|
||||
[iI]nsanity ) HANS_PATH="${RIIVOLUTION_DIR}/Insanity Mode" ;;
|
||||
* ) echo "invalid choice made, using 'Rebalanced version'."
|
||||
HANS_PATH="${RIIVOLUTION_DIR}/Rebalanced version"
|
||||
viola_nerf ;;
|
||||
|
@ -41,7 +41,7 @@ check_hans_files () {
|
||||
enter either 'full' or 'lite':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[fF]ull ) HANS_PATH="${RIIVOLUTION_DIR}"/Full/romfs ;;
|
||||
|
@ -41,7 +41,7 @@ check_hans_files () {
|
||||
enter either 'full' or 'lite':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[fF]ull ) HANS_PATH="${RIIVOLUTION_DIR}"/Full/romfs ;;
|
||||
|
@ -52,7 +52,7 @@ Encounter type changes the wild Pokemon availability:
|
||||
enter either 'legit', 'leveled' or '679':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[lL]egit ) HANS_EXTRA_PATH="${RIIVOLUTION_DIR}/Encounter Type/Legit Build" ;;
|
||||
|
@ -25,7 +25,7 @@ edited, and the level curve expects use of the Experience Share, which means
|
||||
that you level up very quickly. You should be hitting Level 100 by the time you
|
||||
get to the Elite Four.
|
||||
|
||||
Source: https://projectpokemon.org/forums/showthread.php?46315
|
||||
Source: https://projectpokemon.org/forums/showthread -r.php?46315
|
||||
Base ROM: Pokemon Alpha Sapphire
|
||||
Supported Versions: US, EU, JAP
|
||||
************************************************"
|
||||
@ -52,7 +52,7 @@ Encounter type changes the wild Pokemon availability:
|
||||
enter either 'legit', 'leveled' or '679':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[lL]egit ) HANS_EXTRA_PATH="${RIIVOLUTION_DIR}/Encounter Type/Legit Build" ;;
|
||||
|
@ -36,7 +36,7 @@ viola_nerf () {
|
||||
enter either 'nerf' or press [Enter] to keep:
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case choice in
|
||||
[nN]erf ) HANS_EXTRA_PATH="${HANS_PATH}/Viola Nerf Files" ;;
|
||||
@ -63,7 +63,7 @@ Encounter type changes the wild Pokemon availability:
|
||||
enter either 'legal', 'rebalanced' or 'insanity':
|
||||
"
|
||||
|
||||
read choice
|
||||
read -r choice
|
||||
|
||||
case ${choice} in
|
||||
[lL]egal ) HANS_PATH="${RIIVOLUTION_DIR}/Legal version"
|
||||
|
Loading…
Reference in New Issue
Block a user