Commit Graph

89 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
Josh Goldberg a536b71ae3 Fixed battleInfo.keptThings inconsistencies
Super-speed characters were happening because they were repeatedly being
put into the Character group. BattleMovr's battleInfo now keeps
keptThings as an IThing[] with a collection method in FSP, so there's no
confusion with how to pass those in.

GroupHoldr's deleteObject assumed Array usage so now those
functionalities have been better worded.
2015-11-07 17:58:47 -08:00
Josh Goldberg 463aa1868d Fixes for a few cutscene errors
Added an ID to the anonymous trigger causing the Oak grass cutscene.
Fixed scoping errors for PokeCenter cutscene.

Fixes #100.
2015-10-30 20:10:02 -07:00
Josh Goldberg ad626a8fc0 Fix for blocked inputs in Viridian City mart
Fixes #94.
2015-10-30 16:24:07 -07:00
Josh Goldberg e8b6319f4c Small fixups for battle displays/dialog
HP shouldn't be hardcoded to 123 (whoops), and fainting should be
[[nickname, " fainted"]].
2015-10-30 08:18:55 -07:00
Josh Goldberg d50f934028 Small fixes for dialog stabilities
Made the GeneralText menu deleteOnFinish by default for character
dialog.

Fixed tslint too.
2015-10-29 09:54:38 -07:00
Josh Goldberg bda27e5f21 Fixed ledge hopping behavior for walking pauses
If a character stops walking on a ledge, it will correctly maintain the
velocity.

`character.walking` is now added as a flag to indicate whether a
character is walking. This is used instead of weird hesitancy checking.
2015-10-28 09:04:54 -07:00
Josh Goldberg 3fce03470f Fix for "ATTACKNORMAL" shown in level up stats 2015-10-26 18:08:51 -07:00
Josh Goldberg 9d3de9741e Fix for only one letter of name showing in battles 2015-10-26 18:06:47 -07:00
Josh Goldberg 2bfe9cd621 Fixes for following intro when player is to right
Fixes #80.
2015-10-26 09:25:15 -07:00
Josh Goldberg 9defb020a8 Fixed following to be as close as the originals
The follower's starting walking shouldn't give the 0 onStop.

Fixes #41. Fixes #42.
2015-10-26 09:01:19 -07:00
Josh Goldberg 47d0ec66f9 Fix for player being visible after following Oak
Fixes #81.

Also fixes array usage of rival's name in opening cutscene.
2015-10-26 08:46:07 -07:00