mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
Merge branch 'master' of https://github.com/pret/pokered
This commit is contained in:
commit
5eff10358e
144 changed files with 864 additions and 460 deletions
|
|
@ -1642,7 +1642,7 @@ LoadBattleMonFromParty:
|
|||
ld bc, wPartyMon1DVs - wPartyMon1OTID
|
||||
add hl, bc
|
||||
ld de, wBattleMonDVs
|
||||
ld bc, NUM_DVS
|
||||
ld bc, wPartyMon1PP - wPartyMon1DVs
|
||||
call CopyData
|
||||
ld de, wBattleMonPP
|
||||
ld bc, NUM_MOVES
|
||||
|
|
@ -1686,7 +1686,7 @@ LoadEnemyMonFromParty:
|
|||
ld bc, wEnemyMon1DVs - wEnemyMon1OTID
|
||||
add hl, bc
|
||||
ld de, wEnemyMonDVs
|
||||
ld bc, NUM_DVS
|
||||
ld bc, wEnemyMon1PP - wEnemyMon1DVs
|
||||
call CopyData
|
||||
ld de, wEnemyMonPP
|
||||
ld bc, NUM_MOVES
|
||||
|
|
@ -5110,7 +5110,7 @@ ReloadMoveData:
|
|||
ld [wd11e], a
|
||||
dec a
|
||||
ld hl, Moves
|
||||
ld bc, MoveEnd - Moves
|
||||
ld bc, MOVE_LENGTH
|
||||
call AddNTimes
|
||||
ld a, BANK(Moves)
|
||||
call FarCopyData ; copy the move's stats
|
||||
|
|
@ -5142,7 +5142,7 @@ MetronomePickMove:
|
|||
call BattleRandom
|
||||
and a
|
||||
jr z, .pickMoveLoop
|
||||
cp NUM_ATTACKS + 1 ; max normal move number + 1 (this is Struggle's move number)
|
||||
cp NUM_ATTACKS ; max move number (including Struggle)
|
||||
jr nc, .pickMoveLoop
|
||||
cp METRONOME
|
||||
jr z, .pickMoveLoop
|
||||
|
|
@ -6086,7 +6086,7 @@ GetCurrentMove:
|
|||
ld [wd0b5], a
|
||||
dec a
|
||||
ld hl, Moves
|
||||
ld bc, MoveEnd - Moves
|
||||
ld bc, MOVE_LENGTH
|
||||
call AddNTimes
|
||||
ld a, BANK(Moves)
|
||||
call FarCopyData
|
||||
|
|
|
|||
|
|
@ -740,7 +740,7 @@ FellText:
|
|||
text_end
|
||||
|
||||
PrintStatText:
|
||||
ld hl, StatsTextStrings
|
||||
ld hl, StatModTextStrings
|
||||
ld c, "@"
|
||||
.findStatName_outer
|
||||
dec b
|
||||
|
|
@ -755,7 +755,7 @@ PrintStatText:
|
|||
ld bc, $a
|
||||
jp CopyData
|
||||
|
||||
INCLUDE "data/battle/stat_names.asm"
|
||||
INCLUDE "data/battle/stat_mod_names.asm"
|
||||
|
||||
INCLUDE "data/battle/stat_modifiers.asm"
|
||||
|
||||
|
|
|
|||
|
|
@ -264,7 +264,7 @@ ReadMove:
|
|||
push bc
|
||||
dec a
|
||||
ld hl, Moves
|
||||
ld bc, MoveEnd - Moves
|
||||
ld bc, MOVE_LENGTH
|
||||
call AddNTimes
|
||||
ld de, wEnemyMoveNum
|
||||
call CopyData
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue