feat: small text

This commit is contained in:
2025-10-07 13:41:50 +13:00
parent a2d7e92319
commit c3fe3f47c4
+4 -4
View File
@@ -51,7 +51,7 @@ pending_effects = {
player.display_roll = 0
enemy.display_roll = 0
shake = 0
d = 3 -- shake intensity
d = 2 -- shake intensity
-- basic card pool
cards = {{
name = "Str",
@@ -365,7 +365,7 @@ end
picked = 1
-- === INPUT ===
function TIC()
cls(0)
cls(1)
if shake > 0 then
poke(0x3FF9, math.random(-d, d))
@@ -396,7 +396,7 @@ function TIC()
for i, card in ipairs(hand) do
local x = 10 + (i - 1) * 64
rectb(x, 80, 62, 24, i == picked and 1 or 12)
print(card.name, x + 3, 90, i == picked and 11 or 10)
print(card.name, x + 3, 90, i == picked and 11 or 10, false,1,true)
end
print(hand[picked].desc, 4, 120, 15)
print(msg, 4, 40, 15)
@@ -475,7 +475,7 @@ function TIC()
local shield_reduction = player.shield or 0
dmg = math.max(0, dmg - shield_reduction)
player.hp = player.hp - dmg
shake = 30
shake = 10
end
msgtxt = "Enemy wins! You -" .. dmg
else