739 Commits

Author SHA1 Message Date
Josh Goldberg 5cf54404a5 Merge pull request #230 from tsitsop/fishing
Added rods and Pokemon that can be caught fishing
2016-04-20 17:33:28 -07:00
tsitsop f47520e811 Added rods and Pokemon that can be caught fishing 2016-04-20 20:31:49 -04:00
Josh Goldberg b90d450bff Merge pull request #227 from tsitsop/fishing
Added fishing
2016-04-16 21:02:47 -04:00
tsitsop 14b8ec0f57 Added fishing 2016-04-16 21:01:01 -04:00
Josh Goldberg 40b65ff56f Merge pull request #225 from tsitsop/var-to-let
Changed all instances of var to let
2016-04-10 17:18:38 -04: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 3e7b322e4d Merge pull request #201 from blingenau/master
math.ts and math.js did not match up
2016-04-06 22:25:36 -04:00
Blake Lingenau 9678f43f50 math.ts and math.js did not match up 2016-04-06 22:25:13 -04:00
Blake Lingenau b5d116987d Merge pull request #200 from blingenau/master
math.ts and math.js did not match up
2016-04-06 22:16: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
Blake Lingenau 8a9cc0cf4d Merge pull request #3 from FullScreenShenanigans/master
Merge new commits
2016-04-06 22:02:18 -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 2ddd4605e9 Merge pull request #192 from FullScreenShenanigans/special-moves
Special moves
2016-04-02 14:35:33 -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