mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
Using isSeen in more places
This commit is contained in:
parent
0256116ade
commit
56ef489a7b
@ -2231,8 +2231,9 @@ export default class PokedexPageUiHandler extends MessageUiHandler {
|
|||||||
const ui = this.getUi();
|
const ui = this.getUi();
|
||||||
|
|
||||||
const isFormCaught = this.isFormCaught();
|
const isFormCaught = this.isFormCaught();
|
||||||
|
const isSeen = this.isSeen();
|
||||||
|
|
||||||
if ((this.isCaught() && isFormCaught) || (this.speciesStarterDexEntry?.seenAttr && cursor === 5)) {
|
if ((this.isCaught() && isFormCaught) || isSeen) {
|
||||||
ui.showText(this.menuDescriptions[cursor]);
|
ui.showText(this.menuDescriptions[cursor]);
|
||||||
} else {
|
} else {
|
||||||
ui.showText("");
|
ui.showText("");
|
||||||
|
Loading…
Reference in New Issue
Block a user