Quest flag overrides: Difference between revisions
imported>Leoetlino Created page with "To ensure that quests do not become uncompletable if the player leaves an area when they have only been partially solved, some GameData flags are '''always''' manually ove..." |
→Implementation in 1.5.0: add link to decomp source |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
== Kass quests == | == Kass quests == | ||
Sometime ''after'' the release of 1.0.0, completion checks for Kass' quests were added to the same GameDataMgr function. These are exactly the same as the ones that can be found in | Sometime ''after'' the release of 1.0.0, completion checks for Kass' quests were added to the same GameDataMgr function. These are exactly the same as the ones that can be found in the BloodyMoonRelief<Musician_Check> [[event flow]] but implemented in the executable instead. The reason why Nintendo has decided to duplicate the checks is unknown, but it might be a workaround for some kind of event bug: Kass not spawning in Rito Village even after all of his quests have been completed used to be a widespread issue. | ||
In 1.5.0, Npc_Musician_Come (the flag that causes Kass to spawn in Rito Village) is set iff the following flags are set: | In 1.5.0, Npc_Musician_Come (the flag that causes Kass to spawn in Rito Village) is set iff the following flags are set: | ||
| Line 18: | Line 18: | ||
== Implementation in 1.5.0 == | == Implementation in 1.5.0 == | ||
See https://github.com/zeldaret/botw/blob/7bda72574e1d7cf3e76de20155c1f37b74971f4e/src/KingSystem/GameData/gdtManager.cpp#L373 for a fully accurate version of this code. | |||
<source lang="c++"> | <source lang="c++"> | ||
// utility functions (inlined in the actual executable) | // utility functions (inlined in the actual executable) | ||