Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

battleanimobj y fix values are hard-coded #1147

Open
Rangi42 opened this issue Oct 8, 2024 · 0 comments
Open

battleanimobj y fix values are hard-coded #1147

Rangi42 opened this issue Oct 8, 2024 · 0 comments
Labels

Comments

@Rangi42
Copy link
Member

Rangi42 commented Oct 8, 2024

data/battle_anims/objects.asm passes raw hex numbers to parameter \2 of battleanimobj; these might be further identifiable.

  • $00: POKE_BALL, POKE_BALL_BLOCKED, SURF, HAZE, SANDSTORM, PERISH_SONG, RAIN, B0, ENEMYFEET_1ROW, PLAYERHEAD_1ROW, ENEMYFEET_2ROW, PLAYERHEAD_2ROW
  • $40: POWDER, HEAL_BELL_NOTE, MORNING_SUN, SPITE
  • $48: MIST, SMOG, PETAL_DANCE
  • $50: CHICK, SKULL_CROSSBONE, HEAL_BELL
  • $68: LEECH_SEED, COTTON_SPORE
  • $70: SPIKES, ENCORE_STAR
  • $78: RAZOR_LEAF, POISON_GAS, ATTRACT
  • $80: WATER_GUN, WARP, HARDEN, AMNESIA, ASLEEP, MIMIC, BONEMERANG, SWIFT, WITHDRAW, DRAIN, CONVERSION2, METRONOME_SPARKLE, HEART, ANGER, CONVERSION, NIGHTMARE, IN_NIGHTMARE, LOVELY_KISS, SWEET_KISS, SKETCH, ENCORE_HAND, GLIMMER, MOONLIGHT, FORESIGHT
  • $88: SOLAR_BEAM_CHARGE, ABSORB_CENTER, ABSORB, LEER, LEER_TIP, SCREEN, SHINY, SKY_ATTACK, SPEED_LINE, SHARPEN, DEFENSE_CURL, AGILITY, LOCK_ON, MIND_READER, HIDDEN_POWER, MEAN_LOOK, PSYCH_UP
  • $90: HIT_BIG, HIT, HIT_SMALL, PUNCH_SHAKE, DRAGON_RAGE, FLAMETHROWER, FIRE_SPIN, FIRE_BLAST, BURNED, BLIZZARD, ICE, ICE_BEAM, EXPLOSION1, ACID, BETA_BALL_POOF, BUBBLE, SING, RECOVER, THUNDER_WAVE, THUNDERBOLT_SPARKS, THUNDERBOLT_CORE, THUNDERSHOCK_SPARKS, THUNDERSHOCK_CORE, CLAMP, BITE, SOUND, WAVE, CONFUSE_RAY, SAND, PARALYZED, STRING_SHOT, HORN, NEEDLE, SLUDGE_BOMB, SONICBOOM_JP_UNUSED, BONE_CLUB, KINESIS, METRONOME_HAND, DISABLE, SAFEGUARD, PROTECT, POWDER_SNOW, DRAGONBREATH, SPIDER_WEB, ZAP_CANNON, CURSE, SWAGGER, BELLY_DRUM_NOTE, SHOOTING_SPARKLE, FLOWER
  • $98: BEAM, BEAM_TIP, SONICBOOM_JP, LICK, FLAME_WHEEL, AEROBLAST, SHADOW_BALL
  • $a0: BALL_POOF, SMOKE, SMOKESCREEN, OCTAZOOKA, PRESENT, CAKE_UNUSED
  • $a8: DIG_SAND, DIG_PILE, SACRED_FIRE, BATON_PASS, BELLY_DRUM_HAND, BETA_PURSUIT
  • $aa: EMBER
  • $b0: STRENGTH, SEISMIC_TOSS, THUNDER_CENTER, THUNDER_LEFT, THUNDER_RIGHT, EGG, FOCUS, GROWTH, SWORDS_DANCE, MILK_DRINK
  • $b4: SLUDGE, HYDRO_PUMP
  • $b8: ICE_BUILDUP, FROZEN, MASTER_BALL_SPARKLE, GUST, RAPID_SPIN, ANCIENTPOWER
  • $c0: DESTINY_BOND
  • $ff: HIT_BIG_YFIX, HIT_YFIX, HIT_SMALL_YFIX, PUNCH, KICK, PALM, FANG, EXPLOSION2, BIG_ROCK, SMALL_ROCK, CUT_DOWN_LEFT, CUT_DOWN_RIGHT, CUT_UP_RIGHT, CUT_LONG_DOWN_LEFT, CUT_LONG_DOWN_RIGHT, VINE_WHIP1, VINE_WHIP2, RAZOR_WIND1, RAZOR_WIND2, BIND1, BIND2, PAY_DAY, BONE_RUSH, FLASH, THIEF, CROSS_CHOP1, CROSS_CHOP2, ROCK_SMASH, COTTON
@Rangi42 Rangi42 changed the title battleanimobj parameter bits are unidentified battleanimobj y fix values are hard-coded Oct 8, 2024
@Rangi42 Rangi42 transferred this issue from pret/pokegold Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant