mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-25 15:01:11 +02:00
1905261c5b
CLOSES #1483, CLOSES #1610, CLOSES #1615, CLOSES #1646, CLOSES #1649, CLOSES #1651, CLOSES #1653, CLOSES #1656, CLOSES #1683, CLOSES #1685, CLOSES #1686, CLOSES #1687, CLOSES #1688, CLOSES #1689, CLOSES #1690, CLOSES #1693, CLOSES #1694, CLOSES #1695, CLOSES #1696, CLOSES #1702, CLOSES #1704, CLOSES #1705, CLOSES #1706, CLOSES #1707, CLOSES #1708, CLOSES #1710, CLOSES #1711, CLOSES #1712, CLOSES #1713, CLOSES #1716, CLOSES #1717, CLOSES #1718, CLOSES #1719, CLOSES #1720, CLOSES #1721, CLOSES #1725, CLOSES #1732, CLOSES #1745, CLOSES #1748, CLOSES #1749, CLOSES #1751, CLOSES #1754
65 lines
3.2 KiB
Lua
65 lines
3.2 KiB
Lua
-- Flavor talk scripts for POKEMON_FAN_CLUB (pokered/scripts/PokemonFanClub.asm)
|
|
--
|
|
-- TEXT_POKEMONFANCLUB_CHAIRMAN is already ported in data/scripts/story2.lua
|
|
-- (the bike voucher chain), so it is intentionally omitted here.
|
|
|
|
local M = {}
|
|
|
|
M.POKEMON_FAN_CLUB = {
|
|
talk = {
|
|
-- PokemonFanClubPikachuFanText (scripts/PokemonFanClub.asm): brags
|
|
-- about her PIKACHU unless she's already "won" the boast war against
|
|
-- the SEEL fan (EVENT_PIKACHU_FAN_BOAST set), in which case she gets
|
|
-- huffy and resets it. Either way she sets the other fan's boast flag
|
|
-- so their next line is the "mine is better" retort.
|
|
TEXT_POKEMONFANCLUB_PIKACHU_FAN = {
|
|
{ "face_player" }, -- 1
|
|
{ "check_flag", "EVENT_PIKACHU_FAN_BOAST" }, -- 2
|
|
{ "jump_if_true", 7 }, -- 3
|
|
{ "show_text", "_PokemonFanClubPikachuFanNormalText" }, -- 4
|
|
{ "set_flag", "EVENT_SEEL_FAN_BOAST" }, -- 5
|
|
{ "jump", 9 }, -- 6 (skip the "mineisbetter" branch)
|
|
{ "show_text", "_PokemonFanClubPikachuFanBetterText" }, -- 7
|
|
{ "clear_flag", "EVENT_PIKACHU_FAN_BOAST" }, -- 8
|
|
},
|
|
|
|
-- PokemonFanClubSeelFanText (scripts/PokemonFanClub.asm): mirror of
|
|
-- the PIKACHU fan above, keyed off EVENT_SEEL_FAN_BOAST.
|
|
TEXT_POKEMONFANCLUB_SEEL_FAN = {
|
|
{ "face_player" }, -- 1
|
|
{ "check_flag", "EVENT_SEEL_FAN_BOAST" }, -- 2
|
|
{ "jump_if_true", 7 }, -- 3
|
|
{ "show_text", "_PokemonFanClubSeelFanNormalText" }, -- 4
|
|
{ "set_flag", "EVENT_PIKACHU_FAN_BOAST" }, -- 5
|
|
{ "jump", 9 }, -- 6 (skip the "mineisbetter" branch)
|
|
{ "show_text", "_PokemonFanClubSeelFanBetterText" }, -- 7
|
|
{ "clear_flag", "EVENT_SEEL_FAN_BOAST" }, -- 8
|
|
},
|
|
|
|
-- PokemonFanClubPikachuText (scripts/PokemonFanClub.asm:71): PrintText,
|
|
-- then ld a, PIKACHU / call PlayCry (:76) / call WaitForSoundToFinish.
|
|
TEXT_POKEMONFANCLUB_PIKACHU = {
|
|
{ "play_cry", "PIKACHU", true }, -- 1 PlayCry (#1649)
|
|
{ "show_text", "_PokemonFanClubPikachuText" }, -- 2 PrintText
|
|
},
|
|
|
|
-- PokemonFanClubSeelText (scripts/PokemonFanClub.asm:84): the same
|
|
-- shape with SEEL, PlayCry at :89.
|
|
TEXT_POKEMONFANCLUB_SEEL = {
|
|
{ "play_cry", "SEEL", true }, -- 1 PlayCry (#1649)
|
|
{ "show_text", "_PokemonFanClubSeelText" }, -- 2 PrintText
|
|
},
|
|
},
|
|
}
|
|
|
|
-- pokeyellow/scripts/PokemonFanClub.asm:149 PokemonFanClubClefairyText: Yellow's
|
|
-- pet is a CLEFAIRY on its own TEXT_POKEMONFANCLUB_CLEFAIRY, PlayCry at :154.
|
|
if require("src.core.GameVersion").isYellow() then
|
|
M.POKEMON_FAN_CLUB.talk.TEXT_POKEMONFANCLUB_CLEFAIRY = {
|
|
{ "play_cry", "CLEFAIRY", true }, -- 1 PlayCry
|
|
{ "show_text", "_PokemonFanClubClefairyText" }, -- 2 PrintText
|
|
}
|
|
end
|
|
|
|
return M
|