脱出加侬战

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
This page is a translated version of the page Escape Ganon glitch and the translation is 82% complete.
Other languages:

脱出加侬战是一个程错。林克拿到光之弓箭后,可以把光之弓箭带出魔兽加侬所在的光墙内。由于游戏仍然认为林克在和魔兽加侬对战,光墙外的世界和平常的世界有些许差异。根据版本不同,具体的差异也各有不同。

这个条目记载了逃出光墙后外面世界会发生的事情。

影响

存挡、传送、消磨时间、进入神庙

一旦游戏到了对战加侬的阶段,玩家就不能再存档,也不能用减号传送。

这是因为 LastBossGanonBeastGenerateFlag 这个 flag。林克从城堡被萨尔达传送到草原上跟魔兽加侬对战时,游戏会用这个 flag 召唤魔兽加侬出来,同时,游戏会打开 SaveProhibition(不存挡)、WarpProhibition(不传送)、 KillTimeProhibition(不消磨)、EnterDungeonProhibition(不进庙)。

这些禁止事项在游戏里被重复利用了好些次。例如,沃托里的赌博小游戏在赌博开始跟结束时都会打开、关闭某些 flag。所以有玩家发现,离开光墙后只要去玩赌博小游戏,小游戏结束后这些限制也随之解除。

载入画面后的诡异动画

Demo025_0 (which is played every time Link is spawned in the main world) checks the IsPlayed_Demo146_0 flag. If it is set, the player's Demo_AccelerateHorse action is called. This explains why Link does a strange looking animation whenever the player loads a save that was made after escaping Ganon.

血月

TimeWorldMgr 里有提到,LastBossGanonBeastGenerateFlag 这个 flag 会阻止子夜的血月。不过这仅仅意味著血月不会自然出现,血月的计时器还是会继续增加。

和其他禁止事项不同的是,游戏里没有哪个机制会把 LastBossGanonBeastGenerateFlag 关掉,所以我们不能期待把它关掉后让血月自然出现。不过,睡觉跟消磨时间后出现的血月(如果血月本该在当晚发生而林克直接睡到早晨的话)用的是另一套独立的检查系统,所以还是可以触发。这部分八成是任天堂漏看了。

消失的 NPC、神庙、敌人

这个部分是大部分人都会立刻发现的:在脱出光墙后,一部份的神庙、希卡塔、NPC、敌人将不复存在。

之所以会只有“一部份”不见,是因为 Placement 的原始码里有一段奇怪的逻辑。

如果

  • [1.0.0-1.2.0] FirstInHyruleCastleBossRoom is set
  • [1.3.0+] FirstInHyruleCastleBossRoom or IsPlayed_Demo145_0 is set

而且一个地图上的“东西”

  • is not Enemy_GanonBeast and profile[1] name is Enemy, GelEnemy, SandWorm (sic), Prey, Dragon or Guardian, or contains NPC (e.g. NPC, DemoNPC)
  • or is called exactly Enemy_Guardian_A
  • or has Entrance or WarpPoint or Terminal in its unit config name

那就不生成这个东西。

如果一个这个东西跟别的东西绑定在一起的话,整组东西都不会生成。

解释

之所以 NPC、大部分的敌人、神庙都会不见,是因为原始码里刻意把它们过滤掉了。

同时我们也可以看到为什么希卡塔看起来和平常不一样。希卡塔是跟 FldObj_DownloadTerminal_A_01(滴入地图的东西)和 DgnObj_WarpPoint_A_01(地板上的蓝色圆形传送点)绑定的,而游戏并不打算生成后两种东西,从而排除了整个塔。

类似的,神庙的内部也通通不见了。这是因为整个神庙都跟坐镇的导师绑定了,而导师是 ...... NPC。

有趣的地方来了。德谷多吊桥(台地西边,石柱上有西诺克斯地方)虽然是地形的一部份却不会生成。这是因为吊桥内部的名字叫 FldObj_RockBridgeGerudoEntrance_A_01,而有含有 Entrance 的东西都被当作神庙电梯一起禁止了。

另一方面,沙漠里的拉吉克虽然是怪物却会生成。这是因为拉吉克叫做 Sandworm,而禁止名单里写的是 SandWorm(注意大小写)。

任天堂的补丁(补坏的)

FirstInHyruleCastleBossRoom is set when the player triggers the final boss sequence in the castle sanctum. On the other hand, IsPlayed_Demo145_0 is set after Calamity Ganon ("incomplete Ganon") dies.

So why does 1.3.0 check IsPlayed_Demo145_0 in addition to FirstInHyruleCastleBossRoom?

This is because Nintendo changed some save data in 1.2.0 in an attempt to patch a closely related glitch: since 1.2.0, the FirstInHyruleCastleBossRoom flag is not loaded from or written to save files anymore. Therefore, to ensure that FirstInHyruleCastleBossRoom always has the correct value, they must now rely on a different endgame flag, and they chose IsPlayed_Demo145_0 for this purpose.

Astute readers will notice that 1.2.0 is the version on which reloading a save causes NPCs, shrines and other excluded actors to reappear. This is simply because a save reload on 1.2.0 and any newer version causes FirstInHyruleCastleBossRoom to be reset to its default value (false), so on 1.2.0 none of that special spawning logic is used.

1.3.0 is the first version on which this trick doesn't work anymore because IsPlayed_Demo145_0 is always saved and loaded properly. Master Mode, Trial of the Sword, dying, killing Ganon, dying, etc. all have no effects. The only way to get out of this state is to reset the flag, and unfortunately, there is nothing the player can do to reset IsPlayed flags.

希卡石道具(amiibo 跟摩托车)

amiibo 跟摩托车能不能使用是以 IsPlayed_Demo 系列的 flag 来控制的。下面些介绍各种 Demo。(其中包括任天堂的官方日文名称。)

  • Demo141_0: Hyrule Castle Citadel - Windblight Ganon Appears ハイラル城本丸・カースガノン(风)登场
  • Demo141_1: Hyrule Castle Citadel - Fireblight Ganon Appears ハイラル城本丸・カースガノン(火)登场
  • Demo141_2: Hyrule Castle Citadel - Thunderblight Ganon Appears ハイラル城本丸・カースガノン(雷)登场
  • Demo141_3: Hyrule Castle Citadel - Waterblight Ganon Appears ハイラル城本丸・カースガノン(水)登场
  • Demo142_0: Hyrule Castle Citadel - Ganon's Incomplete Form Appears ハイラル城本丸・不完全体ガノン登场(加侬破蛋而出)
  • Demo143_4: Hyrule Castle Citadel · Divine Beast Beam Bullet ハイラル城本丸・神獣ビーム着弾(四英杰攻击加侬)
  • Demo145_0: Hyrule Castle Citadel · Ganon's Incomplete Form Dies ハイラル城本丸・不完全体ガノン死亡(主殿内的灾厄加侬血条归零)
  • Demo146_0: Hyrule Field - Beast Ganon Appears ハイラル平原・魔獣ガノン登场(魔兽加农出现在草原上)

amiibo 功能在 Demo146_0Demo141_{0,1,2,3}、'Demo142_0 中的任一个播放过后就不能使用。(简而言之,一旦开始打加侬就不能用 amiibo 补充道具了。)

摩托车的检查虽然不太一样,但是可以很明显看出来游戏设计师先复制贴上 amiibo 的程式码之后再稍做修改。

  • 播放过 Demo146_0 后,任天堂允许玩家骑车(用意应该是取代马)。
  • 如果只有 Demo141_{0,1,2,3}Demo142_0 播过,就不能骑车(主殿里别骑车)。
  • 除此之外,林克在 main map 以外的地方都可以骑车,例如剑之试炼里面。(注意我们在讲的是脱出加侬战之后再进入剑之试炼,不是说正规的剑之试炼里可以骑车。)

EX 系列任务

如果 Demo146_0 (魔兽加侬)播过,游戏就不会给你剑之试炼任务跟英杰之诗任务。任天堂在这两个任务的 code 都放了检查。

光之弓箭跟大师剑

LastBossGanonBeastGenerateFlag 出现在大师剑的原始码里。在魔兽加侬战中,大师剑就会一直维持发光状态(60 攻)。

神兽雷射光跟城堡周围黑柱

IsPlayed_Demo145_0 的主要效果是,在开始打加侬后把神兽发射的雷射关掉。

IsPlayed_Demo147_0(萨尔达出现、封印加侬)之后会导致城堡旁的黑色柱子闪著蓝色光(本来是红色)。

加侬区

LastBossIncompleteGanonGenerateFlag 这个 flag 的功能是记录林克是不是在主殿内和灾厄加侬战斗。

它有一个奇怪的后遗症。只要 LastBossIncompleteGanonGenerateFlag 还是开的,而且林克的 Y 座标(海拔)低于 170,林克就会被传送回 (-254.0, 191.0, -1026.0)(主殿内)。

鸟人小游戏

鸟人小游戏曾经可以用来脱出加侬战(1.2.0 版)。

鸟人小游戏的原理是:在丘陵之塔接受挑战,然后试图飞到城堡主殿内。主殿触发的过场动画播完了之后,布拓会把你拉回丘陵之塔,以此达成离开主殿的目的。

在 1.1.2 版及之前,这样做(让 NPC 把你带出主殿)会导致很严重的后果:上面那些不能这样不能那样的 flag 会被写进你的存档里,同时又没有已知的方法可以关掉那些 flage,这样一来存档就烂了。

有人做了一个这个主题的影片。任天堂大概觉得这很严重,就把它修掉了。

任天堂的修理

我们以为一个很简单的修法是:如果你正在鸟人研究任务里,就不要生成加侬。但是任天堂决定不这么做。

任天堂的决定是 FirstInHyruleCastleBossRoom(其中一个被写入存档后会导致严重后果的 flag)将不会被写进存档。也因为如此,NPC 之类的东西在你用上面那个方法脱出之后就不会消失。

They also edited the birdman minigame event (MiniGame_HillTower_BirdMan) to always manually reset some effects of landing in the castle sanctum:

  • An event was added to the landing event to warp the player back to the tower (-1746.71, 329.065, -772.847)… except the player is already being warped to the same exact coordinates in the original code. They might have wanted to be _extra sure_ the warp would work.
  • When landing, the IsPlayed_Demo141_{0,1,2,3} and LastBossIncompleteGanonGenerateFlag flags are manually cleared. Yes, they forgot to clear any other flag such as IsPlayed_Demo145_0 that may have been set.
  • While the minigame is active, the FirstInHyruleCastleBossRoom flag is cleared every frame.

就如同你心里想的,这种修法一点都不完美。这就导致 1.2.0 版发生了额外的问题,然后任天堂被逼得又更新了 1.3.0 版。

References

  1. There are different kinds of actors (entities) in BotW. Profiles are pretty much categories that allow Nintendo to reuse the same base code internally for different but similar actors.