Registration does work 100%, i think on your end you might have forgotten to configure the database information located at "templates/config.php", the registration on my end did not work until i configured it, because the files were trying to connect to the MySQL using an incorrect credentials that it could not connect to submit the data.
Edit:
game is trying to connect via WebSocket to "ws://localhost:8082/game" i don't see any files with "game" to receive the websocket outputs and etc. i'll keep looking and try to figure it out.
Edit:
So I took a look at "http://pokemonlegends.com" created an account and logged in and viewed their sources the "js/pages/explore_src.min.js" is exactly the same as the one provided with few modifications instead of
Code:
connect("ws://localhost:8082/game");
it is replaced with
Code:
websocket_url = 'wss://www.pokemonlegends.com:8081/game'
connect(websocket_url);
overall i don't believe these files contain the server part of the game the only thing you can use these files for are for offline single player or try to reverse it and recreate the server side.