Commit Graph

996 Commits

Author SHA1 Message Date
Josh Goldberg c60e8ce72d test:coverage 2018-04-16 09:38:27 -07:00
Josh Goldberg 4d5b14d974 Started on PokeCenter computers (#690)
Adds the first menu and Bill's with closing. Nothing else.
2018-04-10 23:11:16 -07:00
Josh Goldberg a1dce5c0c9 A few small battle fixes (updates) 2018-04-08 05:48:48 -04:00
Josh Goldberg f94c97ca93 Streamlined PokeCenter tests (#679)
* Streamlined PokeCenter tests

Made menus use menugraphr@0.7.7's new `finishLinesAutomatically` for fewer manual clock ticks.

* Added `automaticallyAdvanceMenus` flag to tests
2018-04-08 03:34:51 -04:00
Josh Goldberg c1be6d7c1e Added tests for PokeCenter healing (#675)
Moved the internals of PokeCenterCutscene off of the old ScenePlayr routine structure. They're just regular callbacks now.
The tests themselves are a bit unweildy: they do fancy math to try to anticipate how long things take in the cutscene. I can't think of a better way for now.

As a workaround to make the tests not take 500ms, set `framerateSkip` in the stubbed games to `9000001`.  Stops the game from redrawing on subsequent ticks.
2018-04-08 01:41:16 -04:00
Josh Goldberg 379660458b Generalized wild Pokemon encounters to caves and surfing (#673)
* Generalized wild Pokemon encounters to caves (walking) and surfing (water)

Uses `AreaGate`s to mark an `activeArea` on the game's `MapScreenr`. No longer needed to keep track of map & area from spawned Things.

* Merge branc h'master'

* Missing semicolon
2018-04-08 01:40:58 -04:00
Josh Goldberg b6f5c59351 .github 2018-04-08 01:24:19 -04:00
Josh Goldberg 46d5ec1511 Merge branch 'master' of https://github.com/FullScreenShenanigans/fullscreenpokemon 2018-04-07 15:59:29 -04:00
Josh Goldberg 516187821e Added new shenanigans-manager docs for maps 2018-04-07 15:59:16 -04:00
Josh Goldberg 78e5f1f6e9 chore(package): update tsutils to version 2.26.1 (#678) 2018-04-05 16:30:49 -04:00
Josh Goldberg b32b152f56 chore(package): update tsutils to version 2.26.0 (#677) 2018-04-04 12:21:19 -04:00
Josh Goldberg 5efa527adc chore(package): update @types/react to version 16.3.5 (#676) 2018-04-04 12:11:11 -04:00
Josh Goldberg 3501dca071 Re-added runner settings defaults to createGamesRunner (#674) 2018-04-03 18:52:15 -07:00
Josh Goldberg 63df488eb5 chore(package): update @types/react to version 16.3.1 (#672) 2018-04-02 10:43:09 -07:00
Josh Goldberg 1766b22c8a Removed now-redundant parts of MenuGraphr schemas (#667)
* Removed now-redundant parts of MenuGraphr schemas

* Bumped MenuGraphr to 0.7.5

* menugraphr@0.7.6
2018-04-01 20:34:36 -07:00
Josh Goldberg 9144980614 chore(package): update tsutils to version 2.25.1 (#669) 2018-04-01 20:21:20 -07:00
Josh Goldberg c66460839b Nitpicked MoveAdder.test.ts (#668) 2018-04-01 20:14:32 -07:00
greenkeeper[bot] 370af33699 chore(package): update stylelint-scss to version 3.0.0 (#665) 2018-03-31 16:30:14 -07:00
Machinocheese 647c8d104b Added a unit test for the new move API (#652)
* Style...?

* Fixed up some description

* Added in errors

* Intermediate stage...

* Throws errors rather than returns

* Added some new tests; fixed some style issues

* whoops
2018-03-31 16:29:55 -07:00
Machinocheese 22c45451c6 Added logic for adding battle stats (#656)
* Added logic for adding battle stats - dialog WIP

* Added logic for X Attack/Defend/Special/Speed

* Removed an accidental log/added some docs

* Added revive functionality
2018-03-31 16:25:42 -07:00
Josh Goldberg e9865285c4 chore(package): update tsutils to version 2.25.0 (#664) 2018-03-28 13:28:22 -07:00
Josh Goldberg 0babd1eacd chore(package): update tsutils to version 2.23.0 (#663) 2018-03-27 18:34:08 -07:00
Josh Goldberg 9b7f7e1a1d chore(package): update @types/react to version 16.1.0 (#662) 2018-03-27 18:33:41 -07:00
Adeet Phanse 99bba83070 Ledge fix (#658)
* starting Pokeball Status Fix

* fixing charfaint string

* adding potential NPC ledge fix

* adding potential NPC fix

* adding collision fix

* adding ledge fix

* adding border to ledge check

* adding temporary code

* adding partial fix

* fixing rendering issue

* fixing double jump issue

* updating ledge values

* trying to fix line ending

* reverting line ending change

* fixing spacing issues

* moving oldledge sprite into mountain bottom

* updating line endings

* adding comment about making sure jumping works for horizontal ledges

* Removed unnecessary line removals in Collisions.ts
2018-03-27 18:29:01 -07:00
Machinocheese c145985974 Added PP functionality (#654)
* Added PP functionality

* Changed docs

* Small nits
2018-03-25 18:19:10 -07:00