summaryrefslogtreecommitdiff
path: root/src/com/dabomstew/pkrandom/newgui
diff options
context:
space:
mode:
authortom-overton <tom.overton@outlook.com>2021-04-07 07:05:03 -0700
committertom-overton <tom.overton@outlook.com>2021-04-12 01:37:39 -0700
commitca46824df88f99eb7fc9917add0d5dd40d930b0d (patch)
tree57c26001a2d44a477a0a6c545de6361ffc986369 /src/com/dabomstew/pkrandom/newgui
parentc57fee4d1cbc59184c7073d5e8bcc2614c0ccf9b (diff)
Gen 4: Add Faster HP and EXP Bars Misc Tweak
Diffstat (limited to 'src/com/dabomstew/pkrandom/newgui')
-rw-r--r--src/com/dabomstew/pkrandom/newgui/Bundle.properties2
-rw-r--r--src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.form11
-rw-r--r--src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java1
3 files changed, 14 insertions, 0 deletions
diff --git a/src/com/dabomstew/pkrandom/newgui/Bundle.properties b/src/com/dabomstew/pkrandom/newgui/Bundle.properties
index b14b554..53e0eda 100644
--- a/src/com/dabomstew/pkrandom/newgui/Bundle.properties
+++ b/src/com/dabomstew/pkrandom/newgui/Bundle.properties
@@ -487,6 +487,8 @@ CodeTweaks.retainAltFormes.toolTipText=<html>Lets all party Pokemon that are in
CodeTweaks.retainAltFormes.name=Don't Revert Temporary Alt Formes
CodeTweaks.runWithoutRunningShoes.toolTipText=<html>Allows you to run before acquiring the Running Shoes.
CodeTweaks.runWithoutRunningShoes.name=Run Without Running Shoes
+CodeTweaks.fasterHpAndExpBars.toolTipText=<html>Doubles the scrolling speed of the HP and EXP bars that appear in battle.<br />In practice, this makes them scroll at the same speed as in the Gen 3 games.
+CodeTweaks.fasterHpAndExpBars.name=Faster HP and EXP Bars
CustomNamesEditorDialog.trainerNamesSP.TabConstraints.tabTitle=Trainer Names
CustomNamesEditorDialog.title=Custom Names Editor
CustomNamesEditorDialog.closeBtn.text=Close
diff --git a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.form b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.form
index 3c0d0be..f1f9161 100644
--- a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.form
+++ b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.form
@@ -3388,6 +3388,17 @@
<toolTipText resource-bundle="com/dabomstew/pkrandom/newgui/Bundle" key="CodeTweaks.runWithoutRunningShoes.toolTipText"/>
</properties>
</component>
+ <component id="52a" class="javax.swing.JCheckBox" binding="miscFasterHPAndEXPBarsCheckBox" default-binding="true">
+ <constraints>
+ <grid row="5" column="4" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+ <gridbag weightx="0.0" weighty="0.0"/>
+ </constraints>
+ <properties>
+ <enabled value="false"/>
+ <text resource-bundle="com/dabomstew/pkrandom/newgui/Bundle" key="CodeTweaks.fasterHpAndExpBars.name"/>
+ <toolTipText resource-bundle="com/dabomstew/pkrandom/newgui/Bundle" key="CodeTweaks.fasterHpAndExpBars.toolTipText"/>
+ </properties>
+ </component>
</children>
</grid>
<hspacer id="c4e06">
diff --git a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
index aebe816..4e98604 100644
--- a/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
+++ b/src/com/dabomstew/pkrandom/newgui/NewRandomizerGUI.java
@@ -280,6 +280,7 @@ public class NewRandomizerGUI {
private JCheckBox stpPercentageLevelModifierCheckBox;
private JSlider stpPercentageLevelModifierSlider;
private JCheckBox stpFixMusicCheckBox;
+ private JCheckBox miscFasterHPAndEXPBarsCheckBox;
private static JFrame frame;