Re: RPG Maker 2 Tips & Tricks 2.0
Here's the promised information for the load commands:
LOAD COMMANDS
Game Info Load
Input: Variable 134: Item Number (optional)
Output: Variable 75: Party Member Total; Variable 77: Total Party Money;Variable 78: Total Party Items; Variable 79: Total Bag Items; Variable 80: Total Item**; Variable 81: Map Number; Variable 82: Party* X coordinate; Variable 83: Party* Y coordinate; Variable 84: Party* Z coordinate; Variable 85: Party* Direction
* Party in this case refers to the party leader. ** The total amount of the item specified in Var134 that is in the bag.
Game Info Save
Output: Saves Variable 77: Total Party Money
Member Info: Use Member Order
Input: Variable 53: Member Order
Output: Variable 86: Member number; Variable 48: Instigator Member; The following flags are turned off: Flag 70: Side; Flag 71: Apply side; Flag 72: Instigator Side
Member Info : Load
Input: Variable 86: Member Number; Flag 81: Stat Check type (optional) [if On, the Stats marked with * will be adjusted for equipment and class changes; If Off, only Armor and Attack will be calculated.]
Output: Variable 99: Str*; Variable 100: Def*; Variable 101: Int*; Variable 102: Agi*; Variable 103: Luck*; Variable 104: Attack*; Variable 105: Armor*; Variable 106: Max Hit Points*; Variable 107: Max Magic Points*; Variable 97: Hit Points; Variable 98: Magic Points; Variable 91: Level; Variable 95:Exp; Variable 92: Exp to Level; Input 1: Common Name; Input 6: Origin; Input 7: Sex; Variable 87: Total Member Items. Variables 117 - 128 contain the item numbers of the items the character is carring (-1 if no item in that slot). The following contain the item number of the equipped items (-1 if nothing equiped) Variable 129: Weapon; Variable 130: Helmet; Variable 131: Armor; Variable 132: Shield; Variable 133: Accessory. Flags 140-144 are On if the equipped item can't be removed. Flag 121: Action Status (On if inflicted) Variable 88: Class number (-1 if no class); Variable 90: Class Rank (0 if no class); Variable 112: Class Exp; Variable 113: Class Victories; Variable 93:Class Exp to Level; Variable 94: Victories to Level; Flag 40: Member Present (On if member is in the party); Variable 108: Member X Coordinate; Variable 109: Member Y Coordinate; Variable 110: Member Z Coordinate; Variable 111: Member Direction. Normal Flags 180 - 189; Normal Variables 180 - 189; Normal Input18; Battle Flags 190 - 199; Battle Variables 190 - 199; Battle Input 19
Member Info : Save
Input: Variable 86: Member Number; Flag 81: Stat Check type (optional) [if On, the Stats marked with * will be adjusted for equipment and class changes; If Off, only Armor and Attack will be calculated.]
The following Variables are saved: Variable 99: Str*; Variable 100: Def*; Variable 101: Int*; Variable 102: Agi*; Variable 103: Luck*; Variable 104: Attack*; Variable 105: Armor*; Variable 106: Max Hit Points*; Variable 107: Max Magic Points*; Variable 97: Hit Points; Variable 98: Magic Points; Variable 91: Level; Variable 95:Exp; Variable 90: Class Rank; Variable 112: Class Exp; Variable 113: Class Victories; Normal Flags 180 - 189; Normal Variables 180 - 189; Normal Input18; Battle Flags 190 - 199; Battle Variables 190 - 199; Battle Input 19
Load Item Info
Input: Variable 134: Item Number; Variable 86: Member Number (optional); Variable 88: Class Number (optional); Loading Member Info will also effect the output (optional)
Output: Variable 135: Item Type; Variable 136: Item Buy Price; Variable 137: Item Sell Price; Variable 138: Item Weapon Property; Variable 139: Item Used Direct Effect; Variable 140: Item Used Indirect Effect; Variable 141: Item Equipped HP; Variable 142: Item Equipped MP; Variable 143: Item Equipped Str; Variable 144: Item Equipped Def; Variable 145: Item Equipped Int; Variable 146: Item Equipped Agi; Variable 147: Item Equipped Luck; Variable 151: Item Attack Direct Effect; Variable 152: Item Attack Indirect Effect; Flag 130: Hide Item Info; Flag 131: Unsellable Item; Flag 132: Indestructable Item; Flag 133: Member Can't Equip; Flag 134: Member Can't Remove; Flag 135: Class Can't Equip; Flag 136: Class Can't Remove; Input 1: Common Name
Load Direct Effect Info
Input: Variable 163: Direct Effect Number
Output: Variable 164: Direct Rate; Variable 165: Direct Success Ratio; Variable 166: Direct Type; Variable 167: Direct Target Type*; Variable 168: Direct Menu*; Variable 169: Direct Range*; Flag 160: Direct Effect Death Check (On = Before; Off = After); Input 1: Common Name
* Note that these variables were misnamed. Var167 is Direct Menu; Var 168 is Direct Range; and Var169 is Direct Target Type
Load Indirect Effect Info
Input: Variable 172: Indirect Effect Number; Variable 36: Instigator Magic Property (optional); Variable 37: Instigator Weapon Property
Output: Variable 173: Indirect Weapon Resistance; Variable 174: Indirect Magic Resistance; Variable 175: Indirect Priority; Variable 176:Indirect Rate; Variable 177: Indirect Type; Input 1: Common Name
Load Ability Info
Input: Variable 155: Ability Number
Output: Variable156: Ability Cost; Variable 157: Ability Direct Effect; Variable 158: Ability Indirect Effect; Variable 159: Ability Useable; Variable 160: Ability Random Type; Flag 150: Ability Type; Flag 151: Hide Ability Info; Input 1: Common Name
Event Info Load
Input: None (this command loads the information of whatever event is active at the time this command is executed)
Output: Variable 67: Event X coordinate; Variable 68: Event Y coordinate; Variable 69: Event Z coordinate; Variable 70: Event Direction; Variable 71: Event Number; Input 5: Event; Flag 50: Event Condition
Event Info Save
Output: The following are saved: Variable 71: Event Number; Input 5: Event; Flag 50: Event Condition
Note: Var71 = 0, Flag 50 = Off, and Input 5 is blank for all events until changed by this command. All events are reset upon entering a map so you can't share information between maps.
Substitute Attribute for Variable
Same as Member Info : Load except you can use Variable 55: Enemy Battle Order in place of Variable 86: Member Number to load in enemy data. Note that Flag 70: Side must be On to do this.
Substitute Variable for Attribute
Same as Member Info : Save except if Flag 70: Side is On, the info will be saved to the enemy whose battle number is in Variable 55: Enemy Battle Order
Substitute Target Attribute for Variable
Same as Substitute Attribute for Variable except Variable 96: Attack Order is also loaded.
Substitute Variable for Target Attribute
Same as Substitute Variable for Attribute except Variable 96: Attack Order is also saved.
Here's the promised information for the load commands:
LOAD COMMANDS
Game Info Load
Input: Variable 134: Item Number (optional)
Output: Variable 75: Party Member Total; Variable 77: Total Party Money;Variable 78: Total Party Items; Variable 79: Total Bag Items; Variable 80: Total Item**; Variable 81: Map Number; Variable 82: Party* X coordinate; Variable 83: Party* Y coordinate; Variable 84: Party* Z coordinate; Variable 85: Party* Direction
* Party in this case refers to the party leader. ** The total amount of the item specified in Var134 that is in the bag.
Game Info Save
Output: Saves Variable 77: Total Party Money
Member Info: Use Member Order
Input: Variable 53: Member Order
Output: Variable 86: Member number; Variable 48: Instigator Member; The following flags are turned off: Flag 70: Side; Flag 71: Apply side; Flag 72: Instigator Side
Member Info : Load
Input: Variable 86: Member Number; Flag 81: Stat Check type (optional) [if On, the Stats marked with * will be adjusted for equipment and class changes; If Off, only Armor and Attack will be calculated.]
Output: Variable 99: Str*; Variable 100: Def*; Variable 101: Int*; Variable 102: Agi*; Variable 103: Luck*; Variable 104: Attack*; Variable 105: Armor*; Variable 106: Max Hit Points*; Variable 107: Max Magic Points*; Variable 97: Hit Points; Variable 98: Magic Points; Variable 91: Level; Variable 95:Exp; Variable 92: Exp to Level; Input 1: Common Name; Input 6: Origin; Input 7: Sex; Variable 87: Total Member Items. Variables 117 - 128 contain the item numbers of the items the character is carring (-1 if no item in that slot). The following contain the item number of the equipped items (-1 if nothing equiped) Variable 129: Weapon; Variable 130: Helmet; Variable 131: Armor; Variable 132: Shield; Variable 133: Accessory. Flags 140-144 are On if the equipped item can't be removed. Flag 121: Action Status (On if inflicted) Variable 88: Class number (-1 if no class); Variable 90: Class Rank (0 if no class); Variable 112: Class Exp; Variable 113: Class Victories; Variable 93:Class Exp to Level; Variable 94: Victories to Level; Flag 40: Member Present (On if member is in the party); Variable 108: Member X Coordinate; Variable 109: Member Y Coordinate; Variable 110: Member Z Coordinate; Variable 111: Member Direction. Normal Flags 180 - 189; Normal Variables 180 - 189; Normal Input18; Battle Flags 190 - 199; Battle Variables 190 - 199; Battle Input 19
Member Info : Save
Input: Variable 86: Member Number; Flag 81: Stat Check type (optional) [if On, the Stats marked with * will be adjusted for equipment and class changes; If Off, only Armor and Attack will be calculated.]
The following Variables are saved: Variable 99: Str*; Variable 100: Def*; Variable 101: Int*; Variable 102: Agi*; Variable 103: Luck*; Variable 104: Attack*; Variable 105: Armor*; Variable 106: Max Hit Points*; Variable 107: Max Magic Points*; Variable 97: Hit Points; Variable 98: Magic Points; Variable 91: Level; Variable 95:Exp; Variable 90: Class Rank; Variable 112: Class Exp; Variable 113: Class Victories; Normal Flags 180 - 189; Normal Variables 180 - 189; Normal Input18; Battle Flags 190 - 199; Battle Variables 190 - 199; Battle Input 19
Load Item Info
Input: Variable 134: Item Number; Variable 86: Member Number (optional); Variable 88: Class Number (optional); Loading Member Info will also effect the output (optional)
Output: Variable 135: Item Type; Variable 136: Item Buy Price; Variable 137: Item Sell Price; Variable 138: Item Weapon Property; Variable 139: Item Used Direct Effect; Variable 140: Item Used Indirect Effect; Variable 141: Item Equipped HP; Variable 142: Item Equipped MP; Variable 143: Item Equipped Str; Variable 144: Item Equipped Def; Variable 145: Item Equipped Int; Variable 146: Item Equipped Agi; Variable 147: Item Equipped Luck; Variable 151: Item Attack Direct Effect; Variable 152: Item Attack Indirect Effect; Flag 130: Hide Item Info; Flag 131: Unsellable Item; Flag 132: Indestructable Item; Flag 133: Member Can't Equip; Flag 134: Member Can't Remove; Flag 135: Class Can't Equip; Flag 136: Class Can't Remove; Input 1: Common Name
Load Direct Effect Info
Input: Variable 163: Direct Effect Number
Output: Variable 164: Direct Rate; Variable 165: Direct Success Ratio; Variable 166: Direct Type; Variable 167: Direct Target Type*; Variable 168: Direct Menu*; Variable 169: Direct Range*; Flag 160: Direct Effect Death Check (On = Before; Off = After); Input 1: Common Name
* Note that these variables were misnamed. Var167 is Direct Menu; Var 168 is Direct Range; and Var169 is Direct Target Type
Load Indirect Effect Info
Input: Variable 172: Indirect Effect Number; Variable 36: Instigator Magic Property (optional); Variable 37: Instigator Weapon Property
Output: Variable 173: Indirect Weapon Resistance; Variable 174: Indirect Magic Resistance; Variable 175: Indirect Priority; Variable 176:Indirect Rate; Variable 177: Indirect Type; Input 1: Common Name
Load Ability Info
Input: Variable 155: Ability Number
Output: Variable156: Ability Cost; Variable 157: Ability Direct Effect; Variable 158: Ability Indirect Effect; Variable 159: Ability Useable; Variable 160: Ability Random Type; Flag 150: Ability Type; Flag 151: Hide Ability Info; Input 1: Common Name
Event Info Load
Input: None (this command loads the information of whatever event is active at the time this command is executed)
Output: Variable 67: Event X coordinate; Variable 68: Event Y coordinate; Variable 69: Event Z coordinate; Variable 70: Event Direction; Variable 71: Event Number; Input 5: Event; Flag 50: Event Condition
Event Info Save
Output: The following are saved: Variable 71: Event Number; Input 5: Event; Flag 50: Event Condition
Note: Var71 = 0, Flag 50 = Off, and Input 5 is blank for all events until changed by this command. All events are reset upon entering a map so you can't share information between maps.
Substitute Attribute for Variable
Same as Member Info : Load except you can use Variable 55: Enemy Battle Order in place of Variable 86: Member Number to load in enemy data. Note that Flag 70: Side must be On to do this.
Substitute Variable for Attribute
Same as Member Info : Save except if Flag 70: Side is On, the info will be saved to the enemy whose battle number is in Variable 55: Enemy Battle Order
Substitute Target Attribute for Variable
Same as Substitute Attribute for Variable except Variable 96: Attack Order is also loaded.
Substitute Variable for Target Attribute
Same as Substitute Variable for Attribute except Variable 96: Attack Order is also saved.








you may option to be able to push at diagnols as well)
Comment