Commit Graph

14 Commits

Author SHA1 Message Date
Josh Goldberg 66429140a8 Marking issue #96 as to-do
More logic required.
2015-11-30 07:56:00 -08:00
Josh Goldberg 8bf07d92bc Added removePreThing to FSP
Looks like it's deleting the whole terrain...
2015-11-29 15:59:30 -08:00
Josh Goldberg f775d0ab65 Converted maps.js to maps.ts
Also fixed a few tslint errors.
2015-11-29 15:51:03 -08:00
Josh Goldberg 4606990207 Fix for trainers not walking to players
Distance between was being computed as NaN. Fixes #109.
2015-11-29 15:21:42 -08:00
Josh Goldberg e50af46b29 Fixed line-of-sights not triggering properly
Fixes #108. Also corrects direction being faced by trainers, an exposed
bug.
2015-11-29 12:50:54 -08:00
Josh Goldberg 32e1e27a0b Fixed "Complete" cutscene playing on battle close
The simple fix for #97 was that .bind usage was causing setMap's
noEntrance to be truthy. Fixing this exposed a bug:
cutsceneBattleComplete was never being called.

Fixed #97.
2015-11-29 12:32:50 -08:00
Josh Goldberg fc1771c3c7 Added basic time measurementts
Fixes #102.

This doesn't account for pause menu, which shouldn't increase in-game
time. Issue #??? created to account for that.
2015-11-29 12:13:03 -08:00
Josh Goldberg dc71bb11c6 Fixes for assorted menus.ts related breakages
Fleshed out replacement functions for badges.length and pokedex.length.
Also fixed accidental capitalization of Nidoran names and more
capitalization in FullScreenPokemon.ts.
2015-11-29 10:28:29 -08:00
Josh Goldberg e3a08642a4 Small tslint fixes 2015-11-29 06:39:03 -08:00
Josh Goldberg cc1e489811 Finished migrating names to uppercase
Fixes #105.

Hopefully...
2015-11-29 06:29:37 -08:00
Josh Goldberg eddbcae750 Updated math.js to math.ts, with definitions
Fixes #104. Incidentally updated grunt-typescript to 0.8.
2015-11-29 03:03:25 -08:00
Josh Goldberg e8817e5436 Fix for player's shadow having the player's id 2015-11-28 17:04:20 -08:00
Josh Goldberg fa89a4437b Added event.preventDefault to canInputsTrigger
Fixes #103. Also a regression in animateFadeFromColor.
2015-11-28 14:26:55 -08:00
Josh Goldberg 3af9a35dbd Separated settings/maps.js into settings/maps/...js
Updated grunt, tests, and gitignore to go with it. This is the same
change as FullScreenMario.
2015-11-27 20:04:01 -08:00