Skip to content

Add functions#17

Open
vladslav wants to merge 1 commit into
MeltWS:masterfrom
vladslav:master
Open

Add functions#17
vladslav wants to merge 1 commit into
MeltWS:masterfrom
vladslav:master

Conversation

@vladslav

Copy link
Copy Markdown
Contributor

getMapSpawn(map,zone) {zone is optional}
getPokemonEV(pokemonName,effort) {effort is optional}

getMapSpawn(map,zone) {zone is optional}
getPokemonEV(pokemonName,effort) {effort is optional}
@Zonz

Zonz commented Dec 14, 2016

Copy link
Copy Markdown
Contributor

This is one small step for man, one giant leap towards being able to do literally anything with PROShine. You sure you don't want to add a function to brush your teeth for you too? ;)

In all seriousness though, I'd like to suggest adding some sort of function to check if a particular map is "good" for training a particular EV in, or perhaps move to the nearest map that's "good" for a particular EV. Just a thought I had while reading through some of this.

Also, the parts where it says "zone = zone or nil" and "effort = effort or nil" are unnecessary since parameters are already nil when no parameter is passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants