mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
Merge pull request #167 from Pokechu22/rgbds-0.3.3
Update for RGBDS 0.3.3
This commit is contained in:
commit
5c24193831
21 changed files with 219 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue