100 Commits

Author SHA1 Message Date
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 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 273d040646 Merge pull request #191 from blingenau/master
Fixed MapsHandlr in comments
2016-04-02 19:06:12 -04: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
Josh Goldberg 32eac16931 Merge pull request #188 from blingenau/master
Fixing an error in documentation
2016-03-06 10:33:13 -08:00
Blake Lingenau cc062cfaed Fixing an error in documentation 2016-03-06 13:31:25 -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
Josh Goldberg aec253ac76 Brought in updated GameStartr
onSpawn and onUnspawn are optional now (as per AreaSpawnr).
2016-02-17 21:17:55 -08:00
Josh Goldberg 94decb0b84 Renamed IBattleInfo to IBattleThingsInfo 2016-01-12 12:11:50 -08:00
Josh Goldberg 2ffde91741 Documented through animations, before cutscenes 2016-01-12 12:10:40 -08:00
Josh Goldberg 80c2140ce3 Documented FullScreenPokemon.ts through animations
Also brought in updated StateHoldr
2016-01-11 16:26:07 -08: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 8631034672 Brought in documented PixelRendr, MenuGraphr 2016-01-09 17:16:34 -08:00
Josh Goldberg 8a7315ae76 Brought in updated modules, particularly GameStartr
Mostly documentation updates. "statistics" has been renamed to "items".
2016-01-08 20:45:26 -08:00
Josh Goldberg 4303270a03 Brought in updated modules, UsageHelpr
help.ts now contains the help settings that used to be in ui.js.
2016-01-01 21:01:42 -05:00
Josh Goldberg 58f42e031a Brought in a few modules with more docs 2015-12-31 22:38:18 -05:00
Josh Goldberg c0151e1a3f Brought in recent module updates
MapsHandlr renamed to AreaSpawnr, TS builds upgraded to two-step (source
and distribution). Many commented modules.
2015-12-29 15:57:21 -05:00
Josh Goldberg 36ff3e169f Gave up on quadrant-based refilling
Brought in some module updates too.
https://github.com/FullScreenShenanigans/StyleGuidr/issues/6
2015-12-18 20:05:45 -08:00
Josh Goldberg 176430641d Brought in further JSDoc-ed modules
Up through WorldSeedr's SpacingCalculator (not that FSP uses it yet).
2015-12-16 23:39:25 -08:00
Josh Goldberg 6aefd84325 Brought in updated modules
Also fixed the name in Gruntfile.
2015-12-15 08:34:12 -08:00
Josh Goldberg 2bff10d76d Brought a bunch of module code style improvements 2015-12-13 20:22:29 -08:00
Josh Goldberg e77290f1bf Fixed overlapping theme sounds
FSP was only ever calling AudioPlayer.play, not playTheme. Fixes #87.

Also spruced up some AudioPlayr code style.
2015-12-12 14:50:09 -08:00