97 Commits

Author SHA1 Message Date
Josh Goldberg 2cdd0f39d4 Merge pull request #234 from tsitsop/badges
Added functionality to badges for HM moves
2016-04-21 22:46:14 -07:00
tsitsop 07d81716ec Added functionality to badges for HM moves 2016-04-22 01:34:39 -04:00
Josh Goldberg 9a6283d81d Added a "Running Indoors" mod
Cycling indoors, a great and terrible thing.
2016-04-18 12:16:29 -05:00
Josh Goldberg 7bcf348b89 Converted ui.js to ui.ts for mods 2016-04-18 09:15:47 -05: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 6f4a78edf9 Smaller RCOS bug fixes (#216)
* 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

* Fixed undefined size for level up stats menu

Fixes #207

* Fixed crashes from opponent switching Pokemon

Fixes #212.

* Fixed too-tall dirt between Viridian and Route 22

Fixes #211.

* Fixed buildings having too wide bricks

Fixes #213

* Renamed statistics to items in tests.html

* Added MenuGraphr::deleteAllMenus

Used it to fix #210

* Widened the battle title menu

Fixes #209
2016-04-08 01:27:04 -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
Blake Lingenau 9678f43f50 math.ts and math.js did not match up 2016-04-06 22:25:13 -04:00
Blake Lingenau 0da872ac9c Merge pull request #4 from blingenau/cycling
math.ts and math.js did not match up
2016-04-06 22:14:38 -04:00
Blake Lingenau 83ee852afc math.ts and math.js did not match up 2016-04-06 22:14:10 -04: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 6d2b483b7a Merge remote-tracking branch 'refs/remotes/origin/master' into cycling 2016-04-02 14:37:25 -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 4709f47a3a Fixed Issues 183, 186, 187. 2016-03-26 21:28:17 -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
Josh Goldberg 705188e15a Merge pull request #181 from FullScreenShenanigans/cycling
Cycling
2016-03-01 21:29:54 -08:00
Blake Lingenau 37a032cc33 Added cycling sprite functionality/animation 2016-03-01 20:41:45 -05:00
tsitsop 2732509d1a Implemented ability to Cut CuttableTree objects. 2016-02-28 18:45:08 -05:00
Josh Goldberg dc202d0fa7 Added TS compilation to settings files in grunt
Updated GameStartr to make it work.
2016-02-27 18:46:19 -08: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
tsitsop 2530d75e8b Added CuttableTree object 2016-02-22 20:05:56 -05:00