243 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 958c4b47eb Merge pull request #231 from FullScreenShenanigans/mods
Initial mods support
2016-04-18 11:53:23 -07: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 0f3ee0bab7 Added .settings, more .events to mods in ModAttachr
onModEnable and onModDisable are now official things.
2016-04-18 12:13:53 -05:00
Josh Goldberg 7bcf348b89 Converted ui.js to ui.ts for mods 2016-04-18 09:15:47 -05:00
tsitsop d1a1d686e5 Changed all instances of var to let 2016-04-09 22:22:29 -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 ad12abaa9e Fixed occasional pausing in following walking
The problem was caused by the follower's `.shouldWalk` being
occasionally true, which triggered an `.onWalkingStart` call via
`maintainCharacters`.

Fixes #111
2016-04-08 04:01:01 -07:00
Josh Goldberg 6f3c18c251 Fixed walking glitches with player (#217)
* Stopped player from turning mid-step

Setting `.canKeyWalking` should only happen if there isn't a
nextDirection. I think.

Fixes #199
2016-04-08 02:27:29 -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
Blake Lingenau 273d040646 Merge pull request #191 from blingenau/master
Fixed MapsHandlr in comments
2016-04-02 19:06:12 -04: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
Blake Lingenau 6ee3b57c8e Switched instances of MapsHandlr to AreaSpawnr in comments 2016-04-02 17:13:30 -04:00
Blake Lingenau 6abbffd53f Copy paste error 2016-04-02 17:13:09 -04:00
Blake Lingenau 6cd905579c Merge pull request #2 from blingenau/cycling
Cycling
2016-03-29 20:21:35 -04:00
tsitsop 739f0051e9 Fixed Issues 183, 186, 187. 2016-03-27 12:09:18 -04:00