-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: gotoif continues after not matching
- Loading branch information
1 parent
42dc1d9
commit e496bef
Showing
7 changed files
with
64 additions
and
14 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
20 changes: 20 additions & 0 deletions
20
Ultima5Redux/MapUnits/TurnResults/SpecificTurnResults/ScriptTurnResults/ChangeShrineState.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using Ultima5Redux.Maps; | ||
using Ultima5Redux.References.Maps; | ||
using Ultima5Redux.State; | ||
|
||
namespace Ultima5Redux.MapUnits.TurnResults.SpecificTurnResults.ScriptTurnResults { | ||
public class ChangeShrineState : CutOrIntroSceneScriptLineTurnResult { | ||
public ShrineState.ShrineStatus TheNewShrineStatus; | ||
public ShrineReference TheShrineReference; | ||
|
||
public ChangeShrineState(CutOrIntroSceneScriptLine scriptLine, | ||
ShrineReference theShrineReference) : base(TurnResultType.Script_ChangeShrineState, | ||
TurnResulActionType.ActionRequired, scriptLine) { | ||
TheShrineReference = theShrineReference; | ||
|
||
TheNewShrineStatus = | ||
(ShrineState.ShrineStatus)Enum.Parse(typeof(ShrineState.ShrineStatus), scriptLine.StrParam); | ||
} | ||
} | ||
} |
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
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