summaryrefslogtreecommitdiff
path: root/battle
AgeCommit message (Collapse)Author
2017-12-09Add constants for battle object colorsRemy Oukaour
2017-12-09More WRAM cleanupRemy Oukaour
2017-12-09Further WRAM organizationRemy Oukaour
2017-12-09More WRAM organizationRemy Oukaour
2017-12-09Define more charmap characters and use them in place of hard-coded numbersRemy Oukaour
2017-12-09Document constants with comments, actual names, and more thorough usageRemy Oukaour
2017-11-30Label all of PARTYMENUACTION_*mid-kid
It's pretty clear what it's used for. PartyMenuActionText is used for two things: 1) Storing what kind of action we're going to do (<$10) 2) Storing the text for some kind of healing stuff I'm not entirely sure (>=$f0) In the former case, if GetPartyMenuTilemapPointers is ran, it will be used to pick a sequence of actions that should be done, specified in the table, and it'll print the corresponding string using the PartyMenuStrings table. The items in the sequence of actions that should be done are in WritePartyMenuTilemap. Strangely enough, one possible value is left completely unused: PARTYMENUACTION_GIVE_MON_FEMALE. It works in the exact same way as it's male counterpart, and as such I don't believe it was used in the japanese version either, since it doesn't matter which gender your 'mon is when you put 'em in the daycare.
2017-11-19DetermineMobileBattleResult -> DisplayLinkBattleResultmid-kid
Changed this function's name, because it confusingly only calls DetermineLinkBattleResult when linked through mobile. It does absolutely nothing with determining the battle result in a regular link battle, and is only responsible for displaying the battle result and counting stats.
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
2017-01-08Reverse the LastEnemyCounterMove and LastPlayerCounterMove labelsFredrik Ljungdahl
They were swapped
2016-10-29Point out a bug with enemy usage of TeleportFredrik Ljungdahl
Also point out a redundancy in ThunderAccuracy
2016-10-29Fix inverted labels for HandleStatBoostingHeldItemsFredrik Ljungdahl
2016-08-07Rename the variable at D264PikalaxALT
2016-06-13hLCDCPointer and InitListpikalaxalt
2016-06-07Some mystery gift functionspikalaxalt
2016-06-06Remaining layout constantspikalaxalt
2016-05-16HP bar animation addresses and AI switchpikalaxalt
2016-05-15SPRITE_ANIM_FRAME_IDX constantspikalaxalt
2016-05-11Name all printer functionspikalaxalt
2016-05-10Labeled every function in ROM0 that's referenced in the sourcepikalaxalt
2016-05-08All functions in main.asm have non-generic namespikalaxalt
2016-05-05Credit to chaos_lord2 for decoding that load in computing enemy statspikalaxalt
2016-05-05Mobile and more battle animspikalaxalt
2016-05-04HDMA transfer functionspikalaxalt
2016-05-04More splitting of main.asm; remove unneeded rept 2pikalaxalt
2016-04-30Copycat labels; macro for the Crystal-only Unown chamber unlock wordspikalaxalt
2016-04-10Finish renaming battle anim gfx pointers and filespikalaxalt
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-03-01Battle animation annotationsPikalaxALT
2016-01-27Fix marts using hard-coded bank numberPikalaxALT
2016-01-18Prepare to mergePikalaxALT
2016-01-13Finish function labels in battle corePikalaxALT
2016-01-12More WRAM tidyingPikalaxALT
2016-01-10PokegearPikalaxALT
2016-01-09Finish labels in engine/namingscreen.asmPikalaxALT
2016-01-09Split base statsPikalaxALT
2016-01-04more gfx-related labelsPikalaxALT
2015-12-29Item effects, post-battle, and decoration flagsPikalaxALT
2015-12-29More movement stuffPikalaxALT
2015-12-28trainer cardPikalaxALT
2015-12-26jumptable macro repurposedPikalaxALT