◆Comment:// Determine if Party is in Battle
◆If:Script:$gameParty.inBattle()
◆Comment:// Party in Battle; store 'BattleManager._action._subjectActorId' into variable
◆Control Variables:#0049 = BattleManager._action._subjectActorId + 1
◆
:Else
◆Comment:// Party is on Map; store '$gameParty._targetActorId' into variable
◆Control Variables:#0049 = $gameParty._targetActorId
◆
:End
◆Comment:// Check For and Apply 'Wound' State
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 0
◆Change State:{#0049}, + Wound Lv 1
◆Script:var variableId = 60 + $gameVariables.value(49);
: :$gameVariables.setValue(variableId, 1);
◆Exit Event Processing
◆
:End
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 1
◆Change State:{#0049}, - Wound Lv 1
◆Change State:{#0049}, + Wound Lv 2
◆Script:var variableId = 60 + $gameVariables.value(49);
: :$gameVariables.setValue(variableId, 2);
◆Exit Event Processing
◆
:End
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 2
◆Change State:{#0049}, - Wound Lv 2
◆Change State:{#0049}, + Wound Lv 3
◆Script:var variableId = 60 + $gameVariables.value(49);
: :$gameVariables.setValue(variableId, 3);
◆Exit Event Processing
◆
:End
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 3
◆Change State:{#0049}, - Wound Lv 3
◆Change State:{#0049}, + Wound Lv 4
◆Script:var variableId = 60 + $gameVariables.value(49);
: :$gameVariables.setValue(variableId, 4);
◆Exit Event Processing
◆
:End
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 4
◆Change State:{#0049}, - Wound Lv 4
◆Change State:{#0049}, + Wound Lv 5
◆Script:var variableId = 60 + $gameVariables.value(49);
: :$gameVariables.setValue(variableId, 5);
◆Exit Event Processing
◆
:End
◆If:Script:$gameVariables.value(60 + $gameVariables.value(49)) === 5
◆Change State:{#0049}, + Wound Lv 5
◆Exit Event Processing
◆
:End