mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
- Add comments to describe actions
- Add comments to describe actions
This commit is contained in:
parent
d56540b581
commit
f1964baff2
@ -519,7 +519,7 @@ export class ModifierSelectUiHandler extends AwaitableUiHandler {
|
||||
success = this.setCursor(0);
|
||||
}
|
||||
break;
|
||||
case Button.CYCLE_SHINY:
|
||||
case Button.CYCLE_SHINY: // R key, by default to reroll the shop
|
||||
if (this.onActionInput && globalScene.money >= this.rerollCost){
|
||||
const originalOnActionInput = this.onActionInput;
|
||||
this.awaitingActionInput = true;
|
||||
@ -527,7 +527,7 @@ export class ModifierSelectUiHandler extends AwaitableUiHandler {
|
||||
originalOnActionInput(0, 0);
|
||||
}
|
||||
break;
|
||||
case Button.CYCLE_ABILITY:
|
||||
case Button.CYCLE_ABILITY: // E key, by default to lock rarity
|
||||
if (this.onActionInput && this.lockRarityButtonContainer.visible) {
|
||||
const originalOnActionInput = this.onActionInput;
|
||||
this.awaitingActionInput = true;
|
||||
|
Loading…
Reference in New Issue
Block a user