summaryrefslogtreecommitdiff
path: root/battle/effect_commands.asm
AgeCommit message (Collapse)Author
2017-12-26Split battle/ into data/ and engine/ componentsRemy Oukaour
2017-12-25LOW(MAX_LEVEL + 1) would still fail for MAX_LEVEL = 255, so don't try ↵Remy Oukaour
supporting it here
2017-12-25More support for MAX_LEVEL = 255Remy Oukaour
(ValidateOTTrademon and Function102bdc have `cp MAX_LEVEL + 1` operations that would still fail with such a correction, so there isn't perfect support.)
2017-12-25Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % ↵Remy Oukaour
$100` or `X >> 8` and `X & $ff`
2017-12-24Add more constants for some maximum valuesRemy Oukaour
2017-12-24Merge branch 'master' of https://github.com/pret/pokecrystalRemy Oukaour
2017-12-24Fix issue #345:Remy Oukaour
- GetMonFrontpic → GetEnemyMonFrontpic - GetMonBackpic → GetBattleMonBackpic - FrontpicPredef → GetAnimatedFrontpicPredef - GetFrontpic → GetMonFrontpic - GetBackpic → GetMonBackpic - CutAndPasteMap → PadMapForHDMATransfer
2017-12-24callba/callab → farcall/callfarRemy Oukaour
2017-12-24Misc fixes for the usage of constantsmid-kid
Several improvements that will make it easier to edit some data structures for everyone.
2017-12-24HELD_TRADE_EVOLVE -> HELD_FLINCHmid-kid
This item effect effectively causes the target to flinch (sometimes). It's not exclusive to trade evolve items in later generations either.
2017-12-19Document two more bugsRemy Oukaour
2017-12-14Document two more bugs found by Crystal_Remy Oukaour
2017-12-14Replace two numbers with constants (found by pfero)Remy Oukaour
2017-12-12Document bugs and glitchesRemy Oukaour
2017-12-11Document macros/map.asmRemy Oukaour
Rename MORN/DAY/NITE to MORN_F/DAY_F/NITE_F; use MORN/DAY/NITE for shifted values (cleaner for person_events) Prefix FLOOR to the `elevfloor` constants
2017-12-09More WRAM cleanupRemy Oukaour
2017-12-09More WRAM organizationRemy Oukaour
2017-11-18SelfDestruct -> Selfdestructmid-kid
Just keeping things consistent. Nobody's going to write SELF_DESTRUCT. Kind of subjective, and we could do it the other way around, if anybody really cares.
2017-11-15Clean up labels in battle/moves/move_effects.asmmid-kid
There were a lot of unused labels in there, and a few confusing misnomers around move_effects_pointers.asm. They now match up exactly with the names in battle_constants.asm. Also renamed a few effects, to make their purpose clearer, and to match up with their respective event script commands: EFFECT_EXPLOSION -> EFFECT_SELFDESCTRUCT EFFECT_HAZE -> EFFECT_RESET_STATS EFFECT_WHIRLWIND -> EFFECT_FORCE_SWITCH EFFECT_BIND -> EFFECT_TRAP_TARGET EFFECT_TWINEEDLE -> EFFECT_POISON_MULTI_HIT EFFECT_STEEL_WING -> EFFECT_DEFENSE_UP_HIT EFFECT_METAL_CLAW -> EFFECT_ATTACK_UP_HIT EFFECT_ANCIENTPOWER -> EFFECT_ALL_UP_HIT
2017-06-24Merge pull request #354 from FredrIQ/commentsyenatch
Fix a reversed label mistake and reference a major bug
2017-06-09Replace ‘jp [hl]’ with ‘jp hl’Ben10do
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds. This fix silences these deprecation warnings.
2017-01-16Labels for Trainer Rankings stat tracking functionshatschky
2017-01-08Fix an overlooked replaceFredrik Ljungdahl
The build should match now...
2017-01-08Explain a major AI-related bug with type matchup checksFredrik Ljungdahl
2016-10-29Point out a bug with enemy usage of TeleportFredrik Ljungdahl
Also point out a redundancy in ThunderAccuracy
2016-05-15SPRITE_ANIM_FRAME_IDX constantspikalaxalt
2016-05-10Labeled every function in ROM0 that's referenced in the sourcepikalaxalt
2016-04-30Copycat labels; macro for the Crystal-only Unown chamber unlock wordspikalaxalt
2016-04-10Local labels starting with lowercase letters are no longer decorated with a ↵pikalaxalt
trailing colon
2016-04-10Local labels starting with capital letters are now decorated with a trailing ↵pikalaxalt
colon; remove trailing whitespace; globally correct line endings to UNIX style
2016-03-27Split up banks 1-3 of main.asmpikalaxalt
2016-03-08More annotations of HP bar animations, including an oversight by GameFreak ↵pikalaxalt
resulting in super-slow HP bars for Pokemon with over 48 HP
2016-01-18Prepare to mergePikalaxALT
2016-01-12More WRAM tidyingPikalaxALT
2016-01-09Finish labels in engine/namingscreen.asmPikalaxALT
2016-01-09Split base statsPikalaxALT
2015-12-29More movement stuffPikalaxALT
2015-12-28trainer cardPikalaxALT
2015-12-26jumptable macro repurposedPikalaxALT
2015-12-26Move effects; no more reloadmapmusic, returnafterbattlePikalaxALT
2015-12-24writebackup --> closewindow; game corner prize vendors; othersPikalaxALT
2015-12-23More battle anims and bg effectsPikalaxALT
2015-12-23Battle Anim Object struct constantsPikalaxALT
2015-12-19More work on slots; WRAM cleanup, Move DeleterPikalaxALT
2015-12-17ElevatorPikalaxALT
2015-11-28Renaming sections, further dissolving main.asmPikalaxALT
2015-11-23link and seer labelsPikalaxALT
2015-11-16Options menu, some mobile fnsPikalaxALT
2015-11-11Further split bank 4PikalaxALT
2015-11-10No more DefaultFlypointPikalaxALT