diff options
author | xCrystal <rgr.crystal@gmail.com> | 2015-03-31 22:22:12 +0200 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2015-03-31 22:22:12 +0200 |
commit | 4e2084b0f167a9e5c8d0cde93cc81833fec9056c (patch) | |
tree | ae74aa9c6e7963a3f54f9a28ccbff1c9caec7ae6 /engine/battle/e.asm | |
parent | e6185ac358b2e548536485781d6ec584c0b7742d (diff) |
Name more in-battle functions and labels
and better document some animation related functions
Diffstat (limited to 'engine/battle/e.asm')
-rwxr-xr-x | engine/battle/e.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/e.asm b/engine/battle/e.asm index feb52df1..e7802e4e 100755 --- a/engine/battle/e.asm +++ b/engine/battle/e.asm @@ -273,7 +273,7 @@ AIMoveChoiceModification2: ; 397e7 (e:57e7) ld a, [wAILayer2Encouragement] cp $1 ret nz - ld hl, wBuffer - 1 ; temp move selection array (-1 byte offest) + ld hl, wBuffer - 1 ; temp move selection array (-1 byte offset) ld de, wEnemyMonMoves ; enemy moves ld b, NUM_MOVES + 1 .nextMove @@ -303,7 +303,7 @@ AIMoveChoiceModification2: ; 397e7 (e:57e7) ; discourage damaging moves that are ineffective or not very effective against the player's mon, ; unless there's no damaging move that deals at least neutral damage AIMoveChoiceModification3: ; 39817 (e:5817) - ld hl, wBuffer - 1 ; temp move selection array (-1 byte offest) + ld hl, wBuffer - 1 ; temp move selection array (-1 byte offset) ld de, wEnemyMonMoves ; enemy moves ld b, $5 .nextMove |