Add move effect for Coin Hurl

Thanks to Shellnuts for helping out.

Coin Hurl is now a max-150 base power move that scales with the user's wealth.
This commit is contained in:
Llinos Evans 2024-08-27 00:54:58 +01:00
parent 1f0cc46814
commit caee1c278c
10 changed files with 85 additions and 2 deletions

View file

@ -20,4 +20,5 @@ UsefulMoves:
dw FIRE_BLAST
dw SOFTBOILED
dw SUPER_FANG
dw COIN_HURL
dw -1 ; end

View file

@ -180,4 +180,5 @@ BattleCommandPointers:
dw BattleCommand_SuperEffectiveLoopText
dw BattleCommand_StartLoop
dw BattleCommand_Curl
dw BattleCommand_CoinHurlPower
assert_table_length NUM_EFFECT_COMMANDS

View file

@ -2077,3 +2077,23 @@ DefenseCurl:
statupmessage
statupfailtext
endmove
CoinHurl: ; Identical to Return, except it calculates damage differently, and does not trigger King's Rock, as contact isn't being made.
checkobedience
usedmovetext
doturn
critical
damagestats
coinhurlpower
damagecalc
stab
damagevariation
checkhit
moveanim
failuretext
applydamage
criticaltext
supereffectivetext
checkfaint
buildopponentrage
endmove

View file

@ -158,4 +158,5 @@ MoveEffectsPointers:
dw BeatUp
dw Fly
dw DefenseCurl
dw CoinHurl
assert_table_length NUM_MOVE_EFFECTS

View file

@ -276,7 +276,7 @@ Moves1:
move EFFECT_FREEZE_HIT, 100, ICE, 95, 5, 30 ;MYSTIC_ICE
move EFFECT_FLY, 85, WATER, 85, 5, 0 ; BOUNCE - went back and forth on type (making it modern or keeping it spaceworldy), chose spaceworld to diversify the "fly" move category
move EFFECT_ACCURACY_UP, 85, GRASS, 0, 20, 0 ; BRIGHT_MOSS
move EFFECT_RETURN, 1, NORMAL, 100, 20, 0 ; COIN_HURL - effect not implemented
move EFFECT_COIN_HURL, 1, NORMAL, 100, 20, 0 ; COIN_HURL
move EFFECT_NORMAL_HIT, 85, GROUND, 100, 10, 0 ; UPROOT
move EFFECT_MIRROR_COAT, 1, PSYCHIC_TYPE, 100, 10, 0 ; SYNCHRONIZE - effect not implemented
move EFFECT_ATTACK_UP_HIT, 70, STEEL, 90, 10, 10 ; STRONG_ARM

View file

@ -1205,7 +1205,7 @@ PersianEvosAttacks:
dbw 43, SLASH
dbw 50, DOUBLE_TEAM ; KEP
dbw 56, BODY_SLAM ; RBY TM
; dbw 61, COIN_HURL
dbw 61, COIN_HURL
db 0 ; no more level-up moves
PerrserkerEvosAttacks: