Files
gen1recomp/data/scripts/flavor/copycats_house_2f.lua
T
bryanthaboi 3069b2e2a9 The new experience (#201)
* new launcher and save converts and pipeline

* fixing bugs
2026-07-25 12:36:53 -04:00

26 lines
984 B
Lua

-- Flavor talk scripts for CopycatsHouse2F (registry id COPYCATS_HOUSE_2F).
-- Source: pokered/scripts/CopycatsHouse2F.asm, pokered/text/CopycatsHouse2F.asm
--
-- TEXT_COPYCATSHOUSE2F_COPYCAT (POKE DOLL -> TM31 MIMIC) lives in
-- data/scripts/story4.lua.
return {
COPYCATS_HOUSE_2F = {
talk = {
-- CopycatsHouse2FPCText (scripts/CopycatsHouse2F.asm):
-- only shows "My Secrets!" when the player is facing UP at the
-- PC (i.e. actually looking at the screen); any other facing
-- gets the generic "Huh? Can't see!" text.
TEXT_COPYCATSHOUSE2F_PC = function(game, ow, npc, done)
local TextBox = require("src.render.TextBox")
local t = game.data.text
local facing = ow and ow.player and ow.player.facing
local label = (facing == "up")
and "_CopycatsHouse2FPCMySecretsText"
or "_CopycatsHouse2FPCCantSeeText"
game.stack:push(TextBox.new(game, t[label], done))
end,
},
},
}