- 14
- Posts
- 309
- Days
- Seen Oct 7, 2024
So, I've been inputting custom moves into my game for the final step before play testing for the release of the game but I'm running into an issue with certain moves and their FunctionCode section not working in game like raising their atk or def. If someone can help guide me a bit to figure this out that would be great. I will include the ones that my codes are not working here:
#-------------------------------
[NIGHTTERROR]
Name = Night Terror
Type = GHOST
Category = Special
Accuracy = 100
Power = 75
TotalPP = 5
Target = NearOther
FunctionCode = HealUserByHalfOfDamageDoneIfTargetAsleepStartDamageTargetEachTurnIfTargetAsleep
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user enters the foes dream and causes them absorbs their energy to heal itself. The foe continues to take damage after the user leaves due to fear.
#-------------------------------
[TWINTWISTER]
Name = Twin Twister
Type = FLYING
Category = Special
Power = 80
Accuracy = 90
TotalPP = 10
Target = AllNearFoes
FunctionCode = HitTwoTimesHitsTargetInSkyFlinchTarget
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user whips up two vicious tornados to tear at the opposing team. It may also make targets flinch.
#-------------------------------
[ETERNALVOID]
Name = Eternal Void
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseUserSpdEvasion2
EffectChance = 100
Flags = CanMimic
Description = The user shrouds itself in a cloak of cosmic energy that conceals itself as well as increasing the speed and power of its attacks.
#-------------------------------
[DRACONIANSURGE]
Name = Draconian Surge
Type = DRAGON
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseTargetAtkDefSpd2
Description = The user releases a surge of energy built up in order to maximize its battling potential.
EffectChance = 100
Flags = CanMimic
#-------------------------------
[POTENTIALUNLEASHED]
Name = Potential Unleashed
Type = NORMAL
Category = Status
Accuracy = 100
TotalPP = 1
Target = User
FunctionCode = RaiseTargetMainStats1
EffectChance = 100
Flags = CanMimic
Description = The user unlocks its true potential in one burst.
#-------------------------------
[GAMMABURST]
Name = Gamma Burst
Type = VOID
Category = Special
Power = 100
Accuracy = 100
TotalPP = 5
Target = AllFoes
FunctionCode = BadPoisonTargetLowerTargetSpd1DoublePowerIfTargetPoisoned
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user releases a burst of gamma energy that it absorbed while travelling throughout space. The gamma energy causes immense poisoning.
#-------------------------------
[METEORSTRIKE]
Name = Meteor Strike
Type = VOID
Category = Special
Power = 150
Accuracy = 100
TotalPP = 5
Target = AllFoes
FunctionCode = DoublePowerIfTargetInSkyLowerSpd2
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user pulls a meteor that are circling the planet down in order to strike its foes.
#-------------------------------
[ATOMICSPLICER]
Name = Atomic Splicer
Type = VOID
Category = Physical
Power = 150
Accuracy = 100
TotalPP = 5
Target = NearOther
FunctionCode = RemoveProtectionsMayCauseFlinch
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user uses immense speed to cut through the opponent down to the foes atoms. May cause the opponent to flinch.
#-------------------------------
#-------------------------------
[ORBITALKICK]
Name = Orbital Kick
Type = VOID
Category = Physical
Power = 80
Accuracy = 100
TotalPP = 15
Target = NearOther
FunctionCode = PowerLowerWithUserHPRaiseUserSpd1
EffectChance = 50
Flags = CanProtect,CanMirrorMove
Description = The user collects the remainder of its strength to attack the foes with a kick that becomes more brutal with lower hp.
#-------------------------------
[STARDUSTUPPERCUT]
Name = Stardust Uppercut
Type = VOID
Category = Physical
Power = 100
Accuracy = 100
TotalPP = 10
Target = NearOther
FunctionCode = HitsTargetInSkySleepTarget
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user uppercuts the foe with such force they are knocked unconscious. The force of this punch allows the user to hit foes even in mid flight.
#-------------------------------
[ATOMICDISCHARGE]
Name = Atomic Discharge
Type = VOID
Category = Special
Power = 250
Accuracy = 100
TotalPP = 5
Target = AllNearOthers
FunctionCode = UserFaintsExplosiveRemoveProtections
Flags = CanMirrorMove
EffectChance = 100
Description = The user allows the internal cosmic energy inside to explode, inflicting damage on those around it. The user faints upon using this move.
#-------------------------------
#-------------------------------
[SPACIALAWARENESS]
Name = Spacial Awareness
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseTargetSpEvasion2
Flags = CanMirrorMove
EffectChance = 100
Description = The user closes its eyes to focus on its surroundings, allowing it to evade attacks easier.
#-------------------------------
[COSMICWRATH]
Name = Cosmic Wrath
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 1
Target = User
FunctionCode = RaiseUserMainStats2
Flags = CanMirrorMove
EffectChance = 100
Description = The user unleashes all of the cosmic energy within in order to boost its overall power.
#-------------------------------
[CORRUPTEDSOUL]
Name = Corrupted Soul
Type = VOID
Category = Status
Accuracy = 100
TotalPP = 5
Target = NearOther
FunctionCode = ConfuseTargetLowerTargetDef1
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user touches the soul of its foe, causing confusion and lowering its defense.
#-------------------------------
#-------------------------------
[NIGHTTERROR]
Name = Night Terror
Type = GHOST
Category = Special
Accuracy = 100
Power = 75
TotalPP = 5
Target = NearOther
FunctionCode = HealUserByHalfOfDamageDoneIfTargetAsleepStartDamageTargetEachTurnIfTargetAsleep
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user enters the foes dream and causes them absorbs their energy to heal itself. The foe continues to take damage after the user leaves due to fear.
#-------------------------------
[TWINTWISTER]
Name = Twin Twister
Type = FLYING
Category = Special
Power = 80
Accuracy = 90
TotalPP = 10
Target = AllNearFoes
FunctionCode = HitTwoTimesHitsTargetInSkyFlinchTarget
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user whips up two vicious tornados to tear at the opposing team. It may also make targets flinch.
#-------------------------------
[ETERNALVOID]
Name = Eternal Void
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseUserSpdEvasion2
EffectChance = 100
Flags = CanMimic
Description = The user shrouds itself in a cloak of cosmic energy that conceals itself as well as increasing the speed and power of its attacks.
#-------------------------------
[DRACONIANSURGE]
Name = Draconian Surge
Type = DRAGON
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseTargetAtkDefSpd2
Description = The user releases a surge of energy built up in order to maximize its battling potential.
EffectChance = 100
Flags = CanMimic
#-------------------------------
[POTENTIALUNLEASHED]
Name = Potential Unleashed
Type = NORMAL
Category = Status
Accuracy = 100
TotalPP = 1
Target = User
FunctionCode = RaiseTargetMainStats1
EffectChance = 100
Flags = CanMimic
Description = The user unlocks its true potential in one burst.
#-------------------------------
[GAMMABURST]
Name = Gamma Burst
Type = VOID
Category = Special
Power = 100
Accuracy = 100
TotalPP = 5
Target = AllFoes
FunctionCode = BadPoisonTargetLowerTargetSpd1DoublePowerIfTargetPoisoned
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user releases a burst of gamma energy that it absorbed while travelling throughout space. The gamma energy causes immense poisoning.
#-------------------------------
[METEORSTRIKE]
Name = Meteor Strike
Type = VOID
Category = Special
Power = 150
Accuracy = 100
TotalPP = 5
Target = AllFoes
FunctionCode = DoublePowerIfTargetInSkyLowerSpd2
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user pulls a meteor that are circling the planet down in order to strike its foes.
#-------------------------------
[ATOMICSPLICER]
Name = Atomic Splicer
Type = VOID
Category = Physical
Power = 150
Accuracy = 100
TotalPP = 5
Target = NearOther
FunctionCode = RemoveProtectionsMayCauseFlinch
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user uses immense speed to cut through the opponent down to the foes atoms. May cause the opponent to flinch.
#-------------------------------
#-------------------------------
[ORBITALKICK]
Name = Orbital Kick
Type = VOID
Category = Physical
Power = 80
Accuracy = 100
TotalPP = 15
Target = NearOther
FunctionCode = PowerLowerWithUserHPRaiseUserSpd1
EffectChance = 50
Flags = CanProtect,CanMirrorMove
Description = The user collects the remainder of its strength to attack the foes with a kick that becomes more brutal with lower hp.
#-------------------------------
[STARDUSTUPPERCUT]
Name = Stardust Uppercut
Type = VOID
Category = Physical
Power = 100
Accuracy = 100
TotalPP = 10
Target = NearOther
FunctionCode = HitsTargetInSkySleepTarget
EffectChance = 100
Flags = CanProtect,CanMirrorMove
Description = The user uppercuts the foe with such force they are knocked unconscious. The force of this punch allows the user to hit foes even in mid flight.
#-------------------------------
[ATOMICDISCHARGE]
Name = Atomic Discharge
Type = VOID
Category = Special
Power = 250
Accuracy = 100
TotalPP = 5
Target = AllNearOthers
FunctionCode = UserFaintsExplosiveRemoveProtections
Flags = CanMirrorMove
EffectChance = 100
Description = The user allows the internal cosmic energy inside to explode, inflicting damage on those around it. The user faints upon using this move.
#-------------------------------
#-------------------------------
[SPACIALAWARENESS]
Name = Spacial Awareness
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 5
Target = User
FunctionCode = RaiseTargetSpEvasion2
Flags = CanMirrorMove
EffectChance = 100
Description = The user closes its eyes to focus on its surroundings, allowing it to evade attacks easier.
#-------------------------------
[COSMICWRATH]
Name = Cosmic Wrath
Type = VOID
Category = Status
Accuracy = 0
TotalPP = 1
Target = User
FunctionCode = RaiseUserMainStats2
Flags = CanMirrorMove
EffectChance = 100
Description = The user unleashes all of the cosmic energy within in order to boost its overall power.
#-------------------------------
[CORRUPTEDSOUL]
Name = Corrupted Soul
Type = VOID
Category = Status
Accuracy = 100
TotalPP = 5
Target = NearOther
FunctionCode = ConfuseTargetLowerTargetDef1
Flags = CanProtect,CanMirrorMove
EffectChance = 100
Description = The user touches the soul of its foe, causing confusion and lowering its defense.
#-------------------------------