AIDef:Query/CheckBalladOfHeroActiveTiming: Difference between revisions

no edit summary
imported>Leoetlino
(import AI definitions from 1.5.0 (fixed))
imported>Leoetlino
No edit summary
Line 3: Line 3:
|type=Query
|type=Query
}}
}}
Returns 1 if the Ballad of Heroes quest should be activated for the first time (2 if the player is in the Shrine of Resurrection), and 0 otherwise.
* If the current map is not MainField, or if aocManager::sInstance->version < 0x300, return 0.
* If at least one Divine Beast has not been completed (i.e. if the xxx_Relic_Finished flag is false), return 0.
* If the quest has already been activated (i.e. if BalladOfHeroes_Activated is true), return 0.
* If the player is in the final boss sequence (i.e. if IsPlayed_Demo146_0 is true), return 0.
* If the player's current location is the Shrine of Resurrection ("StartPoint"), return 2, otherwise return 1.


== Derived definitions ==
== Derived definitions ==
Anonymous user