mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 10:46:05 +00:00
add dialogue bug fixes
This commit is contained in:
parent
4aee355314
commit
c775495e1f
@ -104,10 +104,8 @@ export const FightOrFlightEncounter: IMysteryEncounter =
|
|||||||
const primaryPokemon = encounter.options[1].primaryPokemon;
|
const primaryPokemon = encounter.options[1].primaryPokemon;
|
||||||
if (primaryPokemon) {
|
if (primaryPokemon) {
|
||||||
// Use primaryPokemon to execute the thievery
|
// Use primaryPokemon to execute the thievery
|
||||||
encounter.options[1].dialogue.buttonLabel = `${namespace}:option:2:label_special`;
|
|
||||||
encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip_special`;
|
encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip_special`;
|
||||||
} else {
|
} else {
|
||||||
encounter.options[1].dialogue.buttonLabel = `${namespace}:option:2:label`;
|
|
||||||
encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip`;
|
encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@ export const fightOrFlightDialogue = {
|
|||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
label: "Steal the item",
|
label: "Steal the item",
|
||||||
label_special: "{{option2PrimaryName}} can help",
|
|
||||||
tooltip: "@[SUMMARY_GREEN]{(35%) Steal Item}\n@[SUMMARY_BLUE]{(65%) Harder Battle}",
|
tooltip: "@[SUMMARY_GREEN]{(35%) Steal Item}\n@[SUMMARY_BLUE]{(65%) Harder Battle}",
|
||||||
tooltip_special: "(+) {{option2PrimaryName}} uses {{option2PrimaryMove}}",
|
tooltip_special: "(+) {{option2PrimaryName}} uses {{option2PrimaryMove}}",
|
||||||
good_result: `.@d{32}.@d{32}.@d{32}
|
good_result: `.@d{32}.@d{32}.@d{32}
|
||||||
|
Loading…
Reference in New Issue
Block a user