Lesson 18 - Variable Transform
- Trances, Dopplegangs, etc.
Shadowtext: And it's not THAT different from a Class Change, it's just in-battle. It's also similar to a Limit Break in that it relies on transformations. In fact, showing transformations this way is little more than an excuse to finally include a Limit Break tutorial in these lessons so I can finally tell people to look here.
Master Mage: Apparently, the trance is mostly put on by a certain amount of beating taking place.
Shadowtext: Here's the battle-event that calculates damage and inputs it into a variable.
Battle Event "Calculate Trance"
Condition Turn Number 0X + 1 turns.
Fork Conditions: Switch [0001: vViviTrancing] False
____Fork Conditions: Variable [0001: vViviOldHP] 0 Same
________Set Variable [0002: vViviNewHP] Hero.Vivi.HP
________Fork Conditions: Variable [0002: vViviNewHP] 0 Other
____________Set Variable [0001: vViviOldHP] Set [0002: vViviNewHP]
________End Conditions
____Else
________Set Variable [0002: vViviNewHP]Hero.Vivi.HP
________Fork Conditions: Variable [0001: vViviOldHP] [0002: vViviNewHP] Smaller
____________Set Variable [0003: vViviLimitChange] Set [0001: ViviOldHP]
____________Set Variable [0003: vViviLimitChange] - [0002: ViviNewHP]
____________Set Variable [0004: vViviLimitMeter] + [0003: vViviLimitChange]
____End Case
End Case
Master Mage: "Once the anger is ready, he says it just "Came to him." Apparently, there's no controlling a trance.
Shadowtext: Controlling a trance is easy enough, and is mentioned later in the "Command Transformation" section. For now, here's the event:
Battle Event "Trance"
Condition Turn Number 0X + 1 turns.
ForkCondition [0004: vViviLimitMeter] 100 Same
____Comment: "100's a number I came up with arbitrarily. You should"
____Comment: "probably find someway to calculate it based on MaxHP"
____Comment: "or level, but that's not what I'm here for."
____Change Switch [0001: bViviTrancing] = True
____Message: "Vivi enters Trance!"
____Change Variable [0005: ClassSwitch(Level)] Set Hero.Vivi.Level
____Change Variable [0006: ClassSwitch(Exp)] Set Hero.Vivi.Exp
____Change Variable [0007: ClassSwitch(HP)] Set Hero.Vivi.HP
____Change Variable [0008: ClassSwitch(MP)] Set Hero.Vivi.MP
____Change Variable [0009: ClassSwitch(Weapon)] Set Hero.Vivi.Arms No.
____Change Variable [0010: ClassSwitch(Shield)] Set Hero.Vivi.Shield No.
____Change Variable [0011: ClassSwitch(Armor)] Set Hero.Vivi.Armor No.
____Change Variable [0012: ClassSwitch(Helmet)] Set Hero.Vivi.Helmet No.
____Change Variable [0013: ClassSwitch(Other)] Set Hero.Vivi.Other No.
____Change Ability.Vivi(Trance).Decrease 999999999
____Comment: It won't go below zero. Now repeat for each ability.
____Change Ability.Vivi(Trance).Increase [0005: ClassSwitch(Level)]
____Comment: Repeat for all variables until you get to "Weapon."
____Change Equipment.Vivi(Trance).Equip.[0011: ClassSwitch(Weapon)]
____Comment: Repeat for the rest of the variables.
____Change Party.Add Vivi(Trance)
____Change Party.Remove Vivi
____Comment: Adapt this to put him in the right place.
____Change Condition: Vivi.Add_Condition "Trance"
End Case
Master Mage: "He looked different when Trancing."
Shadowtext: However, as you can't see your character, make him look the same. For reference, make "Trance" an incurable condition that does nothing. Unless you want it to do something. When you make the "Trance" character, you might want to change growth rates so that the trance character is stronger than the other. Now, does everyone remember how to undo a battle-only condition? That's right, a common event.
Common Event "Vivi - Remove Trance"; Parrallel Process
Condition: Switch [0001: bViviTrancing] True.
____Change Switch [0001: bViviTrancing] = True
____Message: "Vivi enters Trance!"
____Change Variable [0005: ClassSwitch(Level)] Set Hero.Vivi(Trance)Level
____Change Variable [0006: ClassSwitch(Exp)] Set Hero.Vivi(Trance)Exp
____Change Variable [0007: ClassSwitch(HP)] Set Hero.Vivi(Trance)HP
____Change Variable [0008: ClassSwitch(MP)] Set Hero.Vivi(Trance)MP
____Change Variable [0009: ClassSwitch(Weapon)] Set Hero.Vivi(Trance)Arms No.
____Change Variable [0010: ClassSwitch(Shield)] Set Hero.Vivi(Trance)Shield No.
____Change Variable [0011: ClassSwitch(Armor)] Set Hero.Vivi(Trance)Armor No.
____Change Variable [0012: ClassSwitch(Helmet)] Set Hero.Vivi(Trance)Helmet No.
____Change Variable [0013: ClassSwitch(Other)] Set Hero.Vivi(Trance)Other No.
____Change Ability.Vivi.Decrease 999999999
____Comment: It won't go below zero. Now repeat for each ability.
____Change Ability.Vivi.Increase [0005: ClassSwitch(Level)]
____Comment: Repeat for all variables until you get to "Weapon."
____Change Equipment.Vivi.Equip.[0009: ClassSwitch(Weapon)]
____Comment: Repeat for the rest of the variables.
____Change Party.Add Vivi
____Change Party.Remove Vivi(Trance)
____Comment: Adapt this to put him in the right place.
Shadowtext: The "Trance" character will reciever the experience, but the regular character gets it in the end this way. By the way, don't call the "Trance" character "Vivi(Trance)." I only put that in for your sake. You'll want the name to stay the same.
Master Mage: "Outside of battle, Trances work VERY similarly to the Lycanthropic Curse."
Shadowtext: For those of you who don't know, Lycanthropy is the state of werewolves. Well, were-anythings I guess.
Master Mage: "Instead of anger, Natural Lycanthropes can control their transformations. But cursed-Lycanthropes can't even control their transformations."
Shadowtext: Don't use HP. Use time or maybe a switch, like "Full Moon" or something. And this time, make the character "AI Controlled."
![]() |
Lesson 18 - Variable Transform |
| Trances, Dopplegangs, etc. | |
| Shadowtext | |
| Jan 01, 2013 | |
| Page Views: 416 | |
| Written for: Rm2k | |
| Related: Lesson 19 - In Battle Stats |
Public Rating
- N/A
- 0 Total Votes
Comments
You must be signed in to enter a comment for this game.
