mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-21 13:09:54 +02:00
CLOSES #1474, CLOSES #1475, CLOSES #1477, CLOSES #1482, CLOSES #1512, CLOSES #1516, CLOSES #1558, CLOSES #1569, CLOSES #1578, CLOSES #1579
This commit is contained in:
@@ -67,6 +67,15 @@ end
|
||||
check(iGotJump and iGotJump[2] == iFadeOut,
|
||||
"EVENT_GOT_TM28 jumps to CeruleanHideRocket fade-out")
|
||||
|
||||
-- SaveEndBattleTextPointers before EngageMapTrainer
|
||||
-- (scripts/CeruleanCity.asm:295) (#1579)
|
||||
local iBattle = find("start_battle")
|
||||
local iGiveUp = find("save_end_battle_text",
|
||||
"_CeruleanCityRocketIGiveUpText")
|
||||
check(iGiveUp, "the thief arms _CeruleanCityRocketIGiveUpText")
|
||||
check(iBattle and iGiveUp == iBattle - 1,
|
||||
"SaveEndBattleTextPointers runs just before the battle")
|
||||
|
||||
local ScriptRunner = require("src.script.ScriptRunner")
|
||||
local problems = ScriptRunner.validate(rows)
|
||||
eq(#problems, 0, "Rocket script validates: " .. table.concat(problems, "; "))
|
||||
|
||||
Reference in New Issue
Block a user