mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-26 15:31:15 +02:00
CLOSES #941, CLOSES #1081, CLOSES #1349, CLOSES #1602, CLOSES #1618, CLOSES #1624, CLOSES #1630, CLOSES #1633, CLOSES #1661, CLOSES #1669, CLOSES #1676, CLOSES #1731, CLOSES #1739, CLOSES #1740, CLOSES #1742, CLOSES #1744, CLOSES #1753, CLOSES #1757, CLOSES #1758, CLOSES #1760, CLOSES #1761, CLOSES #1762, CLOSES #1763, CLOSES #1765, CLOSES #1770, CLOSES #1777, CLOSES #1781, CLOSES #1783, CLOSES #1784, CLOSES #1785, CLOSES #1787, CLOSES #1788, CLOSES #1789, CLOSES #1790, CLOSES #1792, CLOSES #1797, CLOSES #1803
This commit is contained in:
@@ -229,16 +229,16 @@ check(runScript("VERMILION_TRADE_HOUSE", "TEXT_VERMILIONTRADEHOUSE_LITTLE_GIRL")
|
||||
"DUX post-trade script completes")
|
||||
shownIs({ "_AfterTrade3Text" }, "DUX uses the happy dialogset")
|
||||
|
||||
-- === 9) Celadon Eevee: no confirm prompt, AskName then GotMonText,
|
||||
-- ball hidden (GivePokemon -> AddPartyMon AskName; script still
|
||||
-- prints GotMonText after the silent give_pokemon row) ===
|
||||
-- === 9) Celadon Eevee: no confirm prompt, GotMonText then AskName,
|
||||
-- ball hidden (GivePokemon -> SetPokedexOwnedFlag prints GotMonText
|
||||
-- before AddPartyMon's AskName) ===
|
||||
local EEVEE_MAP, EEVEE_BALL =
|
||||
"CELADON_MANSION_ROOF_HOUSE", "CELADONMANSION_ROOF_HOUSE_EEVEE_POKEBALL"
|
||||
local EEVEE_TEXT = "TEXT_CELADONMANSION_ROOF_HOUSE_EEVEE_POKEBALL"
|
||||
Game.save = SaveData.newGame()
|
||||
check(runScript(EEVEE_MAP, EEVEE_TEXT), "Eevee ball script completes")
|
||||
shownIs({ "_DoYouWantToNicknameText", "_GotMonText" },
|
||||
"Eevee gives immediately (nickname ask, then GotMonText)")
|
||||
shownIs({ "_GotMonText", "_DoYouWantToNicknameText" },
|
||||
"Eevee gives immediately (GotMonText, then nickname ask)")
|
||||
eq(#Game.save.party, 1, "Eevee joins the party")
|
||||
eq(Game.save.party[1].species, "EEVEE", "gift species is EEVEE")
|
||||
eq(Game.save.party[1].level, 25, "Eevee is level 25")
|
||||
@@ -261,13 +261,13 @@ shownIs({}, "old save: silent")
|
||||
eq(#Game.save.party, 0, "old save: no Eevee re-gift")
|
||||
eq(toggleOf(EEVEE_MAP, EEVEE_BALL), false, "old save: leftover ball hidden")
|
||||
|
||||
-- === 11) GivePokemon party full, box has room: AskName + SentToBoxText
|
||||
-- (SendNewMonToBox), then script GotMonText; ball hidden ===
|
||||
-- === 11) GivePokemon party full, box has room: GotMonText, then AskName
|
||||
-- + SentToBoxText (SendNewMonToBox); ball hidden ===
|
||||
Game.save = SaveData.newGame()
|
||||
for i = 1, 6 do Game.save.party[i] = Pokemon.new(Data, "PIDGEY", 5) end
|
||||
check(runScript(EEVEE_MAP, EEVEE_TEXT), "full-party Eevee script completes")
|
||||
shownIs({ "_DoYouWantToNicknameText", "_SentToBoxText", "_GotMonText" },
|
||||
"full-party gift: nickname, sent-to-box, then GotMonText")
|
||||
shownIs({ "_GotMonText", "_DoYouWantToNicknameText", "_SentToBoxText" },
|
||||
"full-party gift: GotMonText, nickname, then sent-to-box")
|
||||
eq(#Game.save.party, 6, "full-party gift leaves party size at 6")
|
||||
local Boxes = require("src.pokemon.Boxes")
|
||||
local boxed = false
|
||||
|
||||
Reference in New Issue
Block a user