forked from twig33/ynoclient
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"2.5: RM2000: If the second line of a Skill is not empty: 1. The firs…
…t line should have a pause before the second line is printed, and 2. The animation should only start when the second line is printed." Solution: We should print separate each line in a skill with a time waiting between them. For this: 1. We modify Game_BattleAlgorithm::Skill::GetStartMessage so it only prints the first line. 2. We create two functions in AlgorithmBase, IsSecondStartMessage (which checks if there is a second message pendent, by default false) and GetSecondStartMessage (which prints the second line, by default empty). We override them in Skill so it prints adequately. 3. In Scene_Battle_Rpg2k::ProcessBattleAction, we print only the first line if it's empty, and the second line if there is one element and IsSecondStartMessage is true. 4. For the First target, we check if the first line was printed and IsSecondStartMessage is true. In that case, we force it to pause until GetDelayForWindow time passes. 5. When the screen is cleared in BattleActionState_Result, it should print also the second line if it's available.
- Loading branch information
Showing
3 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters