mirror of
https://github.com/bryanthaboi/gen1recomp
synced 2026-10-08 17:51:37 -04:00
Strip Gen 2 text terminator from intro and gender select, use × glyph in Gen 1 item lists
This commit is contained in:
+2
-2
@@ -123,7 +123,7 @@ local function sellItems(game)
|
||||
table.insert(items, {
|
||||
value = id,
|
||||
label = def and def.name or id,
|
||||
right = (not keyed) and ("x" .. game.save.inventory[id]) or nil,
|
||||
count = (not keyed) and game.save.inventory[id] or nil,
|
||||
})
|
||||
end
|
||||
items[#items + 1] = { cancel = true, label = Strings("CANCEL") }
|
||||
@@ -207,7 +207,7 @@ local function sell(game, menu)
|
||||
Bag.remove(game.save, item.value, qty)
|
||||
local left = game.save.inventory[item.value]
|
||||
if left then
|
||||
item.right = "x" .. left
|
||||
item.count = left
|
||||
else
|
||||
list:removeCurrent()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user