Port the moves that span several turns
A recharging, charged, rampaging or rolling Pokémon plays on without the battle menu on either side, and a biding one uses FIGHT without the move list. Razor Wind, Solarbeam, Skull Bash, Sky Attack, Fly and Dig charge first; flying and digging Pokémon can only be hit by the original's exceptions. Hyper Beam recharges, Thrash and its kind end in confusion, Rollout and Fury Cutter double up, and Bide returns twice the damage it took. The trapping moves hurt their target between turns until it is released, Mind Reader and Lock-On make the next move hit, and Pursuit strikes a Pokémon being withdrawn first, on either side. The new commands are compared with the original in the reference emulator. Its fixture no longer zeroes wPlayerScreens with its sentinel. Part of #28 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
9e0a2cd2a8
commit
c53edb77e5
7 files changed
+713
-39
No files matched your search
@@ -83,6 +83,9 @@ export const C = {
|
||||
EFFECT_ATTACK_UP_2: 50,
|
||||
EFFECT_EVASION_UP_2: 56,
|
||||
EFFECT_PURSUIT: 128,
|
||||
EFFECT_HYPER_BEAM: 80,
|
||||
EFFECT_TRAP_TARGET: 42,
|
||||
EFFECT_LOCK_ON: 94,
|
||||
EFFECT_COUNTER: 89,
|
||||
EFFECT_REVERSAL: 99,
|
||||
EFFECT_FALSE_SWIPE: 101,
|
||||
@@ -91,7 +94,17 @@ export const C = {
|
||||
EFFECT_MIRROR_COAT: 144,
|
||||
|
||||
// Moves (constants/move_constants.asm)
|
||||
RAZOR_WIND: 13,
|
||||
GUST: 16,
|
||||
BIND: 20,
|
||||
WRAP: 35,
|
||||
SOLARBEAM: 76,
|
||||
FIRE_SPIN: 83,
|
||||
BIDE: 117,
|
||||
CLAMP: 128,
|
||||
SKULL_BASH: 130,
|
||||
SKY_ATTACK: 143,
|
||||
WHIRLPOOL: 250,
|
||||
WHIRLWIND: 18,
|
||||
FLY: 19,
|
||||
THUNDER: 87,
|
||||
@@ -367,6 +380,8 @@ export const COMMAND = {
|
||||
paralyzetarget: 25,
|
||||
selfdestruct: 26,
|
||||
payday: 30,
|
||||
storeenergy: 33,
|
||||
unleashenergy: 34,
|
||||
endloop: 36,
|
||||
flinchtarget: 37,
|
||||
ohko: 38,
|
||||
@@ -376,10 +391,17 @@ export const COMMAND = {
|
||||
screen: 46,
|
||||
poison: 47,
|
||||
paralyze: 48,
|
||||
rechargenextturn: 50,
|
||||
splash: 54,
|
||||
cleartext: 56,
|
||||
charge: 57,
|
||||
checkcharge: 58,
|
||||
traptarget: 59,
|
||||
rampage: 61,
|
||||
checkrampage: 62,
|
||||
constantdamage: 63,
|
||||
counter: 64,
|
||||
lockon: 69,
|
||||
falseswipe: 75,
|
||||
kingsrock: 77,
|
||||
triplekick: 78,
|
||||
@@ -387,12 +409,16 @@ export const COMMAND = {
|
||||
thief: 80,
|
||||
defrost: 83,
|
||||
foresight: 87,
|
||||
checkrollout: 91,
|
||||
rolloutpower: 92,
|
||||
furycutter: 94,
|
||||
happinesspower: 96,
|
||||
present: 97,
|
||||
damagecalc: 98,
|
||||
frustrationpower: 99,
|
||||
checksafeguard: 101,
|
||||
getmagnitude: 102,
|
||||
pursuit: 104,
|
||||
healmorn: 106,
|
||||
healday: 107,
|
||||
healnite: 108,
|
||||
@@ -439,10 +465,12 @@ export const COMMAND = {
|
||||
doubleundergrounddamage: 153,
|
||||
mirrorcoat: 154,
|
||||
doubleminimizedamage: 157,
|
||||
skipsuncharge: 158,
|
||||
thunderaccuracy: 159,
|
||||
beatup: 161,
|
||||
ragedamage: 162,
|
||||
resettypematchup: 163,
|
||||
bidefailtext: 165,
|
||||
raisesubnoanim: 166,
|
||||
lowersubnoanim: 167,
|
||||
beatupfailtext: 168,
|
||||
|
||||
Reference in new issue
Block a user