Skip to content

Commit

Permalink
Merge pull request rh-hideout#26 from RiggsPrime/riggs-cap
Browse files Browse the repository at this point in the history
Various buffs to existing moves
  • Loading branch information
RiggsPrime authored Oct 7, 2024
2 parents 81d9f09 + 2653a02 commit ddc70f0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 11 additions & 0 deletions data/battle_scripts_1.s
Original file line number Diff line number Diff line change
Expand Up @@ -1561,13 +1561,23 @@ BattleScript_RototillerCheckAffected:
jumpifnotrototilleraffected BS_TARGET, BattleScript_RototillerNoEffect
setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, 0
jumpifweatheraffected BS_ATTACKER, B_WEATHER_SANDSTORM, BattleScript_RototillerAtk2
setstatchanger STAT_ATK, 1, FALSE
goto BattleScript_RototillerAtk
BattleScript_RototillerAtk2:
setstatchanger STAT_ATK, 2, FALSE
BattleScript_RototillerAtk:
statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_RototillerTrySpAtk
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_RototillerTrySpAtk
printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG
BattleScript_RototillerTrySpAtk::
jumpifweatheraffected BS_ATTACKER, B_WEATHER_SANDSTORM, BattleScript_RototillerSpAtk2
setstatchanger STAT_SPATK, 1, FALSE
goto BattleScript_RototillerSpAtk
BattleScript_RototillerSpAtk2:
setstatchanger STAT_SPATK, 2, FALSE
BattleScript_RototillerSpAtk:
statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_RototillerMoveTargetEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_RototillerMoveTargetEnd
printfromtable gStatUpStringIds
Expand All @@ -1578,6 +1588,7 @@ BattleScript_RototillerMoveTargetEnd:
jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_RototillerLoop
end


BattleScript_RototillerCantRaiseMultipleStats:
copybyte gBattlerAttacker, gBattlerTarget
printstring STRINGID_STATSWONTINCREASE2
Expand Down
10 changes: 9 additions & 1 deletion src/data/moves_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -6742,6 +6742,10 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] =
.makesContact = TRUE,
.additionalEffects = ADDITIONAL_EFFECTS({
.moveEffect = MOVE_EFFECT_REMOVE_STATUS,
},
{
.moveEffect = MOVE_EFFECT_PARALYSIS,
.chance = 10,
}),
.contestEffect = CONTEST_EFFECT_STARTLE_PREV_MON,
.contestCategory = CONTEST_CATEGORY_SMART,
Expand Down Expand Up @@ -13545,11 +13549,15 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] =
.effect = EFFECT_HIT,
.power = 50,
.type = TYPE_STEEL,
.accuracy = 85,
.accuracy = 100,
.pp = 15,
.target = MOVE_TARGET_SELECTED,
.priority = 0,
.category = DAMAGE_CATEGORY_PHYSICAL,
.additionalEffects = ADDITIONAL_EFFECTS({
.moveEffect = MOVE_EFFECT_DEF_MINUS_1,
.chance = 30,
}),
.zMove = { .powerOverride = 180 },
.makesContact = TRUE,
.strikeCount = 2,
Expand Down

0 comments on commit ddc70f0

Please sign in to comment.