mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-12 08:21:02 +02:00
bfba1f7bb7
* main menu scrollable when over 8 items * buggies * more buggies * Lorelei, Bruno, and Agatha now push their AfterBattle text right after a win
23 lines
754 B
Lua
23 lines
754 B
Lua
-- Red's House 2F (pokered data/events/hidden_events.asm +
|
|
-- engine/events/hidden_objects PrintRedSNESText).
|
|
--
|
|
-- The bedroom SNES is a hidden_event at (3, 5) with ANY_FACING that
|
|
-- prints _RedBedroomSNESText. field.py extracts OpenRedsPC on this map
|
|
-- but skips PrintRedSNESText, so interaction was a no-op (#135).
|
|
|
|
local TextBox = require("src.render.TextBox")
|
|
|
|
return {
|
|
REDS_HOUSE_2F = {
|
|
-- hidden_events.asm:
|
|
-- hidden_event 3, 5, PrintRedSNESText, ANY_FACING
|
|
onInteract = function(game, ow, fx, fy)
|
|
if fx ~= 3 or fy ~= 5 then return false end
|
|
local text = game.data.text._RedBedroomSNESText
|
|
or "{PLAYER} is\nplaying the SNES!"
|
|
game.stack:push(TextBox.new(game, text))
|
|
return true
|
|
end,
|
|
},
|
|
}
|