Add color change ability, some moves, and fix mimic
This commit is contained in:
1 parent
45f73cc6ed
commit
15cfd3bad4
9 files changed
+152
-52
No files matched your search
@@ -91,7 +91,7 @@ export default class FightUiHandler extends UiHandler {
|
||||
ui.add(this.cursorObj);
|
||||
}
|
||||
|
||||
const moveset = this.scene.getPlayerPokemon().moveset;
|
||||
const moveset = this.scene.getPlayerPokemon().getMoveset();
|
||||
|
||||
const hasMove = cursor < moveset.length;
|
||||
|
||||
@@ -114,7 +114,7 @@ export default class FightUiHandler extends UiHandler {
|
||||
}
|
||||
|
||||
displayMoves() {
|
||||
const moveset = this.scene.getPlayerPokemon().moveset;
|
||||
const moveset = this.scene.getPlayerPokemon().getMoveset();
|
||||
for (let m = 0; m < 4; m++) {
|
||||
const moveText = addTextObject(this.scene, m % 2 === 0 ? 0 : 100, m < 2 ? 0 : 16, '-', TextStyle.WINDOW);
|
||||
if (m < moveset.length)
|
||||
|
||||
Reference in new issue
Block a user