diff options
| author | yenatch <yenatch@gmail.com> | 2017-09-29 22:41:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-29 22:41:34 -0400 |
| commit | 5c2419383118280465a89657fed34ed6562f2981 (patch) | |
| tree | 4844873fcd027d8f238be629d283663d5fcafc9b /engine/battle/trainer_ai.asm | |
| parent | Add Gen 3 disassemblies. (diff) | |
| parent | Update Travis configuration to use rgbds 0.3.3 (diff) | |
| download | pokeyellow-5c2419383118280465a89657fed34ed6562f2981.tar.gz pokeyellow-5c2419383118280465a89657fed34ed6562f2981.tar.xz pokeyellow-5c2419383118280465a89657fed34ed6562f2981.zip | |
Merge pull request #167 from Pokechu22/rgbds-0.3.3
Update for RGBDS 0.3.3
Diffstat (limited to 'engine/battle/trainer_ai.asm')
| -rw-r--r-- | engine/battle/trainer_ai.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/trainer_ai.asm b/engine/battle/trainer_ai.asm index cabd4334..fff064fa 100644 --- a/engine/battle/trainer_ai.asm +++ b/engine/battle/trainer_ai.asm @@ -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 |
