Added more sound effects

This commit is contained in:
Maruno17
2023-07-29 20:08:31 +01:00
parent 1c860a5544
commit 9a42b533f1
21 changed files with 149 additions and 103 deletions

View File

@@ -1054,7 +1054,7 @@ class PokemonPokedex_Scene
break
elsif Input.trigger?(Input::USE)
if index == -2 # OK
pbPlayDecisionSE
pbSEPlay("GUI pokedex open")
ret = selindex
break
elsif index == -3 # Cancel
@@ -1177,7 +1177,7 @@ class PokemonPokedex_Scene
pbPlayCloseMenuSE
break
elsif Input.trigger?(Input::USE)
pbPlayDecisionSE if index != 9
pbSEPlay("GUI pokedex open") if index != 9
case index
when 0 # Choose sort order
newparam = pbDexSearchCommands(0, [params[0]], index)
@@ -1264,21 +1264,20 @@ class PokemonPokedex_Scene
pbRefresh
end
if Input.trigger?(Input::ACTION)
pbPlayDecisionSE
pbSEPlay("GUI pokedex open")
@sprites["pokedex"].active = false
pbDexSearch
@sprites["pokedex"].active = true
elsif Input.trigger?(Input::BACK)
pbPlayCloseMenuSE
if @searchResults
pbPlayCancelSE
pbCloseSearch
else
pbPlayCloseMenuSE
break
end
elsif Input.trigger?(Input::USE)
if $player.seen?(@sprites["pokedex"].species)
pbPlayDecisionSE
pbSEPlay("GUI pokedex open")
pbDexEntry(@sprites["pokedex"].index)
end
end