mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-27 00:48:32 +02:00
69c7ee89b5
Seed Mt Moon Super Nerd dialogue (#1743), play item-use heal jingles (#1635), use white fades for fly/teleport warps (#1644), add a Yellow-only Advanced palette overlay (#1639), parse Yellow Super Rod data including Safari Dragonair (#1074), and apply title rOBP0 when baking Pikachu eye OAM so pupils stay black with white glints.
20 lines
795 B
Lua
20 lines
795 B
Lua
-- Title eye OBP remap lives in ImageWriter.applyTitleObp0; pixel-level
|
|
-- coverage is tests/title_pikachu_obp_test.py (love_stub ImageData is a
|
|
-- no-op). This file only pins the export so the Lua bake path stays wired.
|
|
--
|
|
-- luajit tests/engine/title_pikachu_obp_bug.lua
|
|
|
|
package.path = "./?.lua;./?/init.lua;" .. package.path
|
|
if not _G.love then _G.love = require("tests.love_stub") end
|
|
|
|
local S = require("tests.harness").suite("title pikachu OBP export")
|
|
local check = S.check
|
|
|
|
local ImageWriter = require("src.import.ImageWriter")
|
|
check(type(ImageWriter.applyTitleObp0) == "function",
|
|
"ImageWriter.applyTitleObp0 is exported for RomExtractor")
|
|
check(type(ImageWriter.SHADES) == "table" and #ImageWriter.SHADES == 4,
|
|
"ImageWriter.SHADES exposes the 4 DMG ramps")
|
|
|
|
S.finish()
|