main.js
//original function i used to change the pfp on button click that i kept and fed into other functions
original function i used to change the pfp on button click that i kept and fed into other functions
original function i used to change the pfp on button click that i kept and fed into other functions
function onChangePFP1 () {
let currentPokemon = document.getElementById("dropdown1").value
let currentFacial = 'neutral'
changePFP (currentPokemon, currentFacial)
getOptions2(currentPokemon)
document.getElementById("myTextArea").value = baseText[currentPokemon];
}
function onChangePFP1 ( ) { let currentPokemon = document . getElementById ( "dropdown1" ) . value let currentFacial = 'neutral' changePFP ( currentPokemon , currentFacial ) getOptions2 ( currentPokemon ) document . getElementById ( "myTextArea" ) . value = baseText [ currentPokemon ] ; }
original function i used to change the pfp on button click that i kept and fed into other functions
original function i used to change the pfp on button click that i kept and fed into other functions