Commit Graph

28 Commits

Author SHA1 Message Date
Josh Goldberg ce4ceaa21c Merge branch 'fishing' of https://github.com/FullScreenShenanigans/FullScreenPokemon 2016-04-25 08:11:46 -04:00
tsitsop 07d81716ec Added functionality to badges for HM moves 2016-04-22 01:34:39 -04:00
tsitsop f47520e811 Added rods and Pokemon that can be caught fishing 2016-04-20 20:31:49 -04:00
tsitsop 14b8ec0f57 Added fishing 2016-04-16 21:01:01 -04:00
Josh Goldberg 55228f2c39 RCOS bug fixes III: post-mortem (#223)
* Fixed walking flipping for NPCs

Unflip was always being called on animateCharacterSetDirection, even
though it should only be for horizontal directions.

Also cleaned up the cycle/walking speed calculators a bit. They don't
yet use prototypes, but that can come later if needed.

Fixes #218

* Correctly registered the Tail Whip attack

Fixes #215
2016-04-08 23:12:00 -04:00
Josh Goldberg ee29135216 RIP GO GO IN FLIGHT WIFI SCREW YOU (#222)
* Fixed NIDORANFemaleSymbol's natural moves

Fixes #221

* Fixed cycling going through walls

Flying through the air at hundreds of miles an hour,  with an altitude
of 37,005 feet, it is finally fixed.

Borders needed to be accounted for more accurately. Lower speeds were
fine because the player would still be found as within the region after
overlapping, but higher speeds let the player just blow past the guards.

Fixes #178

* Fix for accessible mountaintop below Route 22

Also added a negative tolBottom to the MountainTop Solid so it doesn't
get all weird walking below it.

Fixes #220

* Stopped bagActivate methods while player is walking

* Standardized default AudioPlayr volume to 1

When localStorage is cleared on a New Game, it makes sense to keep the
volume the same as the constructor's default of 1.

Fixes #219

* Fixed overlap detection for collision detectors

Fixes #202

* Added walking forward step back to surfing

It was missing as a result of the new bordering checks.

* Prevented cycling while surfing
2016-04-08 13:10:46 -07:00
Josh Goldberg f7ad5ecb08 Breaking bug fixes for RCOS (#208)
* Fixed error thrown in openPokedexListing

Fixes #203

* Moved statistics.js to items.ts

It was storing settings.statistics (old behavior) instead of
settings.items. Changing to TS required fixing the IItemsHoldrCustoms
interface to be more optional.

* Stopped ItemsHoldr from resetting default values

Fixes #206.

* Fixed improperly named function in math.ts
2016-04-07 21:03:27 -07:00
Josh Goldberg 12e7453d56 Added Surf 2016-04-03 17:26:21 -07:00
Josh Goldberg 00e70f2658 Merge pull request #193 from FullScreenShenanigans/cycling
Cycling
2016-04-02 14:55:28 -07:00
Josh Goldberg d30bfc6e6e Merge remote-tracking branch 'refs/remotes/origin/master' into special-moves 2016-04-02 14:23:33 -07:00
tsitsop 739f0051e9 Fixed Issues 183, 186, 187. 2016-03-27 12:09:18 -04:00
tsitsop 2d59dee8ca Added StrengthBoulder and partyActivateStrength to allow Strength to be used out of battle. 2016-03-02 18:29:16 -05:00
Blake Lingenau e68a1a5aa9 Added bagActivate method for items and a SelectItem 2016-03-02 17:26:44 -05:00
tsitsop 2732509d1a Implemented ability to Cut CuttableTree objects. 2016-02-28 18:45:08 -05:00
Blake Lingenau 3518d43844 Added small changes to cycling and message when you can't cycle in a
certain Area. Fixed speed problem.
2016-02-25 00:04:03 -05:00
Josh Goldberg 3feb6f93f9 Filled out most interfaces in .d.ts
Everything except IFullScreenPokemon. This is something like 1.6 lines
added of documentation, what a night.

Added an IListMenuBase interface to MenuGraphr so that FSP's IListMenu
can inherit the same grid members but not have a conflicting position
property.
2016-01-10 01:31:06 -08:00
Josh Goldberg f96a8a0e57 Fixed PokemonMenuStats for new positioning
Statistic names are stored in stetings/math.ts instead of as a static
variable (this makes more sense).
2015-12-10 08:45:16 -08:00
Josh Goldberg a24304b433 Implemented placeholder Town Map for Pokedex
There are no "*'s NEST" displays just yet, because I'll need to gather
that information. Also no fly destination.
2015-12-03 00:04:57 -08:00
Josh Goldberg 2bf6feb904 Fixed battles, Pokemon creation for string[] names
"newPokemon" no longer takes nickname as an optional parameter.
FSP.BattleMover.closeBattle is used instead of manually calling the
"Complete" routine.
Pallet Town map transports fixed to include the map
2015-12-01 08:23:45 -08:00
Josh Goldberg dc71bb11c6 Fixes for assorted menus.ts related breakages
Fleshed out replacement functions for badges.length and pokedex.length.
Also fixed accidental capitalization of Nidoran names and more
capitalization in FullScreenPokemon.ts.
2015-11-29 10:28:29 -08:00
Josh Goldberg e3a08642a4 Small tslint fixes 2015-11-29 06:39:03 -08:00
Josh Goldberg cc1e489811 Finished migrating names to uppercase
Fixes #105.

Hopefully...
2015-11-29 06:29:37 -08:00
Josh Goldberg eddbcae750 Updated math.js to math.ts, with definitions
Fixes #104. Incidentally updated grunt-typescript to 0.8.
2015-11-29 03:03:25 -08:00
Josh Goldberg 4d37051dfe Fix for Bulbasaur, Squirtle Pokedex descriptions 2015-11-05 18:50:00 -08:00
Josh Goldberg cd6abe88fc Added logic for zero or infinite power attacks
Fixes #75.

Side note, fixed capitalization issue for menu introduced in last
commit.
2015-10-24 15:50:18 -07:00