pleins de trucs

This commit is contained in:
Deadzi06
2026-07-10 06:10:33 +02:00
commit a55abbc5f7
51 changed files with 2235 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
return {
-- The inclusion of the below line tells the language server that the first parameter of the cutscene is `BattleCutscene`.
-- This allows it to fetch us useful documentation that shows all of the available cutscene functions while writing our cutscenes!
---@param cutscene BattleCutscene
susie_punch = function(cutscene, battler, enemy)
-- Open textbox and wait for completion
cutscene:text("* Susie threw a punch at\nthe dummy.")
-- Hurt the target enemy for 1 damage
Assets.playSound("damage")
enemy:hurt(1, battler)
-- Wait 1 second
cutscene:wait(1)
-- Susie text
cutscene:text("* You,[wait:5] uh,[wait:5] look like a weenie.[wait:5]\n* I don't like beating up\npeople like that.", "nervous_side", "susie")
if cutscene:getCharacter("ralsei") then
-- Ralsei text, if he's in the party
cutscene:text("* Aww,[wait:5] Susie!", "blush_pleased", "ralsei")
end
end
}