mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-12 16:31:05 +02:00
15029d811f
# Closed issues CLOSES #17: Incorrect Character Visuals (Only with GBC filter) CLOSES #23: Could you allow the player to change the order of the moves CLOSES #24: Evolution music not playing during evolution CLOSES #26: Standing on door glitch CLOSES #27: Battle Intro text automatically continues CLOSES #29: Visual bug when zoomed out CLOSES #32: Team Rocket recruiter doesn't battle with you unless you speak with him first CLOSES #33: Developer/Debug Console CLOSES #35: Professor Oak's introduction Inaccuracies CLOSES #36: Missing Pokemon Dex entries when picking starter + Rival Pathing issues CLOSES #39: Guy who stops player from skipping brock doesn't bring you to brock's gym + doesn't leave once you've beaten brock CLOSES #40: Bill cutscene is broken CLOSES #41: Ticket guy failing to be a Ticket guy CLOSES #42: S.S. anne odd behavior + Missing sailing away animation CLOSES #43: Dig Attack animation appears to be glitched CLOSES #44: Pokeball flashing doesn't appear to be accurate CLOSES #45: Inaccurate Cut Animation CLOSES #46: Dugtrio i caught in diglett cave has two of the same move CLOSES #47: Rival ignores player in Lavender Tower CLOSES #48: Healing pad in lavender tower does not function CLOSES #49: Incorrect dialogue with parched security guard CLOSES #50: (Game Breaking!) Rocket grunt guarding poster refuses to move CLOSES #51: Badges showing up as items I can deposit in PC CLOSES #52: Visual bug on Celadon Department Store roof (Red Filter) CLOSES #54: Visual issue on route 15 + Fuchsia City CLOSES #56: Running animation missing CLOSES #57: Safari Zone does not display steps while you are inside of it CLOSES #58: (Game Breaking!) Softlock at cycling road gate CLOSES #59: Bike visual issues CLOSES #60: Cycling road not forcing you to get on your bike CLOSES #61: No keycard doors in Silph Co. CLOSES #63: Missing teleporter animation CLOSES #64: Inaccurate spinning CLOSES #65: Reimplement unused Silph Co. Chief and Professor Oak trainer battles
77 lines
3.1 KiB
Lua
77 lines
3.1 KiB
Lua
-- Pewter City flavor dialogue (pokered/scripts/PewterCity.asm).
|
|
-- PewterCity_TextPointers text_asm bodies for the SUPER_NERD1 museum
|
|
-- guide, SUPER_NERD2 garden nerd, and the leaving-east YOUNGSTER.
|
|
--
|
|
-- The escort choreography (SUPER_NERD1 walking the player to the
|
|
-- museum, YOUNGSTER walking the player to the gym) is scripted NPC
|
|
-- movement + a wPewterCityCurScript state machine that steers the
|
|
-- player off-map; the YOUNGSTER's escort to the gym is handled on this
|
|
-- map by story5.lua's onStep gate at the east exit (before
|
|
-- EVENT_BEAT_BROCK), while the SUPER_NERD1 museum escort is not ported.
|
|
-- Here we only port the real YES/NO-branched flavor text these NPCs
|
|
-- speak when talked to.
|
|
|
|
local M = {}
|
|
|
|
local function text(game) return game.data.text end
|
|
|
|
local function push(game, s, done)
|
|
local TextBox = require("src.render.TextBox")
|
|
game.stack:push(TextBox.new(game, s, done))
|
|
end
|
|
|
|
local function ask(game, s, cb)
|
|
local ChoiceBox = require("src.ui.ChoiceBox")
|
|
push(game, s, function() game.stack:push(ChoiceBox.new(game, cb)) end)
|
|
end
|
|
|
|
M.PEWTER_CITY = {
|
|
talk = {
|
|
-- PewterCitySuperNerd1Text (scripts/PewterCity.asm): asks if you
|
|
-- checked out the museum; YES -> fossils comment, NO -> "you have
|
|
-- to go" (which in pokered also kicks off the escort script).
|
|
TEXT_PEWTERCITY_SUPER_NERD1 = function(game, ow, npc, done)
|
|
local t = text(game)
|
|
ask(game, t._PewterCitySuperNerd1DidYouCheckOutMuseumText
|
|
or "Did you check out\nthe MUSEUM?", function(yes)
|
|
if yes then
|
|
push(game, t._PewterCitySuperNerd1WerentThoseFossilsAmazingText
|
|
or "Weren't those\nfossils from MT.\nMOON amazing?", done)
|
|
else
|
|
push(game, t._PewterCitySuperNerd1YouHaveToGoText
|
|
or "Really?\nYou absolutely\nhave to go!", done)
|
|
end
|
|
end)
|
|
end,
|
|
|
|
-- PewterCitySuperNerd2Text (scripts/PewterCity.asm): asks if you
|
|
-- know what he's doing; YES -> "that's right", NO -> reveals he's
|
|
-- spraying Repel to keep Pokemon out of his garden.
|
|
TEXT_PEWTERCITY_SUPER_NERD2 = function(game, ow, npc, done)
|
|
local t = text(game)
|
|
ask(game, t._PewterCitySuperNerd2DoYouKnowWhatImDoingText
|
|
or "Psssst!\nDo you know what\nI'm doing?", function(yes)
|
|
if yes then
|
|
push(game, t._PewterCitySuperNerd2ThatsRightText
|
|
or "That's right!\nIt's hard work!", done)
|
|
else
|
|
push(game, t._PewterCitySuperNerd2ImSprayingRepelText
|
|
or "I'm spraying REPEL\nto keep POKéMON\nout of my garden!", done)
|
|
end
|
|
end)
|
|
end,
|
|
|
|
-- PewterCityYoungsterText (scripts/PewterCity.asm): the "follow
|
|
-- me" line the youngster says when the player is stopped from
|
|
-- leaving Pewter east before beating Brock; the actual gate/step
|
|
-- block is handled by story5.lua's onStep for this map.
|
|
TEXT_PEWTERCITY_YOUNGSTER = function(game, ow, npc, done)
|
|
local t = text(game)
|
|
push(game, t._PewterCityYoungsterYoureATrainerFollowMeText
|
|
or "You're a trainer\nright? BROCK's\nlooking for new\nchallengers!\nFollow me!", done)
|
|
end,
|
|
},
|
|
}
|
|
|
|
return M
|