Play select SFX when moving cursor between starter Pokemon choices
This commit is contained in:
@@ -1199,6 +1199,7 @@ class Game {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_renderStarterCursor() {
|
_renderStarterCursor() {
|
||||||
|
SFX.select();
|
||||||
const btns = document.querySelectorAll('.starter-btn');
|
const btns = document.querySelectorAll('.starter-btn');
|
||||||
btns.forEach((btn, i) => {
|
btns.forEach((btn, i) => {
|
||||||
btn.classList.toggle('starter-btn-selected', i === (this._starterCursor||0));
|
btn.classList.toggle('starter-btn-selected', i === (this._starterCursor||0));
|
||||||
|
|||||||
Reference in New Issue
Block a user