mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 07:02:17 +13:00
Replace deprecated mnemonics by the correct ones
The old mnemonics generate warnings with new versions of rgbds. This patch replaces them by the correct ones. Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
parent
dfc094db72
commit
9ea25bc8cd
17 changed files with 30 additions and 30 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