Merge pull request #167 from Pokechu22/rgbds-0.3.3

Update for RGBDS 0.3.3
This commit is contained in:
yenatch 2017-09-29 22:41:34 -04:00 committed by GitHub
commit 5c24193831
21 changed files with 219 additions and 38 deletions

View file

@ -51,7 +51,7 @@ AIEnemyTrainerChooseMoves:
ld l, a
ld de, .nextMoveChoiceModification ; set return address
push de
jp [hl] ; execute modification function
jp hl ; execute modification function
.loopFindMinimumEntries ; all entries will be decremented sequentially until one of them is zero
ld hl, wBuffer ; temp move selection array
ld de, wEnemyMonMoves ; enemy moves
@ -366,7 +366,7 @@ TrainerAI:
ld h,[hl]
ld l,a
call Random
jp [hl]
jp hl
TrainerAIPointers:
; one entry per trainer class