diff options
-rw-r--r-- | game/gui/transforms.rpy | 5 | ||||
-rw-r--r-- | game/inventory.rpy | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/game/gui/transforms.rpy b/game/gui/transforms.rpy index 0e17d99..e19952b 100644 --- a/game/gui/transforms.rpy +++ b/game/gui/transforms.rpy @@ -130,3 +130,8 @@ transform toffscreenright: yanchor 1.0 ypos (1824-gui.textbox_height) +transform ttop: + xalign 0.5 + yanchor 0.0 + ypos (gui.textbox_height) + diff --git a/game/inventory.rpy b/game/inventory.rpy index e17f497..5d90ea2 100644 --- a/game/inventory.rpy +++ b/game/inventory.rpy @@ -95,13 +95,14 @@ screen char_details(un, hpval, akval, idx): frame: #at msgbox_emp + yalign 1.0 vbox: xalign 0.5 - yalign 0.5 + yalign 0.9 spacing 30 - label _("{b}%s{/b}\n%s\n\nHP: %d\nATK: %d\nLv %d/%d\nEXP: %d") % ( + label _("{b}%s{/b}\n%s\n\nHP: %d — ATK: %d\nLv %d/%d — EXP: %d") % ( star_write(un["rare"]), un["name"], hpval, akval, Player["inv"][idx]["level"], @@ -147,7 +148,7 @@ label show_inv: if (_return >= 0): $stdout("Selected unit index %d" % _return) $un=allunits[Player["inv"][_return]["unit_id"]] - $show_img("unit_"+str(un["unit_id"]), at_list=[truecenter]) + $show_img("unit_"+str(un["unit_id"]), at_list=[ttop]) # truecenter $hpval=readjust_status(un["rare"], un["job"], True)*Player["inv"][_return]["level"]+un["hp"] $akval=readjust_status(un["rare"], un["job"], |